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 22, 2024
1 parent be92a99 commit fd2964a
Show file tree
Hide file tree
Showing 17 changed files with 673 additions and 687 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.1"
version = "0.21.2"
authors = ["chevdor <[email protected]>", "Wilfried Kopp <[email protected]>"]
edition = "2021"

Expand Down
8 changes: 4 additions & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ color-eyre = "0.6"
thiserror = "1.0"
env_logger = "0.11"
log = "0.4"
substrate-runtime-proposal-hash = { version = "0.21.1", path = "../libs/substrate-runtime-proposal-hash", optional = true }
subwasmlib = { version = "0.21.1", path = "../lib" }
wasm-loader = { version = "0.21.1", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.21.1", path = "../libs/wasm-testbed" }
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" }
serde_json = "1.0"
text-style = { version = "0.3", features = ["crossterm"] }
sp-runtime = "36.0.0"
Expand Down
8 changes: 4 additions & 4 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ scale-info = { version = "2.11.3", default-features = false, features = [
"derive",
] }
sp-version = "34.0.0"
ipfs-hasher = { version = "0.21.1", path = "../libs/ipfs-hasher" }
wasm-loader = { version = "0.21.1", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.21.1", path = "../libs/wasm-testbed" }
substrate-differ = { version = "0.21.1", path = "../libs/substrate-differ" }
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" }
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.1", path = "../wasm-loader" }
wasm-loader = { version = "0.21.2", 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.1", path = "../wasm-testbed" }
wasm-testbed = { version = "0.21.2", 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.1", path = "../wasm-loader" }
wasm-loader = { version = "0.21.2", path = "../wasm-loader" }

[features]
## The default feature currently excludes feature that are deprecated
Expand Down
4 changes: 2 additions & 2 deletions libs/wasm-testbed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ repository = "https://github.com/chevdor/subwasm"
hex = "0.4"
log = "0.4"
thiserror = "1.0"
wasm-loader = { version = "0.21.1", path = "../wasm-loader" }
substrate-runtime-proposal-hash = { version = "0.21.1", path = "../substrate-runtime-proposal-hash" }
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"
scale = { version = "3", package = "parity-scale-codec", default-features = false }
Expand Down
171 changes: 75 additions & 96 deletions scripts/demos/casts/demo-diff.cast
Original file line number Diff line number Diff line change
@@ -1,96 +1,75 @@
{"version": 2, "width": 186, "height": 29, "timestamp": 1716308772, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}}
[0.027431, "o", "Wo"]
[0.215965, "o", "uld"]
[0.310819, "o", " th"]
[0.405369, "o", "at "]
[0.499337, "o", "no"]
[0.594236, "o", "t b"]
[0.688777, "o", "e c"]
[0.783287, "o", "ool"]
[0.877178, "o", " to"]
[0.971394, "o", " b"]
[1.066014, "o", "e a"]
[1.159174, "o", "ble"]
[1.254191, "o", " to"]
[1.34882, "o", " di"]
[1.442917, "o", "ff"]
[1.537314, "o", " 2 "]
[1.631431, "o", "run"]
[1.819438, "o", "tim"]
[1.911789, "o", "es "]
[2.006318, "o", "? "]
[2.1009, "o", "Thi"]
[2.195163, "o", "s i"]
[2.290196, "o", "s p"]
[2.381528, "o", "rec"]
[2.472962, "o", "is"]
[2.567861, "o", "ely"]
[2.661573, "o", " wh"]
[2.755749, "o", "at "]
[2.848576, "o", "the"]
[2.942968, "o", " d"]
[3.037482, "o", "iff"]
[3.131923, "o", " co"]
[3.317974, "o", "mma"]
[3.41251, "o", "nd "]
[3.507361, "o", "do"]
[3.601162, "o", "es!"]
[3.693065, "o", "\r\n"]
[3.69827, "o", "su"]
[3.884107, "o", "bwa"]
[3.978669, "o", "sm "]
[4.073685, "o", "-q "]
[4.167875, "o", "ge"]
[4.262362, "o", "t -"]
[4.356978, "o", "-ch"]
[4.450301, "o", "ain"]
[4.545089, "o", " po"]
[4.640036, "o", "lk"]
[4.732458, "o", "ado"]
[4.825999, "o", "t -"]
[4.919283, "o", "-ou"]
[5.013188, "o", "tpu"]
[5.107474, "o", "t "]
[5.202449, "o", "run"]
[5.391226, "o", "tim"]
[5.48614, "o", "e_l"]
[5.580897, "o", "ate"]
[5.675538, "o", "st"]
[5.768792, "o", ".wa"]
[5.860623, "o", "sm\r\n"]
[5.861909, "o", "./demo-diff.sh: line 9: /usr/local/bin/subwasm: Bad CPU type in executable\r\n"]
[5.862106, "o", "\r\n"]
[5.866785, "o", "Le"]
[6.055, "o", "t's"]
[6.149614, "o", " ch"]
[6.243839, "o", "eck"]
[6.336558, "o", " i"]
[6.43118, "o", "den"]
[6.526074, "o", "tit"]
[6.620755, "o", "y f"]
[6.715406, "o", "irs"]
[6.810072, "o", "t!"]
[6.904582, "o", "\r\n"]
[6.910636, "o", "su"]
[7.099091, "o", "bwa"]
[7.192717, "o", "sm "]
[7.287853, "o", "-q "]
[7.381776, "o", "di"]
[7.476124, "o", "ff "]
[7.570922, "o", "run"]
[7.665665, "o", "tim"]
[7.758976, "o", "e_l"]
[7.852201, "o", "at"]
[7.94665, "o", "est"]
[8.037091, "o", ".wa"]
[8.130696, "o", "sm "]
[8.225318, "o", "run"]
[8.319372, "o", "ti"]
[8.413207, "o", "me_"]
[8.601714, "o", "lat"]
[8.695705, "o", "est"]
[8.79035, "o", ".wa"]
[8.883706, "o", "sm"]
[8.976557, "o", "\r\n"]
[8.977745, "o", "./demo-diff.sh: line 15: /usr/local/bin/subwasm: Bad CPU type in executable\r\n"]
[11.985369, "o", "\r\n\r\n"]
{"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"]
Loading

0 comments on commit fd2964a

Please sign in to comment.