test: test vectors for recursive proof verification#821
Merged
tcoratger merged 3 commits intoJun 2, 2026
Conversation
…gregation path Add an optional child_groups input that partitions validator_indices into subsets, each pre-aggregated into a child proof first; the outer aggregate then folds those children with any remaining raw signers. This exercises the recursive aggregator entry the rolling re-aggregation path in sync relies on, while emitting the same JSON shape as the flat path so clients verify it through the same code.
Three positive vectors exercising the recursive aggregation path: - one single-validator child folded with one raw signer - two disjoint children folded together with no raw signers - two children folded with one raw signer
tcoratger
approved these changes
Jun 2, 2026
Address review of the recursive single-message proof vectors: - Add wrong-message and wrong-slot rejection vectors so the recursive verifier path is tested on negative cases, not only acceptance. - Validate child_groups in the recursive aggregator: unknown or reused validator indices now raise a clear ValueError instead of an opaque KeyError or a silent dedup. - Inline attestation data in each test to match the sibling files and the inline-literals convention; drop the local helper. - Tighten docs: no field names in docstring prose, document the two-level depth as an invariant, rename inline Step labels to Phase. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
c4daf8a to
6570561
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🗒️ Description
Add test vectors for verifying recursive proofs
✅ Checklist
just check