Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
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
Removed amount type of fees trait in mocks.
  • Loading branch information
shaunxw committed Feb 20, 2019
commit 6985eb1b89f4e59c8345c0991cf4e695c91e2090
1 change: 0 additions & 1 deletion srml/balances/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ impl system::Trait for Runtime {
}
impl fees::Trait for Runtime {
type Event = ();
type Amount = u64;
type TransferAsset = Balances;
}
impl Trait for Runtime {
Expand Down
1 change: 0 additions & 1 deletion srml/council/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ mod tests {
}
impl fees::Trait for Test {
type Event = Event;
type Amount = u64;
type TransferAsset = balances::Module<Test>;
}
impl democracy::Trait for Test {
Expand Down
1 change: 0 additions & 1 deletion srml/democracy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ mod tests {
}
impl fees::Trait for Test {
type Event = ();
type Amount = u64;
type TransferAsset = balances::Module<Test>;
}
impl Trait for Test {
Expand Down
1 change: 0 additions & 1 deletion srml/example/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ mod tests {
}
impl fees::Trait for Test {
type Event = ();
type Amount = u64;
type TransferAsset = balances::Module<Test>;
}
impl Trait for Test {
Expand Down
1 change: 0 additions & 1 deletion srml/staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ impl balances::Trait for Test {
}
impl fees::Trait for Test {
type Event = ();
type Amount = u64;
type TransferAsset = balances::Module<Test>;
}
impl session::Trait for Test {
Expand Down
1 change: 0 additions & 1 deletion srml/treasury/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ mod tests {
}
impl fees::Trait for Test {
type Event = ();
type Amount = u64;
type TransferAsset = balances::Module<Test>;
}
impl Trait for Test {
Expand Down