mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 21:21:11 +00:00
bump API versions of {Beefy,Mmr}Api (#13509)
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user