revm_interpreter::gas

Function memory_gas

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

Memory expansion cost calculation for a given number of words.