cast::revm::optimism

Function validate_env

pub fn validate_env<SPEC, DB>(
    env: &Env,
) -> Result<(), EVMError<<DB as Database>::Error>>
where SPEC: Spec, DB: Database,
Available on crate feature optimism only.
Expand description

Validate environment for the Optimism chain.