pub fn validate_calldata(tx: &TypedTx) -> Result<(), Error>Expand description
Validate the calldata in a typed transaction.
Checks:
publicFunctionCalldata.len() == numberOfPublicCalls()- total calldata count <= MAX_FR_CALLDATA_TO_ALL_ENQUEUED_CALLS
- each calldata hash matches the corresponding public call request