go-ethereum/eth/tracers/internal/tracetest
Chris Ziogas b0cd8c4a5c
core/vm: set tracer-observable `value` of a delegatecall to match parent `value` (#26632)
This is a breaking change in the tracing hooks API as well as semantics of the callTracer:

- CaptureEnter hook provided a nil value argument in case of DELEGATECALL. However to stay consistent with how delegate calls behave in EVM this hook is changed to pass in the value of the parent call.
- callTracer will return parent call's value for DELEGATECALL frames.

---------

Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2023-02-10 10:26:43 +01:00
..
testdata core/vm: set tracer-observable `value` of a delegatecall to match parent `value` (#26632) 2023-02-10 10:26:43 +01:00
calltrace_test.go eth/tracer: rename to revertReason (#26574) 2023-01-31 03:29:17 -05:00
prestate_test.go all: make timestamp-based fork checks based on uint64 (#26474) 2023-01-25 12:12:28 +01:00
util.go eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00