1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/eth/tracers/internal/tracetest
Felix Lange bee38ebb39 all: implement EIP-7002 & EIP-7251 (#30571)
This is a redo of #29052 based on newer specs. Here we implement EIPs
scheduled for the Prague fork:

- EIP-7002: Execution layer triggerable withdrawals
- EIP-7251: Increase the MAX_EFFECTIVE_BALANCE

Co-authored-by: lightclient <lightclient@protonmail.com>
2024-11-19 14:50:11 +01:00
..
testdata
calltrace_test.go
flat_calltrace_test.go
makeTest.js
prestate_test.go
README.md
supply_test.go all: implement EIP-7002 & EIP-7251 (#30571) 2024-11-19 14:50:11 +01:00
util.go

Filling test cases

To fill test cases for the built-in tracers, the makeTest.js script can be used. Given a transaction on a dev/test network, makeTest.js will fetch its prestate and then traces with the given configuration. In the Geth console do:

let tx = '0x...'
loadScript('makeTest.js')
makeTest(tx, { tracer: 'callTracer' })