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

Clean 'CertificatePending' entity #331

Merged
merged 3 commits into from
Jul 7, 2022

Conversation

jpraynaud
Copy link
Member

The CertificatePending does not need to embed a previous_hash field.

The signed message does not actually need to sign the hash of the previous certificate. It only needs to sign the upcoming stake distribution that will be computed locally on each Signer/Aggregator node.

Relates to #316

The 'previous_hash' is not needed anymore as the 'Certificate Chain' only need the 'Stake Distribution' to be signed.
Also enhanced the description of the 'Stake' entity.
@github-actions
Copy link

github-actions bot commented Jul 6, 2022

Unit Test Results

222 tests  ±0   222 ✔️ ±0   7m 0s ⏱️ - 1m 2s
  17 suites ±0       0 💤 ±0 
    6 files   ±0       0 ±0 

Results for commit 5efd88f. ± Comparison against base commit 90de5fa.

@jpraynaud jpraynaud merged commit b0b43a3 into main Jul 7, 2022
@jpraynaud jpraynaud deleted the jpraynaud/316-clean-certificate-pending branch July 7, 2022 08:08
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.

None yet

2 participants