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

Add validate to OracleAttestation #181

Closed
benthecarman opened this issue Dec 1, 2023 · 0 comments · Fixed by #242
Closed

Add validate to OracleAttestation #181

benthecarman opened this issue Dec 1, 2023 · 0 comments · Fixed by #242

Comments

@benthecarman
Copy link
Contributor

I just spent too long debugging an issue where I put all the possible outcomes in an OracleAttestation instead of the actual outcome.

The validate could just validate that sigs.len() == outcomes.len() but it could also verify the sigs. Further it could also check it used the correct nonces.

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 a pull request may close this issue.

1 participant