pub type OpContext<DB> = Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpecId>, DB, JournaledState<DB>, L1BlockInfo>;
Aliased Type§
struct OpContext<DB> {
pub block: BlockEnv,
pub tx: OpTransaction<TxEnv>,
pub cfg: CfgEnv<OpSpecId>,
pub journaled_state: JournaledState<DB>,
pub chain: L1BlockInfo,
pub error: Result<(), <DB as Database>::Error>,
}
Fields§
§block: BlockEnv
Block information.
tx: OpTransaction<TxEnv>
Transaction information.
cfg: CfgEnv<OpSpecId>
Configurations.
journaled_state: JournaledState<DB>
EVM State with journaling support and database.
chain: L1BlockInfo
Inner context.
error: Result<(), <DB as Database>::Error>
Error that happened during execution.