pub type MainnetContext<DB> = Context<BlockEnv, TxEnv, CfgEnv, DB, Journal<DB>, ()>;Aliased Type§
struct MainnetContext<DB> {
pub block: BlockEnv,
pub tx: TxEnv,
pub cfg: CfgEnv,
pub journaled_state: Journal<DB>,
pub chain: (),
pub error: Result<(), ContextError<<DB as Database>::Error>>,
}Fields§
§block: BlockEnvBlock information.
tx: TxEnvTransaction information.
cfg: CfgEnvConfigurations.
journaled_state: Journal<DB>EVM State with journaling support and database.
chain: ()Inner context.
error: Result<(), ContextError<<DB as Database>::Error>>Error that happened during execution.