Companion for #6575 (Add WeightInfo) (#1352)

* Add `WeightInfo`

* fix test

* fix tests

* fix more tests
This commit is contained in:
Shawn Tabrizi
2020-07-08 18:22:22 +02:00
committed by GitHub
parent 283ffd4ec4
commit 099e41dc9e
11 changed files with 82 additions and 1 deletions
+3
View File
@@ -617,6 +617,7 @@ mod tests {
type AccountData = balances::AccountData<u64>;
type OnNewAccount = ();
type OnKilledAccount = Balances;
type SystemWeightInfo = ();
}
parameter_types! {
pub const ExistentialDeposit: u64 = 1;
@@ -627,6 +628,7 @@ mod tests {
type DustRemoval = ();
type ExistentialDeposit = ExistentialDeposit;
type AccountStore = System;
type WeightInfo = ();
}
parameter_types! {
@@ -667,6 +669,7 @@ mod tests {
type TipReportDepositBase = TipReportDepositBase;
type TipReportDepositPerByte = TipReportDepositPerByte;
type ModuleId = TreasuryModuleId;
type WeightInfo = ();
}
thread_local! {