mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-09 13:33:50 +00:00
We backported branch `extended-tracer` at commit3078dfe80bback to v1.13.5 of Geth. To achieve the backport, we did: - git checkout -b extended-tracer-squashed - git reset --hard3078dfe80b- git reset --mixedfc380f52ef# This was the latest merged commit not from `extended-tracer` branch - git commit -A -m "<This message>" - git checkout v1.13.5 - git checkout -b extended-tracer-backport-v1.13.5 - git cherry-pick extended-tracer-squashed
10 lines
No EOL
354 B
Markdown
10 lines
No EOL
354 B
Markdown
# 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:
|
|
|
|
```terminal
|
|
let tx = '0x...'
|
|
loadScript('makeTest.js')
|
|
makeTest(tx, { tracer: 'callTracer' })
|
|
``` |