Skip to content

Commit 3dd6e01

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 e0a3168 commit 3dd6e01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ impl frame_system::Trait for Test {
5454
type AccountData = pallet_balances::AccountData<u64>;
5555
type OnNewAccount = ();
5656
type OnKilledAccount = ();
57+
type SystemWeightInfo = ();
5758
}
5859
parameter_types! {
5960
pub const ExistentialDeposit: u64 = 1;
@@ -64,6 +65,7 @@ impl pallet_balances::Trait for Test {
6465
type Event = ();
6566
type ExistentialDeposit = ExistentialDeposit;
6667
type AccountStore = System;
68+
type WeightInfo = ();
6769
}
6870
parameter_types! {
6971
pub const ProofLimit: u32 = 1024;

0 commit comments

Comments
 (0)