mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 16:31:03 +00:00
chore: update some deps to prune duplicated deps (#14515)
* chore: update some deps to prune duplicated deps - array-bytes: 4.1.0 => 6.1.0 - cid: 0.8.6 => 0.9.0 * fix
This commit is contained in:
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
ahash = "0.8.2"
|
||||
array-bytes = "4.1"
|
||||
array-bytes = "6.1"
|
||||
async-trait = "0.1.57"
|
||||
dyn-clone = "1.0"
|
||||
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
|
||||
|
||||
@@ -669,7 +669,7 @@ fn grandpa_protocol_name() {
|
||||
|
||||
// Create protocol name using random genesis hash.
|
||||
let genesis_hash = sp_core::H256::random();
|
||||
let expected = format!("/{}/grandpa/1", array_bytes::bytes2hex("", genesis_hash.as_ref()));
|
||||
let expected = format!("/{}/grandpa/1", array_bytes::bytes2hex("", genesis_hash));
|
||||
let proto_name = grandpa_protocol_name::standard_name(&genesis_hash, &chain_spec);
|
||||
assert_eq!(proto_name.to_string(), expected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user