mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
manual seal is now consensus agnostic (#7010)
* manual seal is now consensus agnostic * pr grumbles
This commit is contained in:
@@ -51,7 +51,7 @@ fn load_decode<B, T>(backend: &B, key: &[u8]) -> ClientResult<Option<T>>
|
||||
}
|
||||
|
||||
/// Load or initialize persistent epoch change data from backend.
|
||||
pub(crate) fn load_epoch_changes<Block: BlockT, B: AuxStore>(
|
||||
pub fn load_epoch_changes<Block: BlockT, B: AuxStore>(
|
||||
backend: &B,
|
||||
config: &BabeGenesisConfiguration,
|
||||
) -> ClientResult<SharedEpochChanges<Block, Epoch>> {
|
||||
|
||||
@@ -126,9 +126,10 @@ use schnorrkel::SignatureError;
|
||||
use codec::{Encode, Decode};
|
||||
use sp_api::ApiExt;
|
||||
|
||||
mod aux_schema;
|
||||
mod verification;
|
||||
mod migration;
|
||||
|
||||
pub mod aux_schema;
|
||||
pub mod authorship;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
@@ -1051,7 +1052,7 @@ where
|
||||
}
|
||||
|
||||
/// Register the babe inherent data provider, if not registered already.
|
||||
fn register_babe_inherent_data_provider(
|
||||
pub fn register_babe_inherent_data_provider(
|
||||
inherent_data_providers: &InherentDataProviders,
|
||||
slot_duration: u64,
|
||||
) -> Result<(), sp_consensus::Error> {
|
||||
|
||||
Reference in New Issue
Block a user