Replies: 1 comment
-
That is a good question. I would expect them to be visible only in the API logic; underneath, they should be normalized. I’ll look into this shortly. For now, I’d recommend sticking with uint256 and int256. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are types
uint
andint
valid types in the EIP712?Hi, in EIP712 spec section, in the atomic types paragraph:
It mentions that there are no aliases
uint
andint
. If I understand correctly, it means typeuint
and typeint
should not be allowed in the type definition?I was not sure if my understanding is correct but I try using
uint
anduint256
separately forTypeDataEncoder
and they seem to produce different hashes.uint
anduint256
types result in different hashes, which could create confusionI wonder if this is an expected behavior.
Beta Was this translation helpful? Give feedback.
All reactions