Skip to main content

Module test_utils

Module test_utils 

Source
Expand description

Helper types for tests and similar purposes.

Modules§

EventNumericsContract
Generated by the following Solidity interface…
SimpleTokenContract
Generated by the following Solidity interface…

Structs§

AnvilTest
A running Anvil node together with a client connected to it, for tests.
EthereumClient
An Ethereum client wrapping a configured alloy provider, used in tests.
EventNumericsContractFunction
A deployed EventNumerics contract together with the Anvil node it lives on.
SimpleTokenContractFunction
A deployed SimpleToken contract together with the Anvil node it lives on.

Functions§

get_anvil
Spawns a fresh Anvil node and returns an AnvilTest connected to it.