Content pfp
Content
@
0 reply
0 recast
0 reaction

Michael Amadi pfp
Michael Amadi
@michaels
Answer: In Solidity, when it successfully matches the first 4 bytes of calldata sent to a function selector that expects parameters, it asserts that the length of calldata is >= (4(i.e the selector) + the number of parameters * 32). So in this case, execution reverts if the length of calldata sent is < 36 bytes.
0 reply
0 recast
6 reactions