Unverified Commit bf8e07e8 authored by André Silva's avatar André Silva Committed by GitHub
Browse files

runtime: add Babe::next_epoch runtime api method (#2200)

* runtime: add Babe::next_epoch runtime api method

* "Update Substrate"

Co-authored-by: parity-processbot <>
parent 6b7f1f15
Pipeline #118883 passed with stages
in 30 minutes and 16 seconds
This diff is collapsed.
......@@ -1242,6 +1242,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,
......
......@@ -1238,6 +1238,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,
......
......@@ -815,6 +815,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,
......
......@@ -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,
......
......@@ -961,6 +961,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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment