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

fix witness metadata on invalid reports #618

Merged
merged 3 commits into from
Aug 27, 2023

Conversation

jeffgrunewald
Copy link
Contributor

@jeffgrunewald jeffgrunewald commented Aug 26, 2023

At the stage at the end of do_witness_verifications in the iot_verifier poc.rs module where we assign non-zero values to invalid witness metadata we should have validated the witness's on-chain metadata at least (the invalid witness report was invalid for a different reason) so we should assign the witnesses's metadata to its section of the invalid report rather than the beaconer's.

Cargo.toml Show resolved Hide resolved
Copy link
Contributor

@andymck andymck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ffs, couldnt believe this one when i saw it

@jeffgrunewald jeffgrunewald merged commit 1a4907e into main Aug 27, 2023
1 check passed
@jeffgrunewald jeffgrunewald deleted the jg/fix-invalid-witness-md branch August 27, 2023 12:38
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.

4 participants