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

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

parent 9e56e1ac
No related merge requests found
......@@ -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>;
......
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