Inspection extension to node CLI (#4697)

* Initial inspect.

* WiP

* Add parsing tests.

* Finalize CLI.

* Update to latest substrate.

* Remove unused imports.

* Support ImportParams as well, to get the right pruning setting.

* Mention in docs that hash is no 0x.

* Move bytes above extrinsics.

* Switch to fill helper from sc_cli.

* Remove overwrite.

* Fix error.

* Fix error message.

* Remove extra allow.

* init_config
This commit is contained in:
Tomasz Drwięga
2020-02-18 17:56:52 +01:00
committed by GitHub
parent 133a4f967f
commit a14d28150d
11 changed files with 518 additions and 12 deletions
+18 -1
View File
@@ -3377,6 +3377,7 @@ dependencies = [
"log 0.4.8",
"nix",
"node-executor",
"node-inspect",
"node-primitives",
"node-rpc",
"node-runtime",
@@ -3463,6 +3464,22 @@ dependencies = [
"wabt",
]
[[package]]
name = "node-inspect"
version = "0.8.0"
dependencies = [
"derive_more",
"log 0.4.8",
"parity-scale-codec",
"sc-cli",
"sc-client-api",
"sc-service",
"sp-blockchain",
"sp-core",
"sp-runtime",
"structopt",
]
[[package]]
name = "node-primitives"
version = "2.0.0"
@@ -7047,7 +7064,7 @@ dependencies = [
"hash256-std-hasher",
"hex",
"hex-literal",
"impl-serde 0.2.3",
"impl-serde 0.3.0",
"lazy_static",
"libsecp256k1",
"log 0.4.8",