Companion for #7789 (BabeApi::current_epoch) (#2170)

* point to branch

* update babe API implementations

* build

* Revert "point to branch"

This reverts commit 669fde1e58cac1eef1847d5e6b39520fa4953f33.

* update Cargo.lock

* bump
This commit is contained in:
Robert Habermeier
2020-12-26 23:12:37 -05:00
committed by GitHub
parent bb856698a4
commit 5a0327cc30
6 changed files with 158 additions and 138 deletions
+4
View File
@@ -955,6 +955,10 @@ sp_api::impl_runtime_apis! {
Babe::current_epoch_start()
}
fn current_epoch() -> babe_primitives::Epoch {
Babe::current_epoch()
}
fn generate_key_ownership_proof(
_slot_number: babe_primitives::SlotNumber,
authority_id: babe_primitives::AuthorityId,