go-ethereum/core/vm
Daniel Liu 96a7ed54c6
core/vm: set tracer-observable value of a delegatecall to match parent value #26632 (#1317)
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: Chris Ziogas <ziogaschr@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2025-09-09 10:41:48 +08:00
..
privacy all: use big.Sign to compare with zero #29490 (#1387) 2025-08-28 18:56:39 +08:00
runtime all: mv loggers to eth/tracers #23892 (#1269) 2025-09-03 15:35:28 +08:00
testdata core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2024-10-17 10:36:53 +08:00
analysis.go core/vm: clarify comment (#27045) 2025-02-05 18:16:17 +08:00
analysis_test.go core/vm: use clear from go v1.21 #29307 (#1246) 2025-08-04 11:54:49 +08:00
common.go all: get rid of custom MaxUint64 and MaxUint64 (#30636) 2024-12-28 09:06:31 +08:00
contract.go core: fix typos (#1237) 2025-07-26 17:42:50 +08:00
contracts.go common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-12-28 09:06:31 +08:00
contracts_fuzz_test.go tests/fuzzers: move fuzzers into native packages (#28467) 2024-12-28 09:06:31 +08:00
contracts_test.go core: fix typos (#1237) 2025-07-26 17:42:50 +08:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go core/vm: BLOBHASH opcode 0x49 (#27356) 2025-02-11 18:31:30 +08:00
errors.go core/vm: delete unused error #29062 (#1245) 2025-07-26 17:45:31 +08:00
evm.go core/vm: set tracer-observable value of a delegatecall to match parent value #26632 (#1317) 2025-09-09 10:41:48 +08:00
gas.go core/vm: use uint256 in EVM implementation (#20787) 2024-03-01 14:13:23 +08:00
gas_table.go core: fix typos (#1237) 2025-07-26 17:42:50 +08:00
gas_table_test.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2025-02-07 13:04:45 +08:00
instructions.go core/vm: make time field use uint64 #26474 (#1319) 2025-08-20 15:22:06 +08:00
instructions_test.go core/vm: BLOBHASH opcode 0x49 (#27356) 2025-02-11 18:31:30 +08:00
interface.go core: show db error-info in case of mismatched hash root #26870 (#1220) 2025-08-04 11:51:47 +08:00
interpreter.go eth/tracers: package restructuring #23857 (#1266) 2025-08-29 05:26:36 +08:00
jump_table.go core/vm: enable cancun instruction set 2025-02-19 14:20:45 +08:00
jump_table_export.go core: fix typos (#1237) 2025-07-26 17:42:50 +08:00
jump_table_test.go core: fix typos (#1237) 2025-07-26 17:42:50 +08:00
logger.go eth/tracers, core/vm: remove time from trace output and tracing interface #26291 (#1311) 2025-09-09 09:26:10 +08:00
memory.go core/vm, go.mod: update uint256 to v1.3.2 and use faster method #30868 (#1241) 2025-07-17 17:56:53 +08:00
memory_table.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2025-02-06 16:54:19 +08:00
memory_test.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2025-02-06 16:54:19 +08:00
opcodes.go core/vm: BLOBHASH opcode 0x49 (#27356) 2025-02-11 18:31:30 +08:00
operations_acl.go core/vm: prevent overflow #29023 (#1244) 2025-07-26 17:44:45 +08:00
stack.go core/vm: less allocations for various call variants (#21222) 2024-09-22 18:42:11 +08:00
stack_table.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
XDCx_price.go new EVM Upgrade 2021-09-21 16:53:46 +05:30