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
+5 -2
View File
@@ -695,8 +695,6 @@ mod tests {
parameter_types! {
pub const ExistentialDeposit: u64 = 1;
pub const CreationFee: u64 = 0;
pub const MinVestedTransfer: u64 = 0;
}
impl pallet_balances::Trait for Test {
@@ -705,9 +703,14 @@ mod tests {
type DustRemoval = ();
type ExistentialDeposit = ExistentialDeposit;
type AccountStore = System;
type MaxLocks = ();
type WeightInfo = ();
}
parameter_types! {
pub const MinVestedTransfer: u64 = 0;
}
impl pallet_vesting::Trait for Test {
type Event = ();
type Currency = Balances;