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:
Qinxuan Chen
2023-07-06 22:46:44 +08:00
committed by GitHub
parent 9c3ca04781
commit e8e2048b88
47 changed files with 126 additions and 163 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[dev-dependencies]
array-bytes = "4.1"
array-bytes = "6.1"
assert_matches = "1"
env_logger = "0.9"
pretty_assertions = "1"
+3 -1
View File
@@ -3608,7 +3608,9 @@ mod tests {
);
assert_eq!(
ctx.ext.ecdsa_to_eth_address(&pubkey_compressed).unwrap(),
array_bytes::hex2array_unchecked::<20>("09231da7b19A016f9e576d23B16277062F4d46A8")
array_bytes::hex2array_unchecked::<_, 20>(
"09231da7b19A016f9e576d23B16277062F4d46A8"
)
);
exec_success()
});
+1 -1
View File
@@ -2180,7 +2180,7 @@ mod tests {
ExecReturnValue {
flags: ReturnFlags::empty(),
data: (
array_bytes::hex2array_unchecked::<32>(
array_bytes::hex2array_unchecked::<_, 32>(
"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F"
),
42u64,