-
Notifications
You must be signed in to change notification settings - Fork 51
Refactor signer state machine #1931
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
Conversation
Test Results 4 files ±0 53 suites ±0 9m 40s ⏱️ -1s Results for commit a8a3b5e. ± Comparison against base commit 9fd9ae8. This pull request removes 9 and adds 18 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
c8f619c to
2064e90
Compare
fbfe294 to
1aac955
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 good 👍
I left few comments and suggestions below.
54e66db to
89ffca3
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 👍
Co-authored-by: Jean-Philippe Raynaud <[email protected]> Co-authored-by: Sébastien Fauvel <[email protected]>
…ign_signed_entity_type`
Co-authored-by: Sébastien Fauvel <[email protected]>
…oSign' when the last signed entity type is the same as the one in the pending certificate.
Co-authored-by: Sébastien Fauvel <[email protected]>
…ign` to `ReadyToSign`
…_sign_to_ready_to_sign`and not the certificate
* mithril-signer from `0.2.182` to `0.2.183`
89ffca3 to
8ef6732
Compare
ea61195 to
a8a3b5e
Compare
Content
This PR includes an update of the state machine of the signer in order to prepare the phase of the decentralization of the signature orchestration.
States modifications:
Signedstate is removedReadyToSignandRegisterNotAbleToSignstates are addedTransitions:
Unregistered->RegisteredNotAbleToSignwhen registration succeeds but the signer can not sign the current epochUnregistered->ReadyToSignwhen registration succeeds and the signer can sign the current epochReadyToSign->ReadyToSignwhen trying to create a new message if any and sign itPre-submit checklist
Issue(s)
Closes #1922