-
Notifications
You must be signed in to change notification settings - Fork 39
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
signer retrieves registrations with epoch settings route #1913
signer retrieves registrations with epoch settings route #1913
Conversation
Test Results 4 files ±0 53 suites ±0 9m 26s ⏱️ -1s Results for commit 59a8894. ± Comparison against base commit 82b2f93. This pull request removes 5 and adds 8 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
d60e407
to
429beca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks almost good 👍
I left few suggestions and comments below.
mithril-signer/src/message_adapters/from_pending_certificate_message.rs
Outdated
Show resolved
Hide resolved
429beca
to
f5fcf39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b39dae0
to
9339988
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
…igner with stake from runner
…gnerWithStake registered to signed transition
…ignature` in `runner`
…`inform_epoch_settings`
… from `EpochService`
…ervice implementation
…protocol_parameters` from `CertificatePendingMessage`
* mithril-aggregator from `0.5.60` to `0.5.61` * mithril-common from `0.4.49` to `0.4.50` * mithril-signer from `0.2.179` to `0.2.180` * mithril-aggregator-fake from `0.3.8` to `0.3.9` * openapi.yaml from `0.1.28` to `0.1.29`
9339988
to
59a8894
Compare
Content
In order to decentralize further the protocol, we want to get rid of the centralized orchestration of the signatures which is done with the pending certificate mechanism. The signer registrations for the current and the next epoch should be accessible from a different route than the /certificate-pending route and this should be the source of the signer registrations for the current and the next epoch for all the signers.
This PR depreciates fields in
openapi
andCertificatePendingMessage
(protocol_parameters
,next_protocol_parameters
,signers
andnext_signers
).An EpochService is added to store Epoch settings (epoch, current signers, next signers, nex protocol parameters) and the signer use it to get information instead of using the pending certificate.
Pre-submit checklist
Comments
Fields have been deprecated from
CertificatePendingMessage
but not removed fromCertificatePending
Issue(s)
Closes #1897