1

If I change the names of method parameters in a public API of an Ethereum contract, will this break any caller's ability to call that API?

The reason I ask is that I frequently see hashes of method signatures used for various purposes, and they seem to often include parameter names (e.g. the method hashes in EIP2612).

1 Answer 1

2

The method signature "includes" the name of the method and a complete list of parameters TYPES. The NAMES of the parameters do not affect the signature.

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.