Skip to content

Commit 41da39c

Browse files
committed
[runtime_api::ParachainHost] removed Hash, BlockNumber types
1 parent 7f6f1c4 commit 41da39c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

relay/kusama/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ sp_api::impl_runtime_apis! {
18331833
}
18341834

18351835
#[api_version(7)]
1836-
impl primitives::runtime_api::ParachainHost<Block, Hash, BlockNumber> for Runtime {
1836+
impl primitives::runtime_api::ParachainHost<Block> for Runtime {
18371837
fn validators() -> Vec<ValidatorId> {
18381838
parachains_runtime_api_impl::validators::<Runtime>()
18391839
}

relay/polkadot/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ sp_api::impl_runtime_apis! {
18781878
}
18791879
}
18801880

1881-
impl primitives::runtime_api::ParachainHost<Block, Hash, BlockNumber> for Runtime {
1881+
impl primitives::runtime_api::ParachainHost<Block> for Runtime {
18821882
fn validators() -> Vec<ValidatorId> {
18831883
parachains_runtime_api_impl::validators::<Runtime>()
18841884
}

0 commit comments

Comments
 (0)