fix: address multiple compilation issues

- Revert thiserror to 1.0.69 (fatality 0.1.1 incompatible with 2.x)
- Fix MerkleProofError format string (Rust 2024 compatibility)
- Fix deprecated websocket::framed::WsConfig -> Config in telemetry
- Fix zombienet-sdk import: sc_chain_spec -> pezsc_chain_spec
This commit is contained in:
2025-12-23 06:07:40 +03:00
parent e96f346099
commit 422f112970
5 changed files with 98 additions and 98 deletions
+2 -2
View File
@@ -567,12 +567,12 @@ impl Proof {
/// Possible errors when converting from `Vec<Vec<u8>>` into [`Proof`].
#[derive(thiserror::Error, Debug)]
pub enum MerkleProofError {
#[error("Merkle max proof depth exceeded {0} > {} .", MERKLE_PROOF_MAX_DEPTH)]
/// This error signifies that the Proof length exceeds the trie's max depth
#[error("Merkle max proof depth exceeded {0} > {MERKLE_PROOF_MAX_DEPTH}.")]
MerkleProofDepthExceeded(usize),
#[error("Merkle node max size exceeded {0} > {} .", MERKLE_NODE_MAX_SIZE)]
/// This error signifies that a Proof node exceeds the 16-ary max node size
#[error("Merkle node max size exceeded {0} > {MERKLE_NODE_MAX_SIZE}.")]
MerkleProofNodeSizeExceeded(usize),
}