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

Rollback non deterministic Verification Keys in Signer #417

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

jpraynaud
Copy link
Member

This PR implements:

  • Rollback of the random generator of the Protocol Initializer of the Signer (to non deterministic)
  • Fix computation of Clerk in the Multi Signer of the Aggregator

Closes #362
Relates to #396 and #397

@github-actions
Copy link

github-actions bot commented Aug 10, 2022

Unit Test Results

    7 files  ±0    21 suites  ±0   3m 56s ⏱️ -36s
264 tests ±0  264 ✔️ ±0  0 💤 ±0  0 ±0 
265 runs  ±0  265 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit d16c933. ± Comparison against base commit 27ad3d9.

♻️ This comment has been updated with latest results.

The computation was relying on wrong verification keys, and lead to a panic from 'mithril-core',
that occurred because the protocol initializer used to create the clerk
did not find its verification key in the Merkle tree.
@jpraynaud jpraynaud force-pushed the jpraynaud/362-rollback-non-deterministic-vk branch from 8d26d2e to d16c933 Compare August 10, 2022 10:28
@jpraynaud jpraynaud merged commit 5d00f27 into main Aug 10, 2022
@jpraynaud jpraynaud deleted the jpraynaud/362-rollback-non-deterministic-vk branch August 10, 2022 10:40
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.

Add/Use Protocol Initializer Store in Signer
2 participants