refactor(stm): update PoP, protocol parameters and decoding functions#3431
Draft
damrobi wants to merge 8 commits into
Draft
refactor(stm): update PoP, protocol parameters and decoding functions#3431damrobi wants to merge 8 commits into
damrobi wants to merge 8 commits into
Conversation
Test Results 5 files ± 0 209 suites ±0 1h 37m 49s ⏱️ - 59m 2s Results for commit 917a568. ± Comparison against base commit 2eedbd2. This pull request removes 56 and adds 2 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
damrobi
force-pushed
the
damrobi/msnark/refactor-pop-snark-params-decoding
branch
from
July 24, 2026 07:18
7f5d023 to
98489af
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.
Content
This PR includes an update to the handling of the proof of possession of BLS keys, a modification of the checks done on the protocol parameters and a modification to the decoding function of the merkle tree path and concatenation proof.
Changes
phi_fis within (0, 1] before use in lottery/eligibility computationsKeyRegistration::register_by_entrytopub(crate)so external registration must go throughregister(), which always verifies proof of possessionClosedKeyRegistrationfields private with apub(crate)constructorRegistrationEntry/ClosedRegistrationEntry(types, constructors, methods) topub(crate)and dropped RegistrationEntry's unused Serialize/DeserializePre-submit checklist
Comments
Issue(s)