Skip to content

v0.5.1

Choose a tag to compare

@nel349 nel349 released this 24 Aug 23:07
· 165 commits to main since this release
b8ce5ef

midnight-wallet-cli 0.5.1

Follow-up fixes on top of 0.5.0. Full detail in CHANGELOG.md.

Changed

  • Native dust-sync path now collapses the generation tree. The 0.5.0 collapse ran only on the WASM reader; the native sidecar (fast/default path) returned an uncollapsed state, so a cold native sync exported an unbounded snapshot. adaptResult now collapses the native result too (fails safe to uncollapsed via the balance+root guard). Verified on preprod: a cold native export (1.42M events) dropped from ~1.46 MB to ~78 KB.

Fixed

  • mn dust export on a brand-new wallet no longer silently truncates. It now routes through the repository (native sidecar + bounded partial-resume loop) and surfaces partial in --json and a loud warning, instead of exiting 0 with a snapshot half the chain behind.
  • mn balance now honours MN_SEED (and --seed). A seed-only caller previously got the active wallet's balance; all seed-operating commands now share one resolver (--seed → MN_SEED → --wallet → active).
  • A completed dust/unshielded sync is no longer discarded by a transient tip-probe timeout.

Note: not yet published to npm at release time — install from source or bun link locally. The native sidecar ships as source; an npm installed mn falls back to WASM until the platform binaries ship.