cast::revm::interpreter

Macro as_usize_or_fail

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

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