You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose that `s0 < s1 < s2` are slots with blocks in the ImmutableDB,
and no other slot `s` with `s0 < s < s2` has a block, and suppose that
we run `db-analyser --store-ledger s2`. It is now expected that we store
a ledger snapshot for slot `s2`, which was the case before #1412.
However:
- With `--v1-in-mem` or `--lmdb`, we store a ledger snapshot for slot
`s1`.
- With `--v2-in-mem`, we store a ledger snapshot for slot `s0`.
This PR fixes two unrelated bugs causing this (one specific to the V2
LedgerDB), see the individual commits. Now, in all cases, we store a
ledger snapshot for slot `s2`.
Applied the `no changelog` label as only testing/internal code is
affected.
0 commit comments