Skip to content

Conversation

@sfauvel
Copy link
Collaborator

@sfauvel sfauvel commented Nov 25, 2024

Content

Replace the store using the legacy store adapter and replace them with a repository implementation in the Aggregator.

This PR includes:

  • Removing of StoreAdapter from persistence
  • Remove links to StoreAdapter for signer_registration and CertificatePending in Aggregator
  • Remove usage of AdapterError

Note

If pruning is unit tested, there is no test that verify that it's really plugged and worked in production.
It's just a configuration in build_upkeep_service function in the builder.rs file that activate it.

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • Update README file (if relevant)
    • Update documentation website (if relevant)
    • Add dev blog post (if relevant)

Comments

Issue(s)

Relates to #2118

@github-actions
Copy link

github-actions bot commented Nov 25, 2024

Test Results

    4 files  ± 0     51 suites  ±0   11m 50s ⏱️ ±0s
1 414 tests  - 45  1 414 ✅  - 45  0 💤 ±0  0 ❌ ±0 
1 625 runs   - 45  1 625 ✅  - 45  0 💤 ±0  0 ❌ ±0 

Results for commit d01beb7. ± Comparison against base commit 94495a4.

♻️ This comment has been updated with latest results.

@sfauvel sfauvel force-pushed the sfa/2118/get_rid_of_store_adapter_in_aggregator branch from 7363c3c to dae2e96 Compare November 26, 2024 09:41
@sfauvel sfauvel marked this pull request as ready for review November 26, 2024 10:23
@sfauvel sfauvel force-pushed the sfa/2118/get_rid_of_store_adapter_in_aggregator branch from dae2e96 to d0ba1ee Compare November 26, 2024 10:26
@sfauvel sfauvel force-pushed the sfa/2118/get_rid_of_store_adapter_in_aggregator branch 2 times, most recently from 20c0332 to e450847 Compare November 26, 2024 13:13
@sfauvel sfauvel temporarily deployed to testing-sanchonet November 26, 2024 13:33 — with GitHub Actions Inactive
Copy link
Member

@jpraynaud jpraynaud left a 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 questions and suggestions.

Copy link
Collaborator

@dlachaume dlachaume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@sfauvel sfauvel force-pushed the sfa/2118/get_rid_of_store_adapter_in_aggregator branch from d78085f to 61fd2ee Compare November 26, 2024 17:53
@sfauvel sfauvel force-pushed the sfa/2118/get_rid_of_store_adapter_in_aggregator branch from 28035c4 to 6bad9ab Compare November 27, 2024 15:30
@sfauvel sfauvel temporarily deployed to testing-sanchonet November 27, 2024 15:39 — with GitHub Actions Inactive
* mithril-persistence from `0.2.36` to `0.2.37`
* mithril-aggregator from `0.5.114` to `0.5.115`
Copy link
Member

@jpraynaud jpraynaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@sfauvel sfauvel temporarily deployed to testing-sanchonet November 27, 2024 16:06 — with GitHub Actions Inactive
@sfauvel sfauvel merged commit e38a254 into main Nov 27, 2024
50 checks passed
@sfauvel sfauvel deleted the sfa/2118/get_rid_of_store_adapter_in_aggregator branch November 27, 2024 16:07
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.

5 participants