mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 01:51:09 +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:
@@ -13,7 +13,7 @@ readme = "README.md"
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
array-bytes = { version = "4.1", optional = true }
|
||||
array-bytes = { version = "6.1", optional = true }
|
||||
log = { version = "0.4.14", default-features = false }
|
||||
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
@@ -33,7 +33,7 @@ pallet-identity = { version = "4.0.0-dev", path = "../identity", default-feature
|
||||
pallet-collective = { version = "4.0.0-dev", path = "../collective", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
array-bytes = "4.1"
|
||||
array-bytes = "6.1"
|
||||
sp-core-hashing = { version = "9.0.0", default-features = false, path = "../../primitives/core/hashing" }
|
||||
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
||||
pallet-collective = { version = "4.0.0-dev", path = "../collective" }
|
||||
|
||||
@@ -9,7 +9,7 @@ repository = "https://github.com/paritytech/substrate"
|
||||
homepage = "https://substrate.io"
|
||||
|
||||
[dependencies]
|
||||
array-bytes = { version = "4.1", optional = true }
|
||||
array-bytes = { version = "6.1", optional = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
||||
@@ -28,7 +28,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
|
||||
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../primitives/api" }
|
||||
|
||||
[dev-dependencies]
|
||||
array-bytes = "4.1"
|
||||
array-bytes = "6.1"
|
||||
sp-staking = { version = "4.0.0-dev", path = "../../primitives/staking" }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -164,7 +164,7 @@ fn should_update_authorities() {
|
||||
// check current authority set
|
||||
assert_eq!(0, auth_set.id);
|
||||
assert_eq!(2, auth_set.len);
|
||||
let want = array_bytes::hex_n_into_unchecked::<H256, 32>(
|
||||
let want = array_bytes::hex_n_into_unchecked::<_, H256, 32>(
|
||||
"176e73f1bf656478b728e28dd1a7733c98621b8acf830bff585949763dca7a96",
|
||||
);
|
||||
assert_eq!(want, auth_set.root);
|
||||
@@ -184,7 +184,7 @@ fn should_update_authorities() {
|
||||
assert_eq!(1, auth_set.id);
|
||||
// check next auth set
|
||||
assert_eq!(2, next_auth_set.id);
|
||||
let want = array_bytes::hex_n_into_unchecked::<H256, 32>(
|
||||
let want = array_bytes::hex_n_into_unchecked::<_, H256, 32>(
|
||||
"9c6b2c1b0d0b25a008e6c882cc7b415f309965c72ad2b944ac0931048ca31cd5",
|
||||
);
|
||||
assert_eq!(2, next_auth_set.len);
|
||||
@@ -200,7 +200,7 @@ fn should_update_authorities() {
|
||||
assert_eq!(2, auth_set.id);
|
||||
// check next auth set
|
||||
assert_eq!(3, next_auth_set.id);
|
||||
let want = array_bytes::hex_n_into_unchecked::<H256, 32>(
|
||||
let want = array_bytes::hex_n_into_unchecked::<_, H256, 32>(
|
||||
"9c6b2c1b0d0b25a008e6c882cc7b415f309965c72ad2b944ac0931048ca31cd5",
|
||||
);
|
||||
assert_eq!(2, next_auth_set.len);
|
||||
|
||||
@@ -33,7 +33,7 @@ sp-storage = { version = "13.0.0", default-features = false, path = "../../primi
|
||||
static_assertions = "1.1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
array-bytes = "4.1"
|
||||
array-bytes = "6.1"
|
||||
rusty-fork = { version = "0.3.0", default-features = false }
|
||||
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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()
|
||||
});
|
||||
|
||||
@@ -2180,7 +2180,7 @@ mod tests {
|
||||
ExecReturnValue {
|
||||
flags: ReturnFlags::empty(),
|
||||
data: (
|
||||
array_bytes::hex2array_unchecked::<32>(
|
||||
array_bytes::hex2array_unchecked::<_, 32>(
|
||||
"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F"
|
||||
),
|
||||
42u64,
|
||||
|
||||
@@ -27,7 +27,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
|
||||
sp-tracing = { version = "10.0.0", default-features = false, path = "../../primitives/tracing" }
|
||||
|
||||
[dev-dependencies]
|
||||
array-bytes = "4.1"
|
||||
array-bytes = "6.1"
|
||||
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
||||
pallet-transaction-payment = { version = "4.0.0-dev", path = "../transaction-payment" }
|
||||
sp-core = { version = "21.0.0", path = "../../primitives/core" }
|
||||
|
||||
@@ -24,7 +24,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"
|
||||
env_logger = "0.9"
|
||||
itertools = "0.10.3"
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ serde_json = "1.0.85"
|
||||
assert_matches = "1.3.0"
|
||||
pretty_assertions = "1.2.1"
|
||||
frame-system = { version = "4.0.0-dev", path = "../system" }
|
||||
array-bytes = "4.1"
|
||||
array-bytes = "6.1"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
|
||||
@@ -13,7 +13,7 @@ readme = "README.md"
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
array-bytes = { version = "4.1", optional = true }
|
||||
array-bytes = { version = "6.1", optional = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
||||
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0.163", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user