Module env

Source
Expand description

Simulation environments

A simulation environment wraps a local EVM & database with tracking of simulation events. It also provides functionality to deploy contracts, interact contracts and process queues of transactions.

Structs§

Env
Simulation environment
GasPriorityValidator
Validator that sorts transactions by Nonce and priority fee
RandomValidator
Validator that randomly shuffles transactions
RevertError
Error raised when an EVM transaction is reverted

Traits§

Validator
Trait for a block validator

Functions§

decode_event
Decode data attached to an Event
process_events
Filter and process a vector of simulation events