Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
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
Use () for tests
  • Loading branch information
shawntabrizi committed Sep 14, 2020
commit 64abc18d4dbc2f004893f7c341e923c6d73b42dd
3 changes: 1 addition & 2 deletions runtime/common/src/claims.rs
Original file line number Diff line number Diff line change
Expand Up @@ -709,15 +709,14 @@ mod tests {

parameter_types! {
pub const MinVestedTransfer: u64 = 0;
pub const MaxLocks: u32 = 10;
}

impl pallet_vesting::Trait for Test {
type Event = ();
type Currency = Balances;
type BlockNumberToBalance = Identity;
type MinVestedTransfer = MinVestedTransfer;
type MaxLocks = MaxLocks;
type MaxLocks = ();
type WeightInfo = ();
}

Expand Down
3 changes: 1 addition & 2 deletions runtime/common/src/purchase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,15 +471,14 @@ mod tests {

parameter_types! {
pub const MinVestedTransfer: u64 = 0;
pub const MaxLocks: u32 = 10;
}

impl pallet_vesting::Trait for Test {
type Event = ();
type Currency = Balances;
type BlockNumberToBalance = Identity;
type MinVestedTransfer = MinVestedTransfer;
type MaxLocks = MaxLocks;
type MaxLocks = ();
type WeightInfo = ();
}

Expand Down