Skip to main content

MAX_CALLDATA_LEN

Constant MAX_CALLDATA_LEN 

Source
const MAX_CALLDATA_LEN: usize = _; // 2_212usize
Expand description

Maximum valid calldata size: verify(address,bytes32,bytes) with a WebAuthn signature is the worst case. ABI encoding pads the dynamic bytes field independently, so only round the dynamic portion: selector(4) + args(4×32) + padded_sig_bytes.