reth_revm::interpreter::gas

Function memory_gas

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

Memory expansion cost calculation for a given number of words.