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.
pub(crate) fn charge_input_cost(
storage: &mut StorageCtx,
calldata: &[u8],
) -> Option<PrecompileResult>Deducts the calldata input cost, returning an OOG halt result if insufficient gas.