Macro gas
macro_rules! gas {
($interp:expr, $gas:expr) => { ... };
($interp:expr, $gas:expr, $ret:expr) => { ... };
}
Expand description
Records a gas
cost and fails the instruction if it would exceed the available gas.
macro_rules! gas {
($interp:expr, $gas:expr) => { ... };
($interp:expr, $gas:expr, $ret:expr) => { ... };
}
Records a gas
cost and fails the instruction if it would exceed the available gas.