Add error types to BABE and PoW (#3827)

* Add an error type to Babe

* Add an error type to PoW

* Simplify error enum variant names

* Update core/consensus/babe/src/lib.rs

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

* Add missing newline

* Split up DataProvider into CreateInherents and CheckInherents
This commit is contained in:
Ashley
2019-10-17 11:34:03 +01:00
committed by Bastian Köcher
parent 81c400e958
commit 411b8f96d4
7 changed files with 191 additions and 106 deletions
+1
View File
@@ -36,6 +36,7 @@ schnorrkel = { version = "0.8.5", features = ["preaudit_deprecated"] }
rand = "0.7.2"
merlin = "1.2.1"
pdqselect = "0.1.0"
derive_more = "0.15.0"
[dev-dependencies]
keyring = { package = "substrate-keyring", path = "../../keyring" }