Skip to content

Refactory - #59

Merged
davxy merged 8 commits into
mainfrom
refactory
Jun 12, 2026
Merged

davxy merged 8 commits into
mainfrom
refactory

Conversation

@davxy

@davxy davxy commented Jun 12, 2026

Copy link
Copy Markdown
Member

Bumps ark-vrf to 0.5.1 and uses the newly exposed PcsVerifierParams and verifier_key_from_commitment to replace the byte-level recovery of the canonical KZG verifier key (ref davxy/ark-vrf#95)

The pinning check in validate/batch_validate now rebuilds the verifier key from the members' own ring commitment plus the canonical params and compares structurally, dropping the serialization-layout assumption and its TODO.

Reworks the VerifierCache/ProverCache traits: the Handle associated type is gone, methods return Cow<'static, _> and come with uncached default implementations, so NullCache reduces to empty impls. VerifierCache gains empty_members_set, and the Bandersnatch suite serves the empty-ring members set deserialized once per domain instead of on every start_members call.

@davxy
davxy merged commit 19b03de into main Jun 12, 2026
8 checks passed
@davxy
davxy deleted the refactory branch June 12, 2026 13:43
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.

1 participant