Migration testing runtime API/Bot (#8038)

* A clean new attempt

* Checkpoint to move remote.

* A lot of dependency wiring to make it feature gated.

* bad macro, bad macro.

* Undo the DB mess.

* Update frame/support/src/traits.rs

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Apply suggestions from code review

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* unbreak the build

* Update frame/try-runtime/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update utils/frame/try-runtime/cli/Cargo.toml

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>

* Update frame/try-runtime/Cargo.toml

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>

* Address most review grumbles.

* Fix build

* Add some comments

* Remove allowing one pallet at a time.

* More grumbles.

* relocate remote-ext

* Fix build

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Kian Paimani
2021-02-19 14:52:09 +00:00
committed by GitHub
parent 82e52b8be8
commit 16a27c28a9
24 changed files with 991 additions and 40 deletions
+52
View File
@@ -1861,6 +1861,17 @@ dependencies = [
"sp-api",
]
[[package]]
name = "frame-try-runtime"
version = "0.9.0"
dependencies = [
"frame-support",
"parity-scale-codec",
"sp-api",
"sp-runtime",
"sp-std",
]
[[package]]
name = "fs-swap"
version = "0.2.5"
@@ -3949,6 +3960,7 @@ dependencies = [
"substrate-build-script-utils",
"substrate-frame-cli",
"tempfile",
"try-runtime-cli",
"wasm-bindgen",
"wasm-bindgen-futures",
]
@@ -4072,6 +4084,7 @@ dependencies = [
"frame-system",
"frame-system-benchmarking",
"frame-system-rpc-runtime-api",
"frame-try-runtime",
"hex-literal",
"node-primitives",
"pallet-assets",
@@ -6372,6 +6385,24 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "remote-externalities"
version = "0.9.0"
dependencies = [
"async-std",
"bincode",
"env_logger 0.8.2",
"futures 0.1.30",
"hex-literal",
"jsonrpc-core-client",
"log",
"sc-rpc",
"sc-rpc-api",
"sp-core",
"sp-io",
"tokio 0.1.22",
]
[[package]]
name = "remove_dir_all"
version = "0.5.3"
@@ -9898,6 +9929,27 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
[[package]]
name = "try-runtime-cli"
version = "0.9.0"
dependencies = [
"frame-try-runtime",
"log",
"parity-scale-codec",
"remote-externalities",
"sc-cli",
"sc-client-api",
"sc-executor",
"sc-service",
"sp-api",
"sp-blockchain",
"sp-core",
"sp-externalities",
"sp-runtime",
"sp-state-machine",
"structopt",
]
[[package]]
name = "trybuild"
version = "1.0.39"