mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 22:51:13 +00:00
Companion - Read babe config parameters from runtime (#5842)
* Read babe config parameters from runtime
* Trigger pipeline
* Trigger pipeline (after PR title change)
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -203,7 +203,7 @@ sp_api::mock_impl_runtime_apis! {
|
||||
}
|
||||
|
||||
impl BabeApi<Block> for MockRuntimeApi {
|
||||
fn configuration(&self) -> sp_consensus_babe::BabeGenesisConfiguration {
|
||||
fn configuration(&self) -> sp_consensus_babe::BabeConfiguration {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
||||
@@ -521,7 +521,7 @@ where
|
||||
client.clone(),
|
||||
);
|
||||
|
||||
let babe_config = babe::Config::get(&*client)?;
|
||||
let babe_config = babe::configuration(&*client)?;
|
||||
let (block_import, babe_link) =
|
||||
babe::block_import(babe_config.clone(), beefy_block_import, client.clone())?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user