Skip to content

Commit

Permalink
Removed the unnecessary flags as per the latest version (#82)
Browse files Browse the repository at this point in the history
* Removed the unnecessary flags

* Fix doc

---------

Co-authored-by: Chevdor <chevdor@gmail.com>
  • Loading branch information
abhi3700 and chevdor authored Mar 27, 2024
1 parent 8cce565 commit 3652094
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
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

0 comments on commit 3652094

Please sign in to comment.