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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
0.19.0
Breaking Changes
[BREAKING][behavior][rust,cli] State sync follows the validator configuration changes of the network. The client syncs the chain MMR with the SyncChainMmrV2 endpoint, which stops at each block that changes the validator configuration. The client verifies that block against the configuration that it trusts, and continues to the chain tip with the new configuration. If the node does not serve SyncChainMmrV2, the client uses SyncChainMmr, as before. A sync that makes no progress does not verify block signatures. A client before this version cannot sync after the first change of the validator configuration (#2849).
[BREAKING][type][rust] Added NodeRpcClient::sync_chain_mmr_v2, which calls the SyncChainMmrV2 endpoint and which implementations of NodeRpcClient must implement, and the RpcEndpoint::SyncChainMmrV2 variant. ChainMmrInfo has a chain_tip field. NodeRpcClient::sync_chain_mmr still calls SyncChainMmr, which does not stop at a change of the validator configuration (#2849).
[BREAKING][arch][all] Updated the protocol dependencies to 0.19 and miden-node-proto-build to 0.18.4, which adds SyncChainMmrV2 and raises the MSRV to 1.100.1 (#2849).