1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/internal
Sina M 8a14362bf7
internal/ethapi: fix prev hashes in eth_simulate (#31122)
Shout-out to @Gabriel-Trintinalia for discovering this issue. The gist
of it as follows:

When processing a block, we should provide the parent block as well as
the last 256 block hashes. Some of these parents data (specifically the
hash) was incorrect because even though during the processing of the
parent block we have updated the header, that header was not updating
the TransactionsRoot and ReceiptsRoot fields (types.NewBlock makes a new
copy of the header and changes it only on that instance).

---------

Co-authored-by: lightclient <lightclient@protonmail.com>
2025-02-21 09:52:55 +01:00
..
blocktest internal/blocktest: add package for shared test code (#27270) 2023-07-11 14:57:02 +02:00
build appveyor, build, internal: ci.go cleanups, add package dep checker (#30696) 2024-10-29 13:21:17 +02:00
cmdtest all: make vendored copy of reexec (#28382) 2023-10-28 00:14:43 +02:00
debug internal/debug: rename --trace to --go-execution-trace (#30846) 2024-12-02 18:17:43 +01:00
era all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
ethapi internal/ethapi: fix prev hashes in eth_simulate (#31122) 2025-02-21 09:52:55 +01:00
flags internal/flags: update copyright year to 2025 (#30976) 2025-01-02 09:48:25 +08:00
guide internal: run tests in parallel (#30381) 2024-09-16 08:44:47 +02:00
jsre all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
reexec all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
shutdowncheck eth, les: update unclean shutdown markers regularly (#24077) 2021-12-17 15:18:51 +01:00
syncx core: improve shutdown synchronization in BlockChain (#22853) 2021-10-07 15:47:50 +02:00
testlog p2p/discover: improved node revalidation (#29572) 2024-05-23 14:26:09 +02:00
testrand triedb/pathdb: improve tests (#29278) 2024-03-19 10:50:08 +08:00
utesting internal: run tests in parallel (#30381) 2024-09-16 08:44:47 +02:00
version build, internal, version: break ci.go/version->common dependency (#30638) 2024-10-20 19:28:39 +03:00
web3ext internal/ethapi: add block override to estimateGas (#30695) 2024-12-12 12:39:03 +01:00