go-ethereum/cmd
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
..
abidump Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
abigen Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
bootnode Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
checkpoint-admin Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
clef Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
devp2p Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
ethkey Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
evm Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
faucet Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
geth feat: dual code hash (#188) 2023-02-08 16:12:41 -08:00
p2psim Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
puppeth Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
rlpdump Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
utils zktrie part3: include zktrie witness in block trace; add demo for generating witness data for mpt circuit (#123) 2022-07-16 07:00:07 +08:00