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