load_acc_and_calc_gas

Function load_acc_and_calc_gas 

Source
pub fn load_acc_and_calc_gas<H: Host + ?Sized>(
    context: &mut InstructionContext<'_, H, impl InterpreterTypes>,
    to: Address,
    transfers_value: bool,
    create_empty_account: bool,
    stack_gas_limit: u64,
) -> Option<u64>
Expand description

Calculates gas cost and limit for call instructions.