Skip to content

Commit

Permalink
New version
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Feb 7, 2023
1 parent cfed868 commit bfc5fc8
Show file tree
Hide file tree
Showing 29 changed files with 1,233 additions and 936 deletions.
582 changes: 353 additions & 229 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license = "MIT"
name = "subwasm"
readme = "README.md"
repository = "https://github.com/chevdor/subwasm"
version = "0.18.0"
version = "0.19.0"

[dependencies]
assert_cmd = "2.0"
Expand All @@ -34,10 +34,10 @@ clap = { version = "4.0", features = [
color-eyre = "0.6"
env_logger = "0.9"
log = "0.4"
substrate-runtime-proposal-hash = { version = "0.18.0", path = "../libs/substrate-runtime-proposal-hash", optional = true }
subwasmlib = { version = "0.18.0", path = "../lib" }
wasm-loader = { version = "0.18.0", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.18.0", path = "../libs/wasm-testbed" }
substrate-runtime-proposal-hash = { version = "0.19.0", path = "../libs/substrate-runtime-proposal-hash", optional = true }
subwasmlib = { version = "0.19.0", path = "../lib" }
wasm-loader = { version = "0.19.0", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.19.0", path = "../libs/wasm-testbed" }

[dev-dependencies]
assert_cmd = "2.0"
Expand Down
4 changes: 2 additions & 2 deletions doc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Commands:
Options:
-j, --json Output as json
-q, --quiet Less output
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_compress.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Arguments:

Options:
-j, --json Output as json
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_decompress.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Arguments:

Options:
-j, --json Output as json
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_diff.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Options:
-a, --chain-a <CHAIN_A> Provide the name of a chain and a random url amongst a list of known nodes will be used. If you pass a valid --chain, --url will be ignored --chain local = http://localhost:9933
-j, --json Output as json
-b, --chain-b <CHAIN_B> Provide the name of a chain and a random url amongst a list of known nodes will be used. If you pass a valid --chain, --url will be ignored --chain local = http://localhost:9933
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_get.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Options:
-j, --json Output as json
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
-o, --output <OUTPUT> You may specifiy the output filename where the runtime will be saved. If not provided, we will figure out an appropriate default name based on a counter: runtime_NNN.wasm where NNN is incrementing to make sure you do not override previous runtime. If you specify an existing file as output, it will be overwritten
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_info.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Options:
--chain <CHAIN> Provide the name of a chain and a random url amongst a list of known nodes will be used. If you pass a valid --chain, --url will be ignored --chain local = http://localhost:9933
-j, --json Output as json
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_meta.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Options:
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
-f, --format <FORMAT> You may specifiy the output format. One of "human", "scale", "json", "json+scale", "hex+scale" [default: human]
-o, --output <OUTPUT> You may specifiy the output filename where the metadata will be saved. Alternatively, you may use `auto` and an appropriate name will be generated according to the `format` your chose
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
4 changes: 2 additions & 2 deletions doc/usage_version.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Options:
--chain <CHAIN> Provide the name of a chain and a random url amongst a list of known nodes will be used. If you pass a valid --chain, --url will be ignored --chain local = http://localhost:9933
-j, --json Output as json
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
10 changes: 5 additions & 5 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT"
name = "subwasmlib"
readme = "README.md"
repository = "https://github.com/chevdor/subwasm"
version = "0.18.0"
version = "0.19.0"

[dependencies]
color-eyre = "0.6"
Expand All @@ -25,7 +25,7 @@ frame-metadata = { version = "15", package = "frame-metadata", features = [
"v14",
"std",
] }
ipfs-hasher = { version = "0.18.0", path = "../libs/ipfs-hasher" }
ipfs-hasher = { version = "0.19.0", path = "../libs/ipfs-hasher" }
log = "0.4"
num-format = "0.4"
rand = "0.8"
Expand All @@ -34,8 +34,8 @@ scale-info = { version = "2.1", default-features = false, features = [
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
substrate-differ = { version = "0.18.0", path = "../libs/substrate-differ" }
wasm-loader = { version = "0.18.0", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.18.0", path = "../libs/wasm-testbed" }
substrate-differ = { version = "0.19.0", path = "../libs/substrate-differ" }
wasm-loader = { version = "0.19.0", path = "../libs/wasm-loader" }
wasm-testbed = { version = "0.19.0", path = "../libs/wasm-testbed" }
sp-version = { tag = "monthly-2023-01", git = "https://github.com/paritytech/substrate" }
hex = "0.4"
4 changes: 2 additions & 2 deletions libs/ipfs-hasher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ authors = ["Wilfried Kopp <[email protected]>"]
edition = "2021"
license = "MIT"
name = "ipfs-hasher"
version = "0.18.0"
version = "0.19.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ipfs-unixfs = "0.2"

[dev-dependencies]
wasm-loader = { version = "0.18", path = "../wasm-loader" }
wasm-loader = { version = "0.19.0", path = "../wasm-loader" }
6 changes: 3 additions & 3 deletions libs/substrate-differ/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
edition = "2021"
license = "MIT"
name = "substrate-differ"
version = "0.18.0"
version = "0.19.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -18,7 +18,7 @@ num-format = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
treediff = { version = "4.0", features = ["with-serde-json"] }
wasm-testbed = { version = "0.18.0", path = "../wasm-testbed" }
wasm-testbed = { version = "0.19.0", path = "../wasm-testbed" }

[dev-dependencies]
wasm-loader = { version = "0.18", path = "../wasm-loader" }
wasm-loader = { version = "0.19.0", path = "../wasm-loader" }
2 changes: 1 addition & 1 deletion libs/substrate-runtime-proposal-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT"
name = "substrate-runtime-proposal-hash"
readme = "README.md"
repository = "https://github.com/chevdor/subwasm"
version = "0.18.0"
version = "0.19.0"

[dependencies]
blake2 = "0.10"
Expand Down
2 changes: 1 addition & 1 deletion libs/wasm-loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT"
name = "wasm-loader"
readme = "README.md"
repository = "https://github.com/chevdor/subwasm"
version = "0.18.0"
version = "0.19.0"

[dependencies]
hex = "0.4"
Expand Down
6 changes: 3 additions & 3 deletions libs/wasm-testbed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT"
name = "wasm-testbed"
readme = "README.md"
repository = "https://github.com/chevdor/subwasm"
version = "0.18.0"
version = "0.19.0"

[dependencies]
frame-metadata = { version = "15", package = "frame-metadata", features = [
Expand All @@ -34,6 +34,6 @@ sp-io = { tag = "monthly-2023-01", git = "https://github.com/paritytech/substrat
sp-runtime = { tag = "monthly-2023-01", git = "https://github.com/paritytech/substrate" }
sp-state-machine = { tag = "monthly-2023-01", git = "https://github.com/paritytech/substrate" }
sp-wasm-interface = { tag = "monthly-2023-01", git = "https://github.com/paritytech/substrate" }
substrate-runtime-proposal-hash = { version = "0.18.0", path = "../substrate-runtime-proposal-hash" }
wasm-loader = { version = "0.18.0", path = "../wasm-loader" }
substrate-runtime-proposal-hash = { version = "0.19.0", path = "../substrate-runtime-proposal-hash" }
wasm-loader = { version = "0.19.0", path = "../wasm-loader" }
sp-version = { tag = "monthly-2023-01", git = "https://github.com/paritytech/substrate" }
Loading

0 comments on commit bfc5fc8

Please sign in to comment.