bsc/les
Guillaume Ballet 8bbb16b70e
core/state, light, les: make signature of ContractCode hash-independent (#27209)
* core/state, light, les: make signature of ContractCode hash-independent

* push current state for feedback

* les: fix unit test

* core, les, light: fix les unittests

* core/state, trie, les, light: fix state iterator

* core, les: address comments

* les: fix lint

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2023-06-28 12:11:02 +03:00
..
catalyst les, signer, light: replace noarg fmt.Errorf with errors.New (#27336) 2023-05-25 02:51:13 -04:00
downloader all: remove ethash pow, only retain shims needed for consensus and tests (#27178) 2023-05-03 12:58:39 +03:00
fetcher all: new empty trie with types.EmptyRootHash instead of null (#27230) 2023-05-11 10:19:42 +03:00
flowcontrol common/prque: generic priority queue (#26290) 2023-02-09 13:03:54 +02:00
utils internal/ethapi, les: use slices package for sorting (#27492) 2023-06-19 11:33:48 +02:00
vflux all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
api_backend.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00
api_test.go all: remove ethash pow, only retain shims needed for consensus and tests (#27178) 2023-05-03 12:58:39 +03:00
api.go all: remove notion of trusted checkpoints in the post-merge world (#27147) 2023-04-24 09:37:10 +03:00
benchmark.go core/state, light, les: make signature of ContractCode hash-independent (#27209) 2023-06-28 12:11:02 +03:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
client_handler.go les: use atomic type (#27168) 2023-04-26 04:19:56 -04:00
client.go params, trie: add verkle fork management + upgrade go-verkle (#27464) 2023-06-28 12:08:48 +03:00
commons.go all: remove the Rinkeby testnet (#27406) 2023-06-02 14:03:21 +03:00
costtracker.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
distributor_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
distributor.go all: use AbsTime.Add instead of conversion (#25417) 2022-07-29 18:23:30 +02:00
enr_entry.go cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565) 2021-03-24 12:32:39 +01:00
fetcher_test.go all: remove notion of trusted checkpoints in the post-merge world (#27147) 2023-04-24 09:37:10 +03:00
fetcher.go all: remove ethash pow, only retain shims needed for consensus and tests (#27178) 2023-05-03 12:58:39 +03:00
handler_test.go core/state, light, les: make signature of ContractCode hash-independent (#27209) 2023-06-28 12:11:02 +03:00
metrics.go les: polish code (#22625) 2021-04-27 09:44:59 +02:00
odr_requests.go core/state, light, les: make signature of ContractCode hash-independent (#27209) 2023-06-28 12:11:02 +03:00
odr_test.go core/types, params: add blob transaction type, RLP encoded for now (#27049) 2023-04-21 12:52:02 +03:00
odr.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
peer_test.go all: implement forkid changes for shanghai 2023-01-03 12:57:06 +02:00
peer.go les: use atomic type (#27168) 2023-04-26 04:19:56 -04:00
protocol.go les: remove unused var AdvertiseProtocolVersions (#27405) 2023-06-06 04:34:22 -04:00
pruner_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
pruner.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
request_test.go core/state, light, les: make signature of ContractCode hash-independent (#27209) 2023-06-28 12:11:02 +03:00
retrieve.go les, signer, light: replace noarg fmt.Errorf with errors.New (#27336) 2023-05-25 02:51:13 -04:00
server_handler.go core/state, light, les: make signature of ContractCode hash-independent (#27209) 2023-06-28 12:11:02 +03:00
server_requests.go core/state, light, les: make signature of ContractCode hash-independent (#27209) 2023-06-28 12:11:02 +03:00
server.go all: remove notion of trusted checkpoints in the post-merge world (#27147) 2023-04-24 09:37:10 +03:00
servingqueue.go internal/ethapi, les: use slices package for sorting (#27492) 2023-06-19 11:33:48 +02:00
state_accessor.go core/types, params: add blob transaction type, RLP encoded for now (#27049) 2023-04-21 12:52:02 +03:00
sync_test.go all: remove notion of trusted checkpoints in the post-merge world (#27147) 2023-04-24 09:37:10 +03:00
sync.go all: remove notion of trusted checkpoints in the post-merge world (#27147) 2023-04-24 09:37:10 +03:00
test_helper.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00
txrelay.go les: generate random nums directly, not via strange conversions 2021-05-21 12:36:04 +03:00
ulc_test.go les: use atomic type (#27168) 2023-04-26 04:19:56 -04:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00