Skip to content

Commit 762d5fb

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 2888c0d commit 762d5fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,15 @@ impl frame_system::Trait for Test {
132132
type AccountData = pallet_balances::AccountData<u64>;
133133
type OnNewAccount = ();
134134
type OnKilledAccount = ();
135+
type SystemWeightInfo = ();
135136
}
136137
impl pallet_balances::Trait for Test {
137138
type Balance = u64;
138139
type Event = MetaEvent;
139140
type DustRemoval = ();
140141
type ExistentialDeposit = ExistentialDeposit;
141142
type AccountStore = System;
143+
type WeightInfo = ();
142144
}
143145
parameter_types! {
144146
pub const MinimumPeriod: u64 = 1;
@@ -147,6 +149,7 @@ impl pallet_timestamp::Trait for Test {
147149
type Moment = u64;
148150
type OnTimestampSet = ();
149151
type MinimumPeriod = MinimumPeriod;
152+
type WeightInfo = ();
150153
}
151154
parameter_types! {
152155
pub const SignedClaimHandicap: u64 = 2;

0 commit comments

Comments
 (0)