Move proof generation to the type system level (#8185)

* Start

* Finish!!!!

* Update client/basic-authorship/src/basic_authorship.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Review comments

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Bastian KöcherandAndré Silva authored and GitHub committed 2021-02-24 20:43:50 +00:00
1 parent 3309c4366b
commit 8a0e8ea9a6
17 files changed
+230 -121

No files matched your search

@@ -52,7 +52,7 @@ use sp_state_machine::{
use sc_executor::RuntimeVersion;
use sp_consensus::{
Error as ConsensusError, BlockStatus, BlockImportParams, BlockCheckParams,
ImportResult, BlockOrigin, ForkChoiceStrategy, RecordProof,
ImportResult, BlockOrigin, ForkChoiceStrategy,
};
use sp_blockchain::{
self as blockchain,
@@ -66,7 +66,7 @@ use sp_api::{
CallApiAt, ConstructRuntimeApi, Core as CoreApi, ApiExt, ApiRef, ProvideRuntimeApi,
CallApiAtParams,
};
use sc_block_builder::{BlockBuilderApi, BlockBuilderProvider};
use sc_block_builder::{BlockBuilderApi, BlockBuilderProvider, RecordProof};
use sc_client_api::{
backend::{
self, BlockImportOperation, PrunableStateChangesTrieStorage,