Skip to content

Commit 20e7b2f

Browse files
committed
fixed build issue in parachain-staking weights
1 parent de2bf83 commit 20e7b2f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

pallets/parachain-staking/src/weightinfo.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use frame_support::weights::Weight;
55
/// Weight functions needed for parachain_staking.
66
pub trait WeightInfo {
77
fn on_initialize_no_action() -> Weight;
8-
fn on_initialize_round_update() -> Weight;
98
fn force_new_round() -> Weight;
109
fn set_max_selected_candidates(n: u32, m: u32) -> Weight;
1110
fn set_blocks_per_round() -> Weight;

pallets/parachain-staking/src/weights.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use core::marker::PhantomData;
2929

3030
/// Weight functions for `parachain_staking`.
3131
pub struct WeightInfo<T>(PhantomData<T>);
32-
impl<T: frame_system::Config> parachain_staking::WeightInfo for WeightInfo<T> {
32+
impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
3333
/// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0)
3434
/// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
3535
fn on_initialize_no_action() -> Weight {

0 commit comments

Comments
 (0)