load_acc_and_calc_gas

Function load_acc_and_calc_gas 

pub fn load_acc_and_calc_gas<H>(
    context: &mut InstructionContext<'_, H, impl InterpreterTypes>,
    to: Address,
    transfers_value: bool,
    create_empty_account: bool,
    stack_gas_limit: u64,
) -> Option<(u64, Bytecode, FixedBytes<32>)>
where H: Host + ?Sized,
Available on crate feature evm only.
Expand description

Calculates gas cost and limit for call instructions.