trace
Documentation for eth_defi.trace Python module.
Symbolic transaction tracing and human-readable Solidity stack traces.
This code is very preliminary and has not been througly tested with different smart contracts, so patches welcome
Internally use evm-trace library from Ape
Currently only works with Anvil (
eth_defi.anvil
) backend
Functions
|
Make a Web3.call and if it fails get the Solidity stack trace. |
Checks if a transaction succeeds and give a verbose explanation why not.. |
|
|
Print a symbolic trace of an Ethereum transaction. |
|
Trace a Solidity function call. |
|
Trace a (failed) transaction. |
Classes
A EVM trace tree that can resolve contract names and functions. |
|
What kind of transaction tracing method we use. |
Exceptions
Tracing is not enabled on the backend. |
|
Exception thrown when unit test transaction asset fails. |