pub type EdbContext<DB> = Context<BlockEnv, TxEnv, CfgEnv, CacheDB<DB>>;Expand description
Type alias for the EDB context in terms of revm’s Context
Aliased Type§
pub struct EdbContext<DB> {
pub block: BlockEnv,
pub tx: TxEnv,
pub cfg: CfgEnv,
pub journaled_state: Journal<CacheDB<DB>>,
pub chain: (),
pub local: LocalContext,
pub error: Result<(), ContextError<<CacheDB<DB> as Database>::Error>>,
}Fields§
§block: BlockEnvBlock information.
tx: TxEnvTransaction information.
cfg: CfgEnvConfigurations.
journaled_state: Journal<CacheDB<DB>>EVM State with journaling support and database.
chain: ()Inner context.
local: LocalContextLocal context that is filled by execution.
error: Result<(), ContextError<<CacheDB<DB> as Database>::Error>>Error that happened during execution.