go-ethereum/eth/tracers/logger
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
..
access_list_tracer.go eth/tracers/logger: using maps.Equal (#29384) 2024-03-28 14:09:21 +01:00
gen_callframe.go t8ntool: add optional call frames to json logger (#29353) 2024-03-27 16:12:57 +01:00
gen_structlog.go eth/tracers/logger: make structlog/json-log stack hex again (#28628) 2023-12-05 09:37:48 +01:00
logger.go build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
logger_json.go eth/tracers: fix json logger for evm blocktest (#29795) 2024-05-23 10:55:54 +02:00
logger_test.go core, eth, internal, cmd: rework EVM constructor (#30745) 2024-11-20 12:35:52 +01:00