Skip to main content

syscall_charge_fuel_manually_handler

Function syscall_charge_fuel_manually_handler 

Source
pub fn syscall_charge_fuel_manually_handler(
    caller: &mut impl StoreTr<RuntimeContext>,
    params: &[Value],
    result: &mut [Value],
) -> Result<(), TrapCode>
Expand description

Validates that fuel metering is disabled, applies manual charge/refund, and returns remaining fuel.