Skip to main content

charge_input_cost

Function charge_input_cost 

Source
pub(crate) fn charge_input_cost(
    storage: &mut StorageCtx,
    calldata: &[u8],
) -> Option<PrecompileResult>
Expand description

Deducts the calldata input cost, returning an OOG halt result if insufficient gas.