-
Notifications
You must be signed in to change notification settings - Fork 41
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
Get rid of store adapter in signer #2126
Conversation
970f71a
to
2294bd7
Compare
Test Results 4 files ±0 51 suites ±0 11m 38s ⏱️ -19s Results for commit a14746c. ± Comparison against base commit 0b8564c. This pull request removes 12 and adds 21 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
844ce98
to
b8f8dad
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 👍
mithril-signer/src/database/repository/protocol_initializer_repository.rs
Outdated
Show resolved
Hide resolved
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 👍
mithril-signer/src/database/query/protocol_initializer/get_protocol_initializer.rs
Outdated
Show resolved
Hide resolved
mithril-signer/src/database/repository/protocol_initializer_repository.rs
Outdated
Show resolved
Hide resolved
75ce762
to
4beb241
Compare
… `ProtocolInitializerStore` that use the `StoreAdpater`
… separate folder
* mithril-persistence from `0.2.34` to `0.2.35` * mithril-signer from `0.2.214` to `0.2.215`
c81f7da
to
a14746c
Compare
Content
Replace the store using the legacy store adapter and replace them with a repository implementation in the
Signer
.This PR includes:
ConnectionBuilder
to be able to execute partial migrations.protocol_initializer_repository
etstake_pool_store
and associated queries and records.tests
module indatabase
to test repository behaviorWarning
The migration number for
signed_beacon
was fixed (4 instead of 31). That need to manually updatedb_version
just before merging this PR.Pre-submit checklist
Comments
FakeAdapter
was created to initialize database like theStoreAdapter
did but without depending on it.aggregator
to remove the dependency onadapter
module.Issue(s)
Relates to #2118