Skip to content

Commit ebc63a3

Browse files
authored
Add WeightInfo to all pallets with benchmarks. (#6575)
* Start adding weight info * More weightinfo * finish weight info * more fixes * inital update of node runtime * fix the rest of the compilation * update balances * add docs * fix balances tests * Fix more tests * Fix compile * Fix pallet-evm tests
1 parent ef86777 commit ebc63a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ mod tests {
123123
type ValidatorIdOf = ConvertInto;
124124
type DisabledValidatorsThreshold = DisabledValidatorsThreshold;
125125
type NextSessionRotation = pallet_session::PeriodicSessions<Period, Offset>;
126+
type WeightInfo = ();
126127
}
127128

128129
impl pallet_session::historical::Trait for Test {
@@ -167,6 +168,7 @@ mod tests {
167168
type AccountData = ();
168169
type OnNewAccount = ();
169170
type OnKilledAccount = ();
171+
type SystemWeightInfo = ();
170172
}
171173

172174
impl_outer_origin! {

0 commit comments

Comments
 (0)