From 7afcb21772773d021bf8d2ec88bc401d35e33a11 Mon Sep 17 00:00:00 2001 From: Abhijit Roy Date: Tue, 25 Jul 2023 12:24:34 +0530 Subject: [PATCH 1/2] Removed the unnecessary flags --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 33c2088..ecf195e 100644 --- a/README.md +++ b/README.md @@ -441,8 +441,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 !** @@ -453,10 +453,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 From 4de3aa9bb8ed0e756dd5f084ae2a0df92465a535 Mon Sep 17 00:00:00 2001 From: Chevdor Date: Wed, 27 Mar 2024 09:51:29 +0100 Subject: [PATCH 2/2] Fix doc --- README_src.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README_src.adoc b/README_src.adoc index 9b4d554..ee835db 100644 --- a/README_src.adoc +++ b/README_src.adoc @@ -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 ! @@ -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