@@ -81,7 +81,8 @@ impl frame_system::Trait for Test {
81
81
type ModuleToIndex = ( ) ;
82
82
type AccountData = pallet_balances:: AccountData < u64 > ;
83
83
type OnNewAccount = ( ) ;
84
- type OnKilledAccount = ( Balances , ) ;
84
+ type OnKilledAccount = Balances ;
85
+ type SystemWeightInfo = ( ) ;
85
86
}
86
87
parameter_types ! {
87
88
pub const ExistentialDeposit : Balance = 10 ;
@@ -92,6 +93,7 @@ impl pallet_balances::Trait for Test {
92
93
type DustRemoval = ( ) ;
93
94
type ExistentialDeposit = ExistentialDeposit ;
94
95
type AccountStore = System ;
96
+ type WeightInfo = ( ) ;
95
97
}
96
98
97
99
parameter_types ! {
@@ -101,6 +103,7 @@ impl pallet_timestamp::Trait for Test {
101
103
type Moment = u64 ;
102
104
type OnTimestampSet = ( ) ;
103
105
type MinimumPeriod = MinimumPeriod ;
106
+ type WeightInfo = ( ) ;
104
107
}
105
108
impl pallet_session:: historical:: Trait for Test {
106
109
type FullIdentification = pallet_staking:: Exposure < AccountId , Balance > ;
@@ -138,6 +141,7 @@ impl pallet_session::Trait for Test {
138
141
type ValidatorId = AccountId ;
139
142
type ValidatorIdOf = pallet_staking:: StashOf < Test > ;
140
143
type DisabledValidatorsThreshold = ( ) ;
144
+ type WeightInfo = ( ) ;
141
145
}
142
146
pallet_staking_reward_curve:: build! {
143
147
const I_NPOS : sp_runtime:: curve:: PiecewiseLinear <' static > = curve!(
@@ -185,6 +189,7 @@ impl pallet_staking::Trait for Test {
185
189
type UnsignedPriority = UnsignedPriority ;
186
190
type MaxIterations = ( ) ;
187
191
type MinSolutionScoreBump = ( ) ;
192
+ type WeightInfo = ( ) ;
188
193
}
189
194
190
195
impl crate :: Trait for Test { }
0 commit comments