Companion for #7103 (WeightInfo for Vesting) (#1721)

* Add weights and new trait

* update more trait instances

* Use () for tests

* update for new type

* "Update Substrate"

* bump spec version

* bump more spec

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2020-09-16 22:37:00 +02:00
committed by GitHub
parent 5d4ddeee7a
commit 2613ec66ca
14 changed files with 288 additions and 144 deletions
+2
View File
@@ -561,6 +561,7 @@ impl pallet_staking::Trait for Runtime {
parameter_types! {
pub const ExistentialDeposit: Balance = 1 * CENTS;
pub const MaxLocks: u32 = 50;
}
impl pallet_balances::Trait for Runtime {
@@ -569,6 +570,7 @@ impl pallet_balances::Trait for Runtime {
type Event = Event;
type ExistentialDeposit = ExistentialDeposit;
type AccountStore = System;
type MaxLocks = MaxLocks;
type WeightInfo = ();
}