Skip to content
Snippets Groups Projects
Commit 443caded authored by Robert Hambrock's avatar Robert Hambrock Committed by GitHub
Browse files

Companion for substrate#13509: bump API versions of {Beefy,Mmr}Api (#6809)

* version {Beefy,Mmr}Api

* update lockfile for {"substrate"}
parent 177bedc1
No related merge requests found
This diff is collapsed.
......@@ -1772,6 +1772,7 @@ sp_api::impl_runtime_apis! {
}
}
#[api_version(2)]
impl beefy_primitives::BeefyApi<Block> for Runtime {
fn beefy_genesis() -> Option<BlockNumber> {
Beefy::genesis_block()
......@@ -1809,6 +1810,7 @@ sp_api::impl_runtime_apis! {
}
}
#[api_version(2)]
impl mmr::MmrApi<Block, Hash, BlockNumber> for Runtime {
fn mmr_root() -> Result<Hash, mmr::Error> {
Ok(Mmr::mmr_root())
......
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