mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 03:18:01 +00:00
runtime: add Babe::next_epoch runtime api method (#2200)
* runtime: add Babe::next_epoch runtime api method * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -748,6 +748,10 @@ sp_api::impl_runtime_apis! {
|
||||
Babe::current_epoch()
|
||||
}
|
||||
|
||||
fn next_epoch() -> babe_primitives::Epoch {
|
||||
Babe::next_epoch()
|
||||
}
|
||||
|
||||
fn generate_key_ownership_proof(
|
||||
_slot_number: babe_primitives::SlotNumber,
|
||||
_authority_id: babe_primitives::AuthorityId,
|
||||
|
||||
Reference in New Issue
Block a user