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
+2 -2
View File
@@ -39,6 +39,7 @@ babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../
grandpa_primitives = { package = "substrate-finality-grandpa-primitives", path = "../../../primitives/finality-grandpa" }
primitives = { package = "substrate-primitives", path = "../../../primitives/core" }
sr-primitives = { path = "../../../primitives/sr-primitives" }
sp-timestamp = { path = "../../../primitives/timestamp", default-features = false }
# core dependencies
runtime-io = { package = "sr-io", path = "../../../primitives/sr-io" }
@@ -62,7 +63,7 @@ authority-discovery = { package = "substrate-authority-discovery", path = "../..
# paint dependencies
indices = { package = "paint-indices", path = "../../../paint/indices" }
timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp", default-features = false }
finality_tracker = { package = "paint-finality-tracker", path = "../../../paint/finality-tracker", default-features = false }
sp-finality-tracker = { path = "../../../primitives/finality-tracker", default-features = false }
contracts = { package = "paint-contracts", path = "../../../paint/contracts" }
system = { package = "paint-system", path = "../../../paint/system" }
balances = { package = "paint-balances", path = "../../../paint/balances" }
@@ -71,7 +72,6 @@ support = { package = "paint-support", path = "../../../paint/support", default-
im_online = { package = "paint-im-online", path = "../../../paint/im-online", default-features = false }
sr-authority-discovery = { package = "paint-authority-discovery", path = "../../../paint/authority-discovery"}
# node-specific dependencies
node-runtime = { path = "../runtime" }
node-rpc = { path = "../rpc" }