Skip to main content

predecode_rv_with_mem_cycles

Function predecode_rv_with_mem_cycles 

Source
pub fn predecode_rv_with_mem_cycles(code: &[u8], mem_cycles: u8) -> Predecode
Expand description

Like predecode but takes an explicit mem_cycles parameter. Used by callers that want to override the default L2-hit latency (e.g. for tier-specific gas modeling).