How Does the ‘Calldata’ Size Affect the Gas Cost of a Transaction?
Calldata, which holds the input data for a smart contract call, has a gas cost associated with each byte to ensure nodes are compensated for processing and storing the data. Specifically, non-zero bytes cost more than zero bytes.
Larger calldata increases the total gas cost, a factor relevant for Rollups.