go-ethereum/eth/tracers
shazam8253 30e3a49180
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
eth/tracers: apply block header overrides correctly (#32183)
Fixes #32175.

This fixes the scenario where the blockhash opcode would return 0x0
during RPC simulations when using BlockOverrides with a future block
number. The root cause was that BlockOverrides.Apply() only modified the
vm.BlockContext, but GetHashFn() depends on the actual
types.Header.Number to resolve valid historical block hashes. This
caused a mismatch and resulted in incorrect behavior during trace and
call simulations.

---------

Co-authored-by: shantichanal <158101918+shantichanal@users.noreply.github.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
2025-07-16 15:26:33 -06:00
..
internal eth/tracers: prestate lookup EIP7702 delegation account (#32080) 2025-06-24 13:52:18 +08:00
js eth/tracers: Improve test coverage for toWord (#31846) 2025-05-21 14:20:36 +02:00
live core/tracing: state journal wrapper (#30441) 2025-02-05 13:58:25 +01:00
logger core/state: add GetStateAndCommittedState (#31585) 2025-07-03 13:19:34 +08:00
native eth/tracers: prestate lookup EIP7702 delegation account (#32080) 2025-06-24 13:52:18 +08:00
api.go eth/tracers: apply block header overrides correctly (#32183) 2025-07-16 15:26:33 -06:00
api_test.go eth/tracers: apply block header overrides correctly (#32183) 2025-07-16 15:26:33 -06:00
dir.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
live.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
tracers_test.go cmd/evm: consolidate evm output switches (#30849) 2024-12-10 09:43:24 +01:00
tracker.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00
tracker_test.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00