Skip to content

Commit

Permalink
Dependencies upgrades and small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Jan 16, 2025
1 parent 6cebcde commit 92b0c65
Show file tree
Hide file tree
Showing 9 changed files with 869 additions and 501 deletions.
1,315 changes: 842 additions & 473 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ clap = { version = "4.0", features = [
"suggestions",
] }
color-eyre = "0.6"
thiserror = "1.0"
thiserror = "2.0.11"
env_logger = "0.11"
log = "0.4"
substrate-runtime-proposal-hash = { version = "0.21.3", path = "../libs/substrate-runtime-proposal-hash", optional = true }
Expand All @@ -49,7 +49,7 @@ wasm-loader = { version = "0.21.3", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.21.3", path = "../libs/wasm-testbed" }
serde_json = "1.0"
text-style = { version = "0.3", features = ["crossterm"] }
sp-runtime = "39.0.0"
sp-runtime = "40.0.0"
url = "2.3"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ keywords = [

[dependencies]
uuid = { version = "1.3", features = ["v4"] }
frame-metadata = { version = "16", package = "frame-metadata", features = [
frame-metadata = { version = "18", package = "frame-metadata", features = [
"std",
] }
log = "0.4"
hex = "0.4"
rand = "0.8"
calm_io = "0.1"
thiserror = "1.0"
thiserror = "2.0.11"
num-format = "0.4"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
scale-info = { version = "2.11.3", default-features = false, features = [
"derive",
] }
sp-version = "37.0.0"
sp-version = "38.0.0"
ipfs-hasher = { version = "0.21.3", path = "../libs/ipfs-hasher" }
wasm-loader = { version = "0.21.3", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.21.3", path = "../libs/wasm-testbed" }
Expand Down
2 changes: 1 addition & 1 deletion libs/ipfs-hasher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "ipfs-hasher"

[dependencies]
ipfs-unixfs = "0.2"
thiserror = "1.0"
thiserror = "2.0.11"

[dev-dependencies]
wasm-loader = { version = "0.21.3", path = "../wasm-loader" }
4 changes: 2 additions & 2 deletions libs/substrate-differ/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ log = "0.4"
num-format = "0.4"
serde_json = "1.0"
document-features = { version = "0.2" }
thiserror = "1.0"
thiserror = "2.0.11"
serde = { version = "1.0", features = ["derive", "rc"] }
comparable = { version = ">=0.5.3", features = ["derive", "serde"] }
wasm-testbed = { version = "0.21.3", path = "../wasm-testbed" }
Expand All @@ -18,7 +18,7 @@ scale-info = { version = "2.11.3", default-features = false, features = [
"std",
"serde",
] }
frame-metadata = { version = "16", package = "frame-metadata", features = [
frame-metadata = { version = "18", package = "frame-metadata", features = [
"std", "legacy"
] }

Expand Down
10 changes: 5 additions & 5 deletions libs/substrate-runtime-proposal-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ repository = "https://github.com/chevdor/subwasm"
[dependencies]
hex = "0.4"
blake2 = "0.10"
thiserror = "1.0"
thiserror = "2.0.11"
codec = { version = "3.1", package = "parity-scale-codec" }
sp-core = "34.0.0"
sp-io = "38.0.0"
sp-runtime = "39.0.0"
sp-core = "35.0.0"
sp-io = "39.0.0"
sp-runtime = "40.0.0"
sp-wasm-interface = "21.0.0"
frame-metadata = { version = "16", package = "frame-metadata", features = [
frame-metadata = { version = "18", package = "frame-metadata", features = [
"std",
] }
2 changes: 1 addition & 1 deletion libs/wasm-loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repository = "https://github.com/chevdor/subwasm"

[dependencies]
log = "0.4"
thiserror = "1.0"
thiserror = "2.0.11"
multibase = "0.9"
multihash = "0.19"
array-bytes = { version = "6.1" }
Expand Down
18 changes: 9 additions & 9 deletions libs/wasm-testbed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ repository = "https://github.com/chevdor/subwasm"
[dependencies]
hex = "0.4"
log = "0.4"
thiserror = "1.0"
thiserror = "2.0.11"
wasm-loader = { version = "0.21.3", path = "../wasm-loader" }
substrate-runtime-proposal-hash = { version = "0.21.3", path = "../substrate-runtime-proposal-hash" }
sc-executor = "0.40.0"
sc-executor-common = "0.35.0"
sc-executor = "0.41.0"
sc-executor-common = "0.36.0"
scale = { version = "3", package = "parity-scale-codec", default-features = false }
sp-core = "34.0.0"
sp-io = "38.0.0"
sp-runtime = "39.0.0"
sp-state-machine = "0.43.0"
sp-core = "35.0.0"
sp-io = "39.0.0"
sp-runtime = "40.0.0"
sp-state-machine = "0.44.0"
sp-wasm-interface = "21.0.0"
sp-version = "37.0.0"
sp-version = "38.0.0"
scale-info = { version = "2.11.3", default-features = false, features = [
"derive",
] }
frame-metadata = { version = "16", package = "frame-metadata", features = [
frame-metadata = { version = "18", package = "frame-metadata", features = [
"std",
] }
9 changes: 4 additions & 5 deletions libs/wasm-testbed/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ impl WasmTestBed {
#[cfg(test)]
mod tests {
use super::*;
use sp_runtime::RuntimeString;
use std::path::PathBuf;

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

let v = &runtime.core_version;
assert!(v.spec_name == RuntimeString::from("kusama"));
assert!(v.impl_name == RuntimeString::from("parity-kusama"));
assert!(v.spec_name == String::from("kusama"));
assert!(v.impl_name == String::from("parity-kusama"));
assert!(v.authoring_version == 2);
assert!(v.spec_version == 1062);
assert!(v.impl_version == 0);
Expand All @@ -342,8 +341,8 @@ mod tests {
assert!(runtime.is_supported());

let v = &runtime.core_version;
assert!(v.spec_name == RuntimeString::from("kusama"));
assert!(v.impl_name == RuntimeString::from("parity-kusama"));
assert!(v.spec_name == String::from("kusama"));
assert!(v.impl_name == String::from("parity-kusama"));
assert!(v.authoring_version == 2);
assert!(v.spec_version == 2030);
assert!(v.impl_version == 0);
Expand Down

0 comments on commit 92b0c65

Please sign in to comment.