Skip to content
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

Fixed behaviour for genesis revocation state #9

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

vmidyllic
Copy link
Contributor

State contract recently has been upgraded:

And one particular check started to work differently.
https://github.com/0xPolygonID/contracts/blob/be6e0eb0abb713ddd07101c82f7cbb8f80657909/contracts/validators/CredentialAtomicQuerySigValidator.sol#L78C1-L78C1
Previously it returned zero state for non-existing id in state contract, now it throws an error.

So, currently at least one state transition is required at the moment.

This is a upgrade of validator contract so it will be possible to perform such verification again without mandatory state transition.

@vmidyllic vmidyllic merged commit 1b31462 into main Oct 6, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants