Companion for substrate #13215 - Add new BEEFY api to runtimes (#6623)

* runtimes: add new BEEFY api

* update lockfile for {"substrate"}
This commit is contained in:
Adrian Catangiu
2023-02-03 12:48:30 +02:00
committed by GitHub
parent 31d9365653
commit 97afb659a6
6 changed files with 205 additions and 181 deletions
+5
View File
@@ -1737,6 +1737,11 @@ sp_api::impl_runtime_apis! {
}
impl beefy_primitives::BeefyApi<Block> for Runtime {
fn beefy_genesis() -> Option<BlockNumber> {
// dummy implementation due to lack of BEEFY pallet.
None
}
fn validator_set() -> Option<beefy_primitives::ValidatorSet<BeefyId>> {
// dummy implementation due to lack of BEEFY pallet.
None