go-ethereum/internal
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
..
build Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
cmdtest Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
debug feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
ethapi feat: dual code hash (#188) 2023-02-08 16:12:41 -08:00
flags Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
guide Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
jsre Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
syncx core: improve shutdown synchronization in BlockChain (#22853) 2021-10-07 15:47:50 +02:00
testlog Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
utesting feat(trace): Add header and upgrade TransactionTrace (#181) 2022-11-18 17:11:04 +08:00
web3ext eth/api: add rpc method to obtain which states are accessible (#23646) 2021-10-05 08:13:00 +02:00