go-ethereum/eth/tracers
Felix Lange 9064038a86
consensus/beacon: remove TestingTTDBlock (#31153)
This removes the method `TestingTTDBlock` introduced by #30744. It was
added to make the beacon consensus engine aware of the merge block in
tests without relying on the total difficulty. However, tracking the
merge block this way is very annoying. We usually configure forks in the
`ChainConfig`, but the method is on the consensus engine, which isn't
always created in the same place. By sidestepping the `ChainConfig` we
don't get the usual fork-order checking, so it's possible to enable the
merge before the London fork, for example. This in turn can lead to very
hard-to-debug outputs and validation errors.

So here I'm changing the consensus engine to check the
`MergeNetsplitBlock` instead. Alternatively, we assume a network is
merged if it has a `TerminalTotalDifficulty` of zero, which is a very
common configuration in tests.
2025-02-11 13:44:25 +01:00
..
internal consensus/beacon: remove TestingTTDBlock (#31153) 2025-02-11 13:44:25 +01:00
js core: switch EVM tx context in ApplyMessage (#30809) 2024-11-29 15:39:42 +01:00
live core/tracing: state journal wrapper (#30441) 2025-02-05 13:58:25 +01:00
logger eth/tracers/logger: return revert reason (#31013) 2025-01-13 23:12:15 +08:00
native all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
api.go params: start osaka fork (#31125) 2025-02-04 15:29:51 +01:00
api_test.go all: nuke total difficulty (#30744) 2025-01-28 18:55:41 +01: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