Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

refine receipt validation test #1362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeffgrunewald
Copy link
Contributor

Refine the common tests that assert when validation of receipts_v2 during witnesses is both enabled and disabled via the chain variable poc_receipt_witness_validation.

This new version of the test asserts that when validation is enabled, one witness successfully passes validation while the other witness fails (with an invalid frequency for its asserted region). When the validation is disabled in the other test, both witnesses are successfully counted as "valid".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant