Skip to content

Commit

Permalink
[runtime_api::ParachainHost] removed Hash, BlockNumber types
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Jan 9, 2024
1 parent f756000 commit 99b2457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,7 @@ sp_api::impl_runtime_apis! {
}

#[api_version(7)]
impl primitives::runtime_api::ParachainHost<Block, Hash, BlockNumber> for Runtime {
impl primitives::runtime_api::ParachainHost<Block> for Runtime {
fn validators() -> Vec<ValidatorId> {
parachains_runtime_api_impl::validators::<Runtime>()
}
Expand Down
2 changes: 1 addition & 1 deletion relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@ sp_api::impl_runtime_apis! {
}
}

impl primitives::runtime_api::ParachainHost<Block, Hash, BlockNumber> for Runtime {
impl primitives::runtime_api::ParachainHost<Block> for Runtime {
fn validators() -> Vec<ValidatorId> {
parachains_runtime_api_impl::validators::<Runtime>()
}
Expand Down

0 comments on commit 99b2457

Please sign in to comment.