revm_interpreter::interpreter::analysis

Function validate_eof_codes

Source
pub fn validate_eof_codes(
    eof: &Eof,
    this_code_type: Option<CodeType>,
) -> Result<Vec<CodeType>, EofValidationError>
Expand description

Validates an Eof structure, without recursing into containers.

Returns a list of all sub containers that are accessed.