github.1485827954.workers.dev/ethereum/go-ethereum@v1.14.3/eth/tracers/internal/tracetest/README.md (about)

     1  # Filling test cases
     2  
     3  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.
     4  In the Geth console do:
     5  
     6  ```terminal
     7  let tx = '0x...'
     8  loadScript('makeTest.js')
     9  makeTest(tx, { tracer: 'callTracer' })
    10  ```