revm_interpreter

Macro as_usize_or_fail

Source
macro_rules! as_usize_or_fail {
    ($interpreter:expr, $v:expr) => { ... };
    ($interpreter:expr, $v:expr, $reason:expr) => { ... };
}
Expand description

Converts a U256 value to a usize, failing the instruction if the value is too large.