Skip to content

Commit 44f67f5

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 363b427 commit 44f67f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mock.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ impl frame_system::Trait for Test {
7070
type AccountData = ();
7171
type OnNewAccount = ();
7272
type OnKilledAccount = ();
73+
type SystemWeightInfo = ();
7374
}
7475

7576
impl pallet_timestamp::Trait for Test {
7677
type Moment = u64;
7778
type OnTimestampSet = Aura;
7879
type MinimumPeriod = MinimumPeriod;
80+
type WeightInfo = ();
7981
}
8082

8183
impl Trait for Test {

0 commit comments

Comments
 (0)