-
Notifications
You must be signed in to change notification settings - Fork 50
Feat: add mithril-client CLI command for UTxO-HD ledger state snapshot conversion
#2518
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
dlachaume
merged 20 commits into
main
from
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
Jun 6, 2025
Merged
Feat: add mithril-client CLI command for UTxO-HD ledger state snapshot conversion
#2518
dlachaume
merged 20 commits into
main
from
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
Jun 6, 2025
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
jpraynaud
reviewed
May 27, 2025
mithril-client-cli/src/commands/tools/github_api_client/reqwest_github_api_client.rs
Outdated
Show resolved
Hide resolved
Alenar
reviewed
May 27, 2025
mithril-client-cli/src/commands/tools/archive_unpacker/zip_unpacker.rs
Outdated
Show resolved
Hide resolved
mithril-client-cli/src/commands/tools/archive_unpacker_selector.rs
Outdated
Show resolved
Hide resolved
mithril-client-cli/src/commands/tools/archive_unpacker/tar_gz_unpacker.rs
Outdated
Show resolved
Hide resolved
cc19034 to
1cb0c25
Compare
a9a2e1e to
4f877a0
Compare
4f877a0 to
4576675
Compare
4576675 to
cdbff79
Compare
680a476 to
ff07c4f
Compare
286c8d2 to
02b9448
Compare
02b9448 to
0b71f51
Compare
a023a54 to
3fa570c
Compare
3fa570c to
89a712d
Compare
89a712d to
5126d95
Compare
163d6d6 to
2c55cf5
Compare
…converted snapshot
…fter snapshot conversion or on failure
…messages remove extra carriage returns
…rsion after restoration with `--include-ancillary`
…erface.rs` sub module
…rface.rs` sub module
2c55cf5 to
074f5ee
Compare
…ot the directory itself
Extracts and sorts valid ledger snapshots by slot number, then returns the oldest one.
074f5ee to
e3ce6cd
Compare
e0ea5cc to
f2e3feb
Compare
* mithril-client-cli from `0.12.6` to `0.12.7`
f2e3feb to
5b39c59
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 includes a new
mithril-clientCLI command to convert a restoredInMemoryledger state snapshot using thesnapshot-convertertool from the Cardano node distribution.The command
mithril-client tools utxo-hd snapshot-converteris marked asunstableand must be used with the--unstableflag.It supports selecting a target UTxO-HD flavor (
LMDBorLegacy) and optionally replacing the current ledger state with the converted snapshot using the--commitflag.Example:
Pre-submit checklist
Issue(s)
Closes #2492