Skip to main content

input_cost

Function input_cost 

Source
pub fn input_cost(calldata_len: usize) -> u64
Expand description

Returns the gas cost for decoding calldata of the given length, rounded up to word boundaries.