Skip to content

Commit 429b1f3

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 82a2702 commit 429b1f3

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
@@ -88,6 +88,7 @@ impl frame_system::Trait for Test {
8888
type AccountData = pallet_balances::AccountData<u128>;
8989
type OnNewAccount = ();
9090
type OnKilledAccount = ();
91+
type SystemWeightInfo = ();
9192
}
9293

9394
parameter_types! {
@@ -100,6 +101,7 @@ impl pallet_balances::Trait for Test {
100101
type Event = TestEvent;
101102
type ExistentialDeposit = ExistentialDeposit;
102103
type AccountStore = System;
104+
type WeightInfo = ();
103105
}
104106

105107
parameter_types! {

0 commit comments

Comments
 (0)