ERCs icon indicating copy to clipboard operation
ERCs copied to clipboard

Update ERC-3009: Change the order of chainId and verifyingContract address

Open dongri opened this issue 8 months ago • 2 comments

There is an error in signature verification with the current sample code.

EIP3009: invalid signature

It is necessary to change the order of bytes32(chainId) and address(this) to comply with keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)").

dongri avatar Jun 22 '24 08:06 dongri