revm_interpreter::interpreter

Function resize_memory

Source
pub fn resize_memory(
    memory: &mut SharedMemory,
    gas: &mut Gas,
    new_size: usize,
) -> bool
Expand description

Resize the memory to the new size. Returns whether the gas was enough to resize the memory.