Skip to content

Commit 503080b

Browse files
committed
fix: api v 16
1 parent 0b17f5d commit 503080b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

polkadot/primitives/src/runtime_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,6 @@ sp_api::decl_runtime_apis! {
326326
/// Get all published data from the broadcaster pallet.
327327
/// Returns a map of Publisher ParaId -> published data.
328328
#[api_version(16)]
329-
fn get_all_published_data() -> BTreeMap<ppp::Id, Vec<(Vec<u8>, Vec<u8>)>;
329+
fn get_all_published_data() -> BTreeMap<ppp::Id, Vec<(Vec<u8>, Vec<u8>)>>;
330330
}
331331
}

polkadot/runtime/rococo/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ sp_api::impl_runtime_apis! {
20262026
}
20272027
}
20282028

2029-
#[api_version(15)]
2029+
#[api_version(16)]
20302030
impl polkadot_primitives::runtime_api::ParachainHost<Block> for Runtime {
20312031
fn validators() -> Vec<ValidatorId> {
20322032
parachains_runtime_api_impl::validators::<Runtime>()

0 commit comments

Comments
 (0)