mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
Update README.md
This commit is contained in:
parent
498d7440bd
commit
214d45d156
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
# Filling test cases
|
# 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.
|
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 trace with the given configuration.
|
||||||
In the Geth console do:
|
In the Geth console do:
|
||||||
|
|
||||||
```terminal
|
```terminal
|
||||||
let tx = '0x...'
|
let tx = '0x...'
|
||||||
loadScript('makeTest.js')
|
loadScript('makeTest.js')
|
||||||
makeTest(tx, { tracer: 'callTracer' })
|
makeTest(tx, { tracer: 'callTracer' })
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue