Skip to main content

rv_feed_gas_direct

Function rv_feed_gas_direct 

Source
pub fn rv_feed_gas_direct(
    meta: &RvGasMeta,
    gas_sim: &mut GasSimulator,
    mem_cycles: u8,
) -> bool
Expand description

Predecode-cached variant: same logic as rv_feed_gas_kind but takes a pre-resolved crate::predecode::RvGasMeta. Used by the per-block gas-cost helper that consumes the Predecode vector built by predecode.

Returns is_terminator.