go-ethereum/les
Péter Garamvölgyi 81e7775aa8
feat: dual code hash (#188)
* add KeccakCodeHash and CodeSize to StateAccount

* update StateAccount marshalling logic

* change emptyCodeHash to poseidon(nil)

* purge StateAccount.hash

* fix/disable failing tests

* change keccak and poseidon hash order in StateAccount

* fix lint

* update l2trace account wrapper

* update eth_getProof response type

* fix eth_getProof response type

* goimports

* update the codehash computation

* update the codehash test cases

* go mod tidy

* fix tests

* use keccak instead of poseidon

* update trace codehash field name

* upgrade zktrie to 4.2

* trigger ci

* update state account marshalling according to spec

* improve generatorStats estimation

* add comment

* upgrade zktrie to 4.3

* go mod tidy

* misc fixes

* fix TestDump

* fix snap sync tests

* handle err in the codehash

* fix tests in snapshot/generate_test.go

* remove prevhash from state journal

* add state_account_marshalling_test.go

* goimports

* add more tests

---------

Co-authored-by: Ho Vei <noelwei@gmail.com>
Co-authored-by: Haichen Shen <shenhaichen@gmail.com>
2023-02-08 16:12:41 -08:00
..
checkpointoracle Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
downloader Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
fetcher Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
flowcontrol Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
utils Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
vflux Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
api.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
api_backend.go feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
api_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
benchmark.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
bloombits.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
client.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
client_handler.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
commons.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
costtracker.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
distributor.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
distributor_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
enr_entry.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
fetcher.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
fetcher_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
metrics.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
odr.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
odr_requests.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
odr_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
peer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
peer_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
protocol.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
pruner.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
pruner_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
request_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
retrieve.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
server.go fix getProof API when zktrie is enabled (#132) 2022-07-27 13:01:38 +08:00
server_handler.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
server_requests.go feat: dual code hash (#188) 2023-02-08 16:12:41 -08:00
servingqueue.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
state_accessor.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
sync.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
sync_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
test_helper.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
txrelay.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
ulc.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
ulc_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00