safe.trace
Documentation for eth_defi.safe.trace Python module.
Safe multisig transaction tranasction error handling.
Functions
|
Assert that a Gnosis safe transaction succeeded. |
- assert_execute_module_success(web3, tx_hash, verbose=True)
Assert that a Gnosis safe transaction succeeded.
Gnosis safe swallows any reverts
We need to extract Gnosis Safe logs from the tx receipt and check if they are successful
- Raises
AssertionError – If the transaction failed
- Parameters
web3 (web3.main.Web3) –
tx_hash (hexbytes.main.HexBytes) –