Skip to content
Prev Previous commit
Next Next commit
Add SystemWeightInfo type to test runtimes
  • Loading branch information
HCastano committed Jul 29, 2020
commit 7d359cc38878cab871e88fc6e08ddce25a0eda69
1 change: 1 addition & 0 deletions modules/currency-exchange/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ mod tests {
type OnNewAccount = ();
type OnKilledAccount = ();
type BaseCallFilter = ();
type SystemWeightInfo = ();
}

impl Trait for TestRuntime {
Expand Down
1 change: 1 addition & 0 deletions modules/ethereum/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ impl frame_system::Trait for TestRuntime {
type OnNewAccount = ();
type OnKilledAccount = ();
type BaseCallFilter = ();
type SystemWeightInfo = ();
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions modules/substrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ mod tests {
type OnNewAccount = ();
type OnKilledAccount = ();
type BaseCallFilter = ();
type SystemWeightInfo = ();
}

impl Trait for Test {}
Expand Down