Move inherents to primitives (#4126)

* Split Aura and Timestamp inherents out of paint

* fixup node depedencies

* move babe inherents to primitives

* move authorship inherents into primitives

* Move finalty tracker inherents into primitives

* fix aura primitives import
This commit is contained in:
Benjamin Kampmann
2019-11-20 12:18:36 +01:00
committed by GitHub
parent 5979a8c3e5
commit 303843f483
38 changed files with 654 additions and 404 deletions
@@ -13,6 +13,8 @@ schnorrkel = { version = "0.8.5", features = ["preaudit_deprecated"], optional =
slots = { package = "substrate-consensus-slots", path = "../../../client/consensus/slots", optional = true }
sr-api = { path = "../../sr-api", default-features = false }
sr-primitives = { path = "../../sr-primitives", default-features = false }
sp-inherents = { package = "substrate-inherents", path = "../../inherents", default-features = false }
sp-timestamp = { path = "../../timestamp", default-features = false }
[features]
default = ["std"]
@@ -24,4 +26,6 @@ std = [
"slots",
"sr-api/std",
"sr-primitives/std",
"sp-inherents/std",
"sp-timestamp/std",
]