Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed the unnecessary flags as per the latest version #82

Merged
merged 3 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ Please note that you will likely need to connect to an **archive** node to retri
**Here we get the latest version of the runtime, the 3 commands do the same since they all use the default values:**

subwasm get
subwasm get --url http://localhost:9933
subwasm get --url http://localhost:9933 --output runtime_000.wasm
subwasm get http://localhost:9933
subwasm get http://localhost:9933 --output runtime_000.wasm

**Here we get an older runtime, back when Polkadot was at block 20 !**

Expand All @@ -474,10 +474,10 @@ By default, your runtime will be saved as `runtime_000.wasm`. Running this comma
**Get quick check of a runtime**

# Show the runtime version and exit with status 0
subwasm info --input kusama-2030.wasm
subwasm info kusama-2030.wasm

# Provide a few explanations and exit with a status that is not 0
subwasm info --input tictactoe.wasm
subwasm info tictactoe.wasm

### Metadata JSON and jq tricks

Expand Down
8 changes: 4 additions & 4 deletions README_src.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ NOTE: Please note that you will likely need to connect to an **archive** node to
.Here we get the latest version of the runtime, the 3 commands do the same since they all use the default values:

subwasm get
subwasm get --url http://localhost:9933
subwasm get --url http://localhost:9933 --output runtime_000.wasm
subwasm get http://localhost:9933
subwasm get http://localhost:9933 --output runtime_000.wasm

.Here we get an older runtime, back when Polkadot was at block 20 !

Expand All @@ -100,10 +100,10 @@ NOTE: By default, your runtime will be saved as `runtime_000.wasm`. Running this
[subs="attributes+"]
----
# Show the runtime version and exit with status 0
{cmd} info --input kusama-2030.wasm
{cmd} info kusama-2030.wasm

# Provide a few explanations and exit with a status that is not 0
{cmd} info --input tictactoe.wasm
{cmd} info tictactoe.wasm
----

=== Metadata JSON and jq tricks
Expand Down
Loading