Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Fix] substrate#6575 Add WeightInfo
  • Loading branch information
0yi0 committed Dec 21, 2020
commit 175fd2134d20277a90b94bca65d1d71c985a82df
4 changes: 4 additions & 0 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ impl system::Trait for Runtime {
type OnKilledAccount = ();
/// The data to be stored in an account.
type AccountData = balances::AccountData<Balance>;
type SystemWeightInfo = ();
}

impl aura::Trait for Runtime {
Expand All @@ -187,6 +188,7 @@ impl aura::Trait for Runtime {

impl grandpa::Trait for Runtime {
type Event = Event;
type WeightInfo = ();
}

parameter_types! {
Expand All @@ -198,6 +200,7 @@ impl timestamp::Trait for Runtime {
type Moment = u64;
type OnTimestampSet = Aura;
type MinimumPeriod = MinimumPeriod;
type WeightInfo = ();
}

parameter_types! {
Expand All @@ -212,6 +215,7 @@ impl balances::Trait for Runtime {
type DustRemoval = ();
type ExistentialDeposit = ExistentialDeposit;
type AccountStore = System;
type WeightInfo = ();
}

parameter_types! {
Expand Down