Commit b1866bf
fix(platform-wallet): keep prederived typed keys for legacy key-less rows + land the #893 crash-fix pin
Follow-up to #4129 (merged before its review completed) addressing
thepastaclaw's blocking finding, plus the rust-dashcore bump that was
pushed to the #4129 branch after its merge and never landed:
- restore_address_pool: a legacy row persisted before the typed-key
column (empty key -> public_key: None) no longer strips the typed BLS
key the gap-limit prederivation put at the same index — pre-typed-key
stores otherwise lose in-memory operator pubkeys at load and
masternode operator-ownership matching silently breaks. No-op for
post-migration rows (they always carry their key). Test pins both
directions. Legacy Ed25519 platform-node keys are hardened-only and
their old account-level batch was dropped by the schema migration, so
they cannot be recovered at load; per the pre-release convention those
stores re-derive on delete+re-import.
- PersistentCoreAddress.keyType doc: corrected the false "re-tags on
every load" claim — load only reads the snapshot; re-tagging happens
on the next persist pulse.
- Bump rust-dashcore to 19690d31 (merged #893, fixes #892): the
sparse-filter startup crash-loop fix, verified live on the previously
crash-looping simulator state.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent f744652 commit b1866bf
4 files changed
Lines changed: 118 additions & 42 deletions
File tree
- packages
- rs-platform-wallet-ffi/src
- swift-sdk/Sources/SwiftDashSDK/Persistence/Models
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3000 | 3000 | | |
3001 | 3001 | | |
3002 | 3002 | | |
3003 | | - | |
| 3003 | + | |
3004 | 3004 | | |
3005 | 3005 | | |
3006 | 3006 | | |
3007 | 3007 | | |
3008 | 3008 | | |
3009 | | - | |
| 3009 | + | |
3010 | 3010 | | |
3011 | 3011 | | |
3012 | | - | |
3013 | | - | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
3014 | 3025 | | |
3015 | | - | |
| 3026 | + | |
3016 | 3027 | | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
3017 | 3035 | | |
3018 | 3036 | | |
3019 | 3037 | | |
| |||
5920 | 5938 | | |
5921 | 5939 | | |
5922 | 5940 | | |
| 5941 | + | |
| 5942 | + | |
| 5943 | + | |
| 5944 | + | |
| 5945 | + | |
| 5946 | + | |
| 5947 | + | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
| 5951 | + | |
| 5952 | + | |
| 5953 | + | |
| 5954 | + | |
| 5955 | + | |
| 5956 | + | |
| 5957 | + | |
| 5958 | + | |
| 5959 | + | |
| 5960 | + | |
| 5961 | + | |
| 5962 | + | |
| 5963 | + | |
| 5964 | + | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
| 5973 | + | |
| 5974 | + | |
| 5975 | + | |
| 5976 | + | |
| 5977 | + | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
| 5981 | + | |
| 5982 | + | |
| 5983 | + | |
| 5984 | + | |
| 5985 | + | |
| 5986 | + | |
| 5987 | + | |
| 5988 | + | |
| 5989 | + | |
| 5990 | + | |
| 5991 | + | |
5923 | 5992 | | |
5924 | 5993 | | |
5925 | 5994 | | |
| |||
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
0 commit comments