-
Notifications
You must be signed in to change notification settings - Fork 45
feat: support in memory UTxO-HD ledger state snapshots #2521
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Results 3 files ± 0 77 suites ±0 14m 38s ⏱️ +2s Results for commit 5c0619a. ± Comparison against base commit 0e2ee54. This pull request removes 6 and adds 17 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
b5add36
to
e183225
Compare
jpraynaud
approved these changes
May 26, 2025
mithril-aggregator/src/services/snapshotter/compressed_archive_snapshotter.rs
Show resolved
Hide resolved
turmelclem
approved these changes
May 26, 2025
This prepare its adaptation in order to support Utxo-Hd in-memory variant that contains more than one file
To easilly add the Utxo-hd memory variant afterward
e183225
to
e405700
Compare
by adding a path for all ledger state snapshot variant (+ the 'non' file) + add unit tests to the builder
* mithril-aggregator from `0.7.54` to `0.7.55` * mithril-client from `0.12.8` to `0.12.9` * mithril-common from `0.5.32` to `0.5.33` * mithril-end-to-end from `0.4.86` to `0.4.87`
e405700
to
5c0619a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Content
This PR adapt our snapshotting mechanism to support in-memory UTXO-HD ledger state snapshots.
Changes
LedgerFile
struct into aLedgerStateSnapshot
enum with two variants:Legacy
andInMemory
DummyCardanoDbBuilder
able to produce the two kind of supported ledger state snapshotsCompressedArchiveSnapshotter
to the refactoredLedgerStateSnapshot
enumPre-submit checklist
Issue(s)
Closes #2497