-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Update Contracts to use latest dependencies #13
Comments
This release 1.1.0 is a tag for production legacy contracts. All further changes will be committed to the main branch and a major version of the example will be released. All fixes to production example contracts (validators) will be made to this tag. fixed lock file on main branch. You can use main version as example. latest version 1.3.0 doesn’t contain Statev2, but it’s predicted and we are working on update. |
or you can stick to version of 1.1.0 in your branch in case you use have own project. |
I was able to to do most of the contract updates by replacing by Statev2 with State, etc.
but not for the new call: https://github.com/iden3/contracts/blob/master/contracts/verifiers/ZKPVerifier.sol with request being: struct ZKPRequest { |
PR of upgrade to 1.3.2 is here |
Awesome! Looking forward to it. I will take a look if I get the opportunity |
Hi @joelamouche, we released a new tutorial and examples Fixed in #17 https://github.com/0xPolygonID/tutorial-examples/tree/main/on-chain-verification |
Hi @vmidyllic BTW I had to rewrite this function to use viem instead of web3 (might be useful to you or other users):
Also, I think verifier address in https://github.com/0xPolygonID/tutorial-examples/blob/main/on-chain-verification/scripts/deployValidators.js doesn’t seem to be correct. I had to deploy my own VerifierSigWrapper/VerifierSig for it to work |
Hi Polygon Decs, congratulations on the new release!
Would it be possible to update contracts repo with the latest versions?
StateV2 doesn't exist in latest version of @iden3/contracts for https://github.com/0xPolygonID/contracts/blob/main/contracts/validators/CredentialAtomicQuerySigValidator.sol
Thanks in advance!
The text was updated successfully, but these errors were encountered: