Set uncles inherent (#3317)

* Include uncles

* Filter missing uncles

* Moved inherent registration to a new crate

* Ignore invalid inherent encoding
This commit is contained in:
Arkadiy Paronyan
2019-08-08 00:56:29 +02:00
committed by GitHub
parent ea58b7c92a
commit 58bd0d4c05
12 changed files with 319 additions and 82 deletions
+15
View File
@@ -3738,6 +3738,7 @@ dependencies = [
"sr-std 2.0.0",
"srml-support 2.0.0",
"srml-system 2.0.0",
"substrate-inherents 2.0.0",
"substrate-primitives 2.0.0",
]
@@ -4457,6 +4458,7 @@ dependencies = [
"substrate-consensus-babe-primitives 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-consensus-slots 2.0.0",
"substrate-consensus-uncles 2.0.0",
"substrate-executor 2.0.0",
"substrate-inherents 2.0.0",
"substrate-keyring 2.0.0",
@@ -4553,6 +4555,19 @@ dependencies = [
"substrate-test-runtime-client 2.0.0",
]
[[package]]
name = "substrate-consensus-uncles"
version = "2.0.0"
dependencies = [
"log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
"srml-authorship 0.1.0",
"substrate-client 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-inherents 2.0.0",
"substrate-primitives 2.0.0",
]
[[package]]
name = "substrate-executor"
version = "2.0.0"