Trait RuntimeFlag

Source
pub trait RuntimeFlag {
    // Required methods
    fn is_static(&self) -> bool;
    fn spec_id(&self) -> SpecId;
}
Expand description

Runtime flags that control interpreter execution behavior.

Required Methods§

Source

fn is_static(&self) -> bool

Returns true if the current execution context is static (read-only).

Source

fn spec_id(&self) -> SpecId

Returns the current EVM specification ID.

Implementors§