revm_interpreter

Macro as_usize_or_fail_ret

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

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