Feat: add mithril-client CLI command for UTxO-HD ledger state snapshot conversion#2518
Merged
dlachaume merged 20 commits intoJun 6, 2025
Conversation
jpraynaud
reviewed
May 27, 2025
Alenar
reviewed
May 27, 2025
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 2, 2025 13:03
cc19034 to
1cb0c25
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
2 times, most recently
from
June 2, 2025 14:31
a9a2e1e to
4f877a0
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 2, 2025 14:59
4f877a0 to
4576675
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 2, 2025 16:12
4576675 to
cdbff79
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
2 times, most recently
from
June 2, 2025 17:27
680a476 to
ff07c4f
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
3 times, most recently
from
June 3, 2025 07:11
286c8d2 to
02b9448
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 3, 2025 17:14
02b9448 to
0b71f51
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
2 times, most recently
from
June 4, 2025 09:28
a023a54 to
3fa570c
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 4, 2025 09:40
3fa570c to
89a712d
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 4, 2025 13:21
89a712d to
5126d95
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 5, 2025 10:25
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
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 5, 2025 13:00
2c55cf5 to
074f5ee
Compare
…ot the directory itself
Extracts and sorts valid ledger snapshots by slot number, then returns the oldest one.
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 5, 2025 14:10
074f5ee to
e3ce6cd
Compare
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
2 times, most recently
from
June 5, 2025 15:02
e0ea5cc to
f2e3feb
Compare
* mithril-client-cli from `0.12.6` to `0.12.7`
dlachaume
force-pushed
the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
from
June 5, 2025 16:09
f2e3feb to
5b39c59
Compare
dlachaume
deleted the
dlachaume/2492/add-client-cli-command-for-utxo-hd-ledger-state-snapshot-conversion
branch
June 6, 2025 07:34
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
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