bump API versions of {Beefy,Mmr}Api (#13509)

This commit is contained in:
Robert Hambrock
2023-03-03 11:23:15 +01:00
committed by GitHub
parent 9e56e1acdd
commit 40d6b65a0c
2 changed files with 2 additions and 0 deletions
@@ -302,6 +302,7 @@ impl OpaqueKeyOwnershipProof {
sp_api::decl_runtime_apis! {
/// API necessary for BEEFY voters.
#[api_version(2)]
pub trait BeefyApi
{
/// Return the block number where BEEFY consensus is enabled/started
@@ -422,6 +422,7 @@ impl Error {
sp_api::decl_runtime_apis! {
/// API to interact with MMR pallet.
#[api_version(2)]
pub trait MmrApi<Hash: codec::Codec, BlockNumber: codec::Codec> {
/// Return the on-chain MMR root hash.
fn mmr_root() -> Result<Hash, Error>;