go-ethereum/core
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
..
asm all: use strings.EqualFold for string comparison #24890 (#1134) 2025-06-23 16:00:32 +08:00
bloombits fix: replace all time.after with the time.newtimer (#400) 2024-01-27 21:01:24 +11:00
rawdb all: snapshot dump + unify with trie dump #22795 (#1205) 2025-08-22 16:39:28 +08:00
state cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
txpool all: use big.Sign to compare with zero #29490 (#1387) 2025-08-28 18:56:39 +08:00
types all: introduce trie owner notion #24750 (#1090) 2025-08-22 16:37:39 +08:00
vm core/vm: set tracer-observable value of a delegatecall to match parent value #26632 (#1317) 2025-09-09 10:41:48 +08:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
block_validator.go core: show db error-info in case of mismatched hash root #26870 (#1220) 2025-08-04 11:51:47 +08:00
block_validator_test.go all: remove ethash pow 27178 (#1378) 2025-08-26 11:54:01 +08:00
blockchain.go core, eth, trie: use TryGetAccount to read what TryUpdateAccount has written #25458 (#1106) 2025-09-03 15:34:11 +08:00
blockchain_insert.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
blockchain_test.go eth: skip VerifyHeader in traceBlock to fix #1185 (#1265) 2025-07-26 18:18:50 +08:00
blocks.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
chain_indexer.go core: use atomic type #27011 2025-04-28 16:57:56 +08:00
chain_indexer_test.go light: CHT and bloom trie indexers working in light mode (#16534) 2025-03-06 15:30:48 +08:00
chain_makers.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
chain_makers_test.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
dao_test.go core: improve commit genesis 2025-03-20 14:15:09 +08:00
error.go all: improve EstimateGas API (#20830) 2024-12-21 14:35:44 +08:00
events.go eth/filters: remove use of event.TypeMux for pending logs (#20312) 2024-08-03 10:03:22 +08:00
evm.go eth/tracers: add support for block overrides in debug_traceCall #24871 (#1288) 2025-09-08 21:22:09 +08:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
genesis.go core: fix deprecation comment for GenesisAccount #29218 (#1323) 2025-08-08 10:35:58 +08:00
genesis_alloc_devnet.go core: tidy up genesis alloc 2025-02-19 14:15:09 +08:00
genesis_alloc_mainnet.go core: tidy up genesis alloc 2025-02-19 14:15:09 +08:00
genesis_alloc_testnet.go core: tidy up genesis alloc 2025-02-19 14:15:09 +08:00
genesis_test.go core, light, params: clean genesis hash 2025-03-05 14:30:39 +08:00
headerchain.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
mkalloc.go accounts, cmd/geth, core: close opened files (#29598) 2025-01-24 16:54:12 +08:00
sender_cacher.go all: refactor txpool into it's own package in prep for 4844 (#26038) 2024-11-01 11:36:53 +08:00
state_prefetcher.go core: use atomic type #27011 2025-04-28 16:57:56 +08:00
state_processor.go core: fill blockNumber in logs #26345 (#1215) 2025-07-11 10:53:48 +08:00
state_processor_test.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
state_transition.go core,eth: implement tx-level hooks for tracers #24510 (#1277) 2025-09-08 17:53:21 +08:00
token_validator.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2025-01-24 16:18:30 +08:00
types.go core: use atomic type #27011 2025-04-28 16:57:56 +08:00