go-ethereum/cmd/geth
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
..
testdata Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
accountcmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
accountcmd_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chaincmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
config.go feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
consolecmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
consolecmd_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
dao_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
dbcmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
genesis_test.go zktrie part2: add zktrie; allow switch trie type by config; (#113) 2022-06-27 11:17:02 +08:00
les_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
main.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
misccmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
run_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
snapshot.go feat: dual code hash (#188) 2023-02-08 16:12:41 -08:00
usage.go 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
version_check.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
version_check_test.go cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00