Impl integrity test for runtime (#6356)

* impl integrity test for runtime

* Update frame/support/src/traits.rs

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

* Update frame/support/procedural/src/construct_runtime/mod.rs

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

* use thread local

* update doc

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
Guillaume Thiolliere
2020-06-16 13:10:10 +02:00
committed by GitHub
parent 34f496eb3d
commit 622dff9ca7
6 changed files with 175 additions and 5 deletions
+2
View File
@@ -20,6 +20,7 @@ frame-support = { version = "2.0.0-rc3", default-features = false, path = "../"
sp-inherents = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/inherents" }
sp-runtime = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/runtime" }
sp-core = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/core" }
sp-std = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/std" }
trybuild = "1.0.17"
pretty_assertions = "0.6.1"
rustversion = "1.0.0"
@@ -33,6 +34,7 @@ std = [
"frame-support/std",
"sp-inherents/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"sp-state-machine",
]