revm_interpreter::gas

Function memory_gas

Source
pub const fn memory_gas(num_words: u64) -> u64
Expand description

Memory expansion cost calculation for a given number of words.