Improve the legacy chain panic message #2394
Labels
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
I-usability
Zebra is hard to understand or use
NU-0 Overwinter
Network Upgrade: Overwinter specific tasks (Sprout after Overwinter)
Motivation
We implemented a legacy chain check in #2366.
But it would help users if we told them the invalid network upgrade, the expected network upgrade, and the failing height.
We should also see what happens if someone installs an old version, then tries to open a new state. (I think the old version will panic when it parses an unrecognised branch id in a transaction.)
Priority
This situation should be reasonably rare, so usability improvements are a low priority.
Specifications
https://zips.z.cash/zip-0200#post-activation-upgrading
Designs
The current design is documented in the
legacy_chain_check
function.The text was updated successfully, but these errors were encountered: