Struct evmodin::util::EvmTester [−][src]
pub struct EvmTester { /* fields omitted */ }
Expand description
Tester that executes EVM bytecode with MockedHost
context and runs set checks.
Implementations
Queue function that will modify the host before execution.
Set static message flag.
Set message destination.
Check how much gas will be used. Mutually exclusive with EvmTester::gas_left
.
Check how much gas will be left after execution. Mutually exclusive with EvmTester::gas_used
.
Check returned status.
Check returned status to be one of these.
Check output to be equal to provided integer.
Check output data to be equal to provided byte string.
Inspect output with provided function.
Inspect host with provided function.
Inspect host and output with provided function.
Execute provided code, run checks and return bytecode returned by EVM.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for EvmTester
impl !UnwindSafe for EvmTester
Blanket Implementations
Mutably borrows from an owned value. Read more