go-ethereum/eth/tracers
rjl493456442 e3d61e6db0
core, eth, internal, cmd: rework EVM constructor (#30745)
This pull request refactors the EVM constructor by removing the
TxContext parameter.

The EVM object is frequently overused. Ideally, only a single EVM
instance should be created and reused throughout the entire state
transition of a block, with the transaction context switched as needed
by calling evm.SetTxContext.

Unfortunately, in some parts of the code, the EVM object is repeatedly
created, resulting in unnecessary complexity. This pull request is the
first step towards gradually improving and simplifying this setup.

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-11-20 12:35:52 +01:00
..
internal core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
js core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
live eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
logger core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
native eth/tracers: fill the creationMethod in flatCall (#30539) 2024-11-05 08:42:22 +01:00
api.go core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
api_test.go core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
dir.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
live.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
tracers_test.go core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00
tracker.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00
tracker_test.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00