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

Refactor signer state machine #1931

Merged
merged 25 commits into from
Sep 19, 2024
Merged

Commits on Sep 18, 2024

  1. feat: implement can_signer_sign_current_epoch in Signer Epoch service

    Co-authored-by: Jean-Philippe Raynaud <jpraynaud@users.noreply.github.com>
    Co-authored-by: Sébastien Fauvel <sfauvel@users.noreply.github.com>
    3 people committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    3a8f75f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7f2021 View commit details
    Browse the repository at this point in the history
  3. refactor: split can_i_sign into can_sign_current_epoch and `can_s…

    …ign_signed_entity_type`
    dlachaume authored and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    114c3bc View commit details
    Browse the repository at this point in the history
  4. feat: add new states ReadyToSign and RegisteredNotAbleToSign

    Co-authored-by: Sébastien Fauvel <sfauvel@users.noreply.github.com>
    dlachaume and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    067dd75 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    332c4d2 View commit details
    Browse the repository at this point in the history
  6. fix: handle the case when transitioning from 'ReadyToSign' to 'ReadyT…

    …oSign' when the last signed entity type is the same as the one in the pending certificate.
    dlachaume authored and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7c4a4ef View commit details
    Browse the repository at this point in the history
  7. refactor: simplify state machine unit tests

    Co-authored-by: Sébastien Fauvel <sfauvel@users.noreply.github.com>
    dlachaume and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    2e34343 View commit details
    Browse the repository at this point in the history
  8. test: adapt signer integration tests with the new states and transiti…

    …ons in the signer state machine
    dlachaume authored and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7a54bbb View commit details
    Browse the repository at this point in the history
  9. test: refactor integration test to simplify understanding

    Co-authored-by: Sébastien Fauvel <sfauvel@users.noreply.github.com>
    dlachaume and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7f02cd8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    934b09f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3785e62 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    adfed4e View commit details
    Browse the repository at this point in the history
  13. refactor: Simplify code

    sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b9862bd View commit details
    Browse the repository at this point in the history
  14. docs: resize state machine diagram

    dlachaume authored and sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    baf5431 View commit details
    Browse the repository at this point in the history
  15. fix: reuse the epoch of previous state when transition from `ReadyToS…

    …ign` to `ReadyToSign`
    sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    d601fe9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    07484fc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    60402d7 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    23111e8 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    911388b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8719f00 View commit details
    Browse the repository at this point in the history
  21. refactor: pass only signed_entity_type to `transition_from_ready_to…

    …_sign_to_ready_to_sign`and not the certificate
    sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    e7ee8a8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    c7ce4e3 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a135b26 View commit details
    Browse the repository at this point in the history
  24. Upgrade crate versions

    * mithril-signer from `0.2.182` to `0.2.183`
    sfauvel committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8ef6732 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    a8a3b5e View commit details
    Browse the repository at this point in the history