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
Moreover the calculation of the EIP712_DOMAIN_TYPEHASH is wrong. We are using salt but we are not encoding any salt at all. EIP712Domain(string name,string version,address verifyingContract,bytes32 salt) this gives problems when you want to calculate the signature with standards like signTypedData from metamask.
The text was updated successfully, but these errors were encountered:
Hello, I am having problems to make EIP3009 from usdc polygon pos to work and it seems it uses the contracts from this repo.
It seems the EIP712 is wrong implemented: https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol#L36
First, the order from the domain separator should be in the order they give you here: https://eips.ethereum.org/EIPS/eip-712
Moreover the calculation of the
EIP712_DOMAIN_TYPEHASH
is wrong. We are usingsalt
but we are not encoding any salt at all.EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)
this gives problems when you want to calculate the signature with standards like signTypedData from metamask.The text was updated successfully, but these errors were encountered: