the call data below corresponds to the following method call MethodID: 0xa694fc3a [0]: 00000000000000000000000000000000000000000000000021192f2c6946a040

the calldata: 0xa694fc3a00000000000000000000000000000000000000000000000021192f2c6946a040

Question, why is the function signature not padded by 0s to make it a 32 byte size evm word? the first arg is padded with 0s to make it 32 bytes long

1 Answer 1


The reason this is the case is that if the first argument is being encoded to exactly four bytes, the argument is not padded to 32 bytes to allow the use of function signatures, see the Solidity documentation.

The other possibility is that this is an internal function call which uses a different convention.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.