go-ethereum/eth/tracers
Marius van der Wijden 34f00a42f8
core/state: add GetStateAndCommittedState (#31585)
Improves the SSTORE gas calculation a bit. Previously we would pull up
the state object twice. This is okay for existing objects, since they
are cached, however non-existing objects are not cached, thus we needed
to go through all 128 diff layers as well as the disk layer twice, just
for the gas calculation

```
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: AMD Ryzen 9 5900X 12-Core Processor            
               │ /tmp/old.txt │            /tmp/new.txt             │
               │    sec/op    │   sec/op     vs base                │
Interpreter-24   1118.0n ± 2%   602.8n ± 1%  -46.09% (p=0.000 n=10)
```

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-07-03 13:19:34 +08:00
..
internal eth/tracers: prestate lookup EIP7702 delegation account (#32080) 2025-06-24 13:52:18 +08:00
js eth/tracers: Improve test coverage for toWord (#31846) 2025-05-21 14:20:36 +02:00
live core/tracing: state journal wrapper (#30441) 2025-02-05 13:58:25 +01:00
logger core/state: add GetStateAndCommittedState (#31585) 2025-07-03 13:19:34 +08:00
native eth/tracers: prestate lookup EIP7702 delegation account (#32080) 2025-06-24 13:52:18 +08:00
api.go ethapi: reduce some of the wasted effort in GetTransactionReceipt (#32021) 2025-07-01 15:18:49 +08:00
api_test.go ethapi: reduce some of the wasted effort in GetTransactionReceipt (#32021) 2025-07-01 15:18:49 +08:00
dir.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
live.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
tracers_test.go cmd/evm: consolidate evm output switches (#30849) 2024-12-10 09:43:24 +01:00
tracker.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00
tracker_test.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00