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
The test is broken on master branch now even following the README. The minimum to fix this is altering domainType in the test file as below:
domainType
const domainType = [{ name: "name", type: "string" }, { name: "version", type: "string" }, - { - name: "chainId", - type: "uint256" - }, { name: "verifyingContract", type: "address" }, + { + name: "salt", + type: "bytes32" + } ];
and domainData in the test file should be altered as below:
domainData
domainData = { name: "TestContract", version: "1", verifyingContract: testContract.address, - chainId: 99999 + salt: "0x000000000000000000000000000000000000000000000000000000000000002A" // chainID: 42 };
But I suggest we add all fields (name, version, chainId, verifyingContract, salt) to it or at least don't use chain ID as salt.
name, version, chainId, verifyingContract, salt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The test is broken on master branch now even following the README. The minimum to fix this is altering
domainType
in the test file as below:and
domainData
in the test file should be altered as below:But I suggest we add all fields (
name, version, chainId, verifyingContract, salt
) to it or at least don't use chain ID as salt.The text was updated successfully, but these errors were encountered: