You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This gives "0737ed294ff3a12f840067c728e500008f23a7b79f4a62c09b5d1bbca85ddb2e"
Change data_false: 0 to data_false: 'false' then the output is changed to "1a3a9fdfbecde2bb500792a5cdfc2d0deca9401edafa4186d71f5842ecf12d0b"
Seems "false" is wrongly mapped, when I give "false" and "1" it gives the same output
PS: According to Eip-712 spec bool values should be encoded same as uint256 0 or 1. I tested uint256 0 and 1 values and I confirm it gives correct output
The text was updated successfully, but these errors were encountered:
I was testing
bool
property encoding usingTypedDataUtils.eip712Hash
but I noticed different output when I change "false" to 0.Proof
This gives "0737ed294ff3a12f840067c728e500008f23a7b79f4a62c09b5d1bbca85ddb2e"
data_false: 0
todata_false: 'false'
then the output is changed to "1a3a9fdfbecde2bb500792a5cdfc2d0deca9401edafa4186d71f5842ecf12d0b"Seems "false" is wrongly mapped, when I give "false" and "1" it gives the same output
PS: According to Eip-712 spec
bool
values should be encoded same as uint2560
or1
. I tested uint256 0 and 1 values and I confirm it gives correct outputThe text was updated successfully, but these errors were encountered: