Skip to content

Commit

Permalink
Prep for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed May 31, 2024
1 parent a9f8975 commit aa8acb6
Show file tree
Hide file tree
Showing 17 changed files with 951 additions and 731 deletions.
317 changes: 261 additions & 56 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace.package]
version = "0.21.2"
version = "0.21.3"
authors = ["chevdor <[email protected]>", "Wilfried Kopp <[email protected]>"]
edition = "2021"

Expand Down
10 changes: 5 additions & 5 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ color-eyre = "0.6"
thiserror = "1.0"
env_logger = "0.11"
log = "0.4"
substrate-runtime-proposal-hash = { version = "0.21.2", path = "../libs/substrate-runtime-proposal-hash", optional = true }
subwasmlib = { version = "0.21.2", path = "../lib" }
wasm-loader = { version = "0.21.2", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.21.2", path = "../libs/wasm-testbed" }
substrate-runtime-proposal-hash = { version = "0.21.3", path = "../libs/substrate-runtime-proposal-hash", optional = true }
subwasmlib = { version = "0.21.3", path = "../lib" }
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 = "36.0.0"
sp-runtime = "37.0.0"
url = "2.3"

[dev-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ serde = { version = "1.0", features = ["derive"] }
scale-info = { version = "2.11.3", default-features = false, features = [
"derive",
] }
sp-version = "34.0.0"
ipfs-hasher = { version = "0.21.2", path = "../libs/ipfs-hasher" }
wasm-loader = { version = "0.21.2", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.21.2", path = "../libs/wasm-testbed" }
substrate-differ = { version = "0.21.2", path = "../libs/substrate-differ" }
sp-version = "35.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" }
substrate-differ = { version = "0.21.3", path = "../libs/substrate-differ" }
url = "2.3.1"
reqwest = { version = "0.12", features = [
"blocking",
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 @@ -13,4 +13,4 @@ ipfs-unixfs = "0.2"
thiserror = "1.0"

[dev-dependencies]
wasm-loader = { version = "0.21.2", path = "../wasm-loader" }
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 @@ -12,7 +12,7 @@ document-features = { version = "0.2" }
thiserror = "1.0"
serde = { version = "1.0", features = ["derive", "rc"] }
comparable = { version = ">=0.5.3", features = ["derive", "serde"] }
wasm-testbed = { version = "0.21.2", path = "../wasm-testbed" }
wasm-testbed = { version = "0.21.3", path = "../wasm-testbed" }
scale-info = { version = "2.11.3", default-features = false, features = [
"derive",
"std",
Expand All @@ -23,7 +23,7 @@ frame-metadata = { version = "16", package = "frame-metadata", features = [
] }

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

[features]
## The default feature currently excludes feature that are deprecated
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 @@ -21,17 +21,17 @@ repository = "https://github.com/chevdor/subwasm"
hex = "0.4"
log = "0.4"
thiserror = "1.0"
wasm-loader = { version = "0.21.2", path = "../wasm-loader" }
substrate-runtime-proposal-hash = { version = "0.21.2", path = "../substrate-runtime-proposal-hash" }
sc-executor = "0.37.0"
sc-executor-common = "0.33.0"
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.38.0"
sc-executor-common = "0.34.0"
scale = { version = "3", package = "parity-scale-codec", default-features = false }
sp-core = "32.0.0"
sp-io = "35.0.0"
sp-runtime = "36.0.0"
sp-state-machine = "0.40.0"
sp-core = "33.0.0"
sp-io = "36.0.0"
sp-runtime = "37.0.0"
sp-state-machine = "0.41.0"
sp-wasm-interface = "21.0.0"
sp-version = "34.0.0"
sp-version = "35.0.0"
scale-info = { version = "2.11.3", default-features = false, features = [
"derive",
] }
Expand Down
150 changes: 75 additions & 75 deletions scripts/demos/casts/demo-diff.cast
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
{"version": 2, "width": 192, "height": 16, "timestamp": 1716383300, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}}
[0.039546, "o", "Wou"]
[0.226082, "o", "ld t"]
[0.31948, "o", "hat"]
[0.413024, "o", " not"]
[0.506345, "o", " be"]
[0.601254, "o", " coo"]
[0.695742, "o", "l to"]
[0.790334, "o", " be"]
[0.884495, "o", " abl"]
[0.979554, "o", "e t"]
[1.071815, "o", "o di"]
[1.166936, "o", "ff 2"]
[1.261889, "o", " ru"]
[1.356138, "o", "ntim"]
[1.451286, "o", "es "]
[1.545306, "o", "? Th"]
[1.639816, "o", "is i"]
[1.823559, "o", "s p"]
[1.917843, "o", "reci"]
[2.009465, "o", "sel"]
[2.101788, "o", "y wh"]
[2.195415, "o", "at t"]
[2.290226, "o", "he "]
[2.383557, "o", "diff"]
[2.474432, "o", " co"]
[2.567599, "o", "mman"]
[2.661584, "o", "d do"]
[2.756106, "o", "es!"]
[2.848879, "o", "\r\n"]
[2.854147, "o", "sub"]
[3.039181, "o", "wasm"]
[3.130172, "o", " -q"]
[3.222817, "o", " get"]
[3.316549, "o", " --"]
[3.41045, "o", "chai"]
[3.50558, "o", "n po"]
[3.595922, "o", "lka"]
[3.68919, "o", "dot "]
[3.783345, "o", "--o"]
[3.878289, "o", "utpu"]
[3.971616, "o", "t ru"]
[4.066539, "o", "nti"]
[4.159483, "o", "me_l"]
[4.345216, "o", "ate"]
[4.43881, "o", "st.w"]
[4.531997, "o", "asm\r\n"]
[4.534889, "o", "./demo-diff.sh: line 9: /usr/local/bin/subwasm: Bad CPU type in executable\r\n"]
[4.535154, "o", "\r\n"]
[4.540397, "o", "Let"]
[4.724464, "o", "'s c"]
[4.819364, "o", "hec"]
[4.912968, "o", "k id"]
[5.004908, "o", "ent"]
[5.096574, "o", "ity "]
[5.191568, "o", "firs"]
[5.284652, "o", "t!\r\n"]
[5.290896, "o", "sub"]
[5.478319, "o", "wasm"]
[5.573311, "o", " -q"]
[5.668487, "o", " dif"]
[5.763458, "o", "f r"]
[5.857495, "o", "unti"]
[5.948619, "o", "me_l"]
[6.038793, "o", "ate"]
[6.130577, "o", "st.w"]
[6.221915, "o", "asm"]
[6.316476, "o", " run"]
[6.409595, "o", "time"]
[6.503711, "o", "_la"]
[6.597488, "o", "test"]
[6.691518, "o", ".wa"]
[6.876846, "o", "sm\r\n"]
[6.877986, "o", "./demo-diff.sh: line 15: /usr/local/bin/subwasm: Bad CPU type in executable\r\n"]
[9.885641, "o", "\r\n\r\n"]
{"version": 2, "width": 181, "height": 19, "timestamp": 1717144720, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}}
[0.030662, "o", "Wou"]
[0.218704, "o", "ld t"]
[0.313065, "o", "hat"]
[0.405602, "o", " not"]
[0.49597, "o", " be"]
[0.58867, "o", " coo"]
[0.68149, "o", "l to"]
[0.77525, "o", " be"]
[0.869186, "o", " abl"]
[0.962995, "o", "e t"]
[1.055371, "o", "o di"]
[1.149328, "o", "ff 2"]
[1.2436, "o", " ru"]
[1.337658, "o", "ntim"]
[1.432614, "o", "es "]
[1.617103, "o", "? Th"]
[1.71057, "o", "is i"]
[1.804951, "o", "s p"]
[1.8993, "o", "reci"]
[1.993044, "o", "sel"]
[2.084954, "o", "y wh"]
[2.175148, "o", "at t"]
[2.269356, "o", "he "]
[2.36336, "o", "diff"]
[2.457287, "o", " co"]
[2.547773, "o", "mman"]
[2.641044, "o", "d do"]
[2.731099, "o", "es!"]
[2.91816, "o", "\r\n"]
[2.923145, "o", "sub"]
[3.110154, "o", "wasm"]
[3.204859, "o", " -q"]
[3.29899, "o", " get"]
[3.391021, "o", " --"]
[3.481387, "o", "chai"]
[3.574977, "o", "n po"]
[3.667997, "o", "lka"]
[3.761837, "o", "dot "]
[3.855614, "o", "--o"]
[3.949309, "o", "utpu"]
[4.040028, "o", "t ru"]
[4.13008, "o", "nti"]
[4.224815, "o", "me_l"]
[4.413502, "o", "ate"]
[4.50799, "o", "st.w"]
[4.601642, "o", "asm\r\n"]
[4.603032, "o", "./demo-diff.sh: line 9: /usr/local/bin/subwasm: Bad CPU type in executable\r\n"]
[4.603215, "o", "\r\n"]
[4.608049, "o", "Let"]
[4.794784, "o", "'s c"]
[4.888989, "o", "hec"]
[4.979975, "o", "k id"]
[5.073879, "o", "ent"]
[5.165113, "o", "ity "]
[5.260039, "o", "firs"]
[5.354767, "o", "t!\r\n"]
[5.360007, "o", "sub"]
[5.546587, "o", "wasm"]
[5.641004, "o", " -q"]
[5.735971, "o", " dif"]
[5.826052, "o", "f r"]
[5.920024, "o", "unti"]
[6.014735, "o", "me_l"]
[6.108509, "o", "ate"]
[6.202273, "o", "st.w"]
[6.293711, "o", "asm"]
[6.385496, "o", " run"]
[6.477357, "o", "time"]
[6.572043, "o", "_la"]
[6.665901, "o", "test"]
[6.849564, "o", ".wa"]
[6.943715, "o", "sm\r\n"]
[6.944993, "o", "./demo-diff.sh: line 15: /usr/local/bin/subwasm: Bad CPU type in executable\r\n"]
[9.952175, "o", "\r\n\r\n"]
Loading

0 comments on commit aa8acb6

Please sign in to comment.