We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.11.0
EIP-712 signTypedData eip712
According to the spec https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct hashStruct should include the encoded type in the data that it hashes. However, the implementation in ethers https://github.com/ethers-io/ethers.js/blob/main/src.ts/hash/typed-data.ts#L420 does not include the type and only hashes the data.
hashStruct
This could also be why #4607 is failing.
No response
The text was updated successfully, but these errors were encountered:
Actually maybe this does happen here https://github.com/ethers-io/ethers.js/blob/main/src.ts/hash/typed-data.ts#L385
Sorry, something went wrong.
ricmoo
No branches or pull requests
Ethers Version
6.11.0
Search Terms
EIP-712 signTypedData eip712
Describe the Problem
According to the spec https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct
hashStruct
should include the encoded type in the data that it hashes. However, the implementation in ethers https://github.com/ethers-io/ethers.js/blob/main/src.ts/hash/typed-data.ts#L420 does not include the type and only hashes the data.This could also be why #4607 is failing.
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: