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
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
TypedData::encode_eip712 doesn't work correctly when an int256 is used. This is easier explained with some tests, so I opened a WIP PR with a couple of tests: #2784
Both tests use almost the same EIP712 data, except one uses uint256 and the other one uses int256.
I'm pretty sure the int256 hash used in the test is correct because I verified it both with viem and ethers.js:
Version
Platform
GNU/Linux x86_64
Description
TypedData::encode_eip712
doesn't work correctly when an int256 is used. This is easier explained with some tests, so I opened a WIP PR with a couple of tests: #2784Both tests use almost the same EIP712 data, except one uses
uint256
and the other one usesint256
.I'm pretty sure the
int256
hash used in the test is correct because I verified it both with viem and ethers.js:The text was updated successfully, but these errors were encountered: