Make ExecuteBlock::execute_block return the final block header (#8244)

This pr changes the `ExecuteBlock` trait to return the final header that
results from executing the given block.
This commit is contained in:
Bastian Köcher
2021-03-03 09:44:34 +01:00
committed by GitHub
parent dc190a69f2
commit 4de4662480
9 changed files with 48 additions and 37 deletions
-2
View File
@@ -18,7 +18,6 @@ sp-consensus-aura = { version = "0.9.0", default-features = false, path = "../..
sp-consensus-babe = { version = "0.9.0", default-features = false, path = "../../primitives/consensus/babe" }
sp-block-builder = { version = "3.0.0", default-features = false, path = "../../primitives/block-builder" }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
frame-executive = { version = "3.0.0", default-features = false, path = "../../frame/executive" }
sp-inherents = { version = "3.0.0", default-features = false, path = "../../primitives/inherents" }
sp-keyring = { version = "3.0.0", optional = true, path = "../../primitives/keyring" }
memory-db = { version = "0.26.0", default-features = false }
@@ -68,7 +67,6 @@ std = [
"sp-consensus-babe/std",
"sp-block-builder/std",
"codec/std",
"frame-executive/std",
"sp-inherents/std",
"sp-keyring",
"log/std",