• Chris Ziogas's avatar
    eth/tracers: add native flatCallTracer (aka parity style tracer) (#26377) · 2ad150d9
    Chris Ziogas authored
    Adds support for a native call tracer with the Parity format, which outputs call frames
    in a flat array. This tracer accepts the following options:
    
    - `convertParityErrors: true` will convert error messages to match those of Parity
    - `includePrecompiles: true` will report all calls to precompiles. The default
      matches Parity's behavior where CALL and STATICCALLs to precompiles are excluded
    
    Incompatibilities with Parity include:
    
    - Parity removes the result object in case of failure. This behavior is maintained
      with the exception of reverts. Revert output usually contains useful information,
      i.e. Solidity revert reason.
    - The `gasUsed` field accounts for intrinsic gas (e.g. 21000 for simple transfers)
      and refunds unlike Parity
    - Block rewards are not reported
    Co-authored-by: 's avatarSina Mahmoodi <itz.s1na@gmail.com>
    2ad150d9
Name
Last commit
Last update
..
catalyst Loading commit data...
downloader Loading commit data...
ethconfig Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
protocols Loading commit data...
tracers Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
backend.go Loading commit data...
bloombits.go Loading commit data...
handler.go Loading commit data...
handler_eth.go Loading commit data...
handler_eth_test.go Loading commit data...
handler_snap.go Loading commit data...
handler_test.go Loading commit data...
peer.go Loading commit data...
peerset.go Loading commit data...
state_accessor.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...