mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
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:
@@ -22,7 +22,7 @@
|
||||
//!
|
||||
//! ```
|
||||
//! # use sc_basic_authorship::ProposerFactory;
|
||||
//! # use sp_consensus::{Environment, Proposer, RecordProof};
|
||||
//! # use sp_consensus::{Environment, Proposer};
|
||||
//! # use sp_runtime::generic::BlockId;
|
||||
//! # use std::{sync::Arc, time::Duration};
|
||||
//! # use substrate_test_runtime_client::{
|
||||
@@ -61,7 +61,6 @@
|
||||
//! Default::default(),
|
||||
//! Default::default(),
|
||||
//! Duration::from_secs(2),
|
||||
//! RecordProof::Yes,
|
||||
//! );
|
||||
//!
|
||||
//! // We wait until the proposition is performed.
|
||||
|
||||
Reference in New Issue
Block a user