pub fn validate_env<CTX: ContextTr, ERROR: From<InvalidHeader> + From<InvalidTransaction>>( context: CTX, ) -> Result<(), ERROR>
Validates the execution environment including block and transaction parameters.