Skip to content

Commit 92b0c65

Browse files
committed
Dependencies upgrades and small fixes
1 parent 6cebcde commit 92b0c65

File tree

9 files changed

+869
-501
lines changed

9 files changed

+869
-501
lines changed

Cargo.lock

Lines changed: 842 additions & 473 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ clap = { version = "4.0", features = [
4040
"suggestions",
4141
] }
4242
color-eyre = "0.6"
43-
thiserror = "1.0"
43+
thiserror = "2.0.11"
4444
env_logger = "0.11"
4545
log = "0.4"
4646
substrate-runtime-proposal-hash = { version = "0.21.3", path = "../libs/substrate-runtime-proposal-hash", optional = true }
@@ -49,7 +49,7 @@ wasm-loader = { version = "0.21.3", path = "../libs/wasm-loader" }
4949
wasm-testbed = { version = "0.21.3", path = "../libs/wasm-testbed" }
5050
serde_json = "1.0"
5151
text-style = { version = "0.3", features = ["crossterm"] }
52-
sp-runtime = "39.0.0"
52+
sp-runtime = "40.0.0"
5353
url = "2.3"
5454

5555
[dev-dependencies]

lib/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ keywords = [
2020

2121
[dependencies]
2222
uuid = { version = "1.3", features = ["v4"] }
23-
frame-metadata = { version = "16", package = "frame-metadata", features = [
23+
frame-metadata = { version = "18", package = "frame-metadata", features = [
2424
"std",
2525
] }
2626
log = "0.4"
2727
hex = "0.4"
2828
rand = "0.8"
2929
calm_io = "0.1"
30-
thiserror = "1.0"
30+
thiserror = "2.0.11"
3131
num-format = "0.4"
3232
serde_json = "1.0"
3333
serde = { version = "1.0", features = ["derive"] }
3434
scale-info = { version = "2.11.3", default-features = false, features = [
3535
"derive",
3636
] }
37-
sp-version = "37.0.0"
37+
sp-version = "38.0.0"
3838
ipfs-hasher = { version = "0.21.3", path = "../libs/ipfs-hasher" }
3939
wasm-loader = { version = "0.21.3", path = "../libs/wasm-loader" }
4040
wasm-testbed = { version = "0.21.3", path = "../libs/wasm-testbed" }

libs/ipfs-hasher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "ipfs-hasher"
1010

1111
[dependencies]
1212
ipfs-unixfs = "0.2"
13-
thiserror = "1.0"
13+
thiserror = "2.0.11"
1414

1515
[dev-dependencies]
1616
wasm-loader = { version = "0.21.3", path = "../wasm-loader" }

libs/substrate-differ/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ log = "0.4"
99
num-format = "0.4"
1010
serde_json = "1.0"
1111
document-features = { version = "0.2" }
12-
thiserror = "1.0"
12+
thiserror = "2.0.11"
1313
serde = { version = "1.0", features = ["derive", "rc"] }
1414
comparable = { version = ">=0.5.3", features = ["derive", "serde"] }
1515
wasm-testbed = { version = "0.21.3", path = "../wasm-testbed" }
@@ -18,7 +18,7 @@ scale-info = { version = "2.11.3", default-features = false, features = [
1818
"std",
1919
"serde",
2020
] }
21-
frame-metadata = { version = "16", package = "frame-metadata", features = [
21+
frame-metadata = { version = "18", package = "frame-metadata", features = [
2222
"std", "legacy"
2323
] }
2424

libs/substrate-runtime-proposal-hash/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ repository = "https://github.com/chevdor/subwasm"
2020
[dependencies]
2121
hex = "0.4"
2222
blake2 = "0.10"
23-
thiserror = "1.0"
23+
thiserror = "2.0.11"
2424
codec = { version = "3.1", package = "parity-scale-codec" }
25-
sp-core = "34.0.0"
26-
sp-io = "38.0.0"
27-
sp-runtime = "39.0.0"
25+
sp-core = "35.0.0"
26+
sp-io = "39.0.0"
27+
sp-runtime = "40.0.0"
2828
sp-wasm-interface = "21.0.0"
29-
frame-metadata = { version = "16", package = "frame-metadata", features = [
29+
frame-metadata = { version = "18", package = "frame-metadata", features = [
3030
"std",
3131
] }

libs/wasm-loader/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repository = "https://github.com/chevdor/subwasm"
2020

2121
[dependencies]
2222
log = "0.4"
23-
thiserror = "1.0"
23+
thiserror = "2.0.11"
2424
multibase = "0.9"
2525
multihash = "0.19"
2626
array-bytes = { version = "6.1" }

libs/wasm-testbed/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ repository = "https://github.com/chevdor/subwasm"
2020
[dependencies]
2121
hex = "0.4"
2222
log = "0.4"
23-
thiserror = "1.0"
23+
thiserror = "2.0.11"
2424
wasm-loader = { version = "0.21.3", path = "../wasm-loader" }
2525
substrate-runtime-proposal-hash = { version = "0.21.3", path = "../substrate-runtime-proposal-hash" }
26-
sc-executor = "0.40.0"
27-
sc-executor-common = "0.35.0"
26+
sc-executor = "0.41.0"
27+
sc-executor-common = "0.36.0"
2828
scale = { version = "3", package = "parity-scale-codec", default-features = false }
29-
sp-core = "34.0.0"
30-
sp-io = "38.0.0"
31-
sp-runtime = "39.0.0"
32-
sp-state-machine = "0.43.0"
29+
sp-core = "35.0.0"
30+
sp-io = "39.0.0"
31+
sp-runtime = "40.0.0"
32+
sp-state-machine = "0.44.0"
3333
sp-wasm-interface = "21.0.0"
34-
sp-version = "37.0.0"
34+
sp-version = "38.0.0"
3535
scale-info = { version = "2.11.3", default-features = false, features = [
3636
"derive",
3737
] }
38-
frame-metadata = { version = "16", package = "frame-metadata", features = [
38+
frame-metadata = { version = "18", package = "frame-metadata", features = [
3939
"std",
4040
] }

libs/wasm-testbed/src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ impl WasmTestBed {
229229
#[cfg(test)]
230230
mod tests {
231231
use super::*;
232-
use sp_runtime::RuntimeString;
233232
use std::path::PathBuf;
234233

235234
const WASM_NO_SUBSTRATE: &str = "../../data/wasm/qjs.wasm";
@@ -314,8 +313,8 @@ mod tests {
314313
assert!(runtime.is_supported());
315314

316315
let v = &runtime.core_version;
317-
assert!(v.spec_name == RuntimeString::from("kusama"));
318-
assert!(v.impl_name == RuntimeString::from("parity-kusama"));
316+
assert!(v.spec_name == String::from("kusama"));
317+
assert!(v.impl_name == String::from("parity-kusama"));
319318
assert!(v.authoring_version == 2);
320319
assert!(v.spec_version == 1062);
321320
assert!(v.impl_version == 0);
@@ -342,8 +341,8 @@ mod tests {
342341
assert!(runtime.is_supported());
343342

344343
let v = &runtime.core_version;
345-
assert!(v.spec_name == RuntimeString::from("kusama"));
346-
assert!(v.impl_name == RuntimeString::from("parity-kusama"));
344+
assert!(v.spec_name == String::from("kusama"));
345+
assert!(v.impl_name == String::from("parity-kusama"));
347346
assert!(v.authoring_version == 2);
348347
assert!(v.spec_version == 2030);
349348
assert!(v.impl_version == 0);

0 commit comments

Comments
 (0)