go-ethereum/eth
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
..
catalyst 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
ethconfig feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
fetcher Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
filters feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
gasprice Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
protocols feat: dual code hash (#188) 2023-02-08 16:12:41 -08:00
tracers feat: dual code hash (#188) 2023-02-08 16:12:41 -08:00
api.go feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08: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
backend.go feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
bloombits.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
discovery.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler_eth.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler_eth_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler_snap.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
peer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
peerset.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