mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
code cleanup (#2206)
This commit is contained in:
@@ -129,7 +129,7 @@ impl session::Trait for Runtime {
|
||||
}
|
||||
|
||||
impl staking::Trait for Runtime {
|
||||
type Currency = balances::Module<Self>;
|
||||
type Currency = Balances;
|
||||
type CurrencyToVote = CurrencyToVoteHandler;
|
||||
type OnRewardMinted = Treasury;
|
||||
type Event = Event;
|
||||
@@ -138,7 +138,7 @@ impl staking::Trait for Runtime {
|
||||
}
|
||||
|
||||
impl democracy::Trait for Runtime {
|
||||
type Currency = balances::Module<Self>;
|
||||
type Currency = Balances;
|
||||
type Proposal = Call;
|
||||
type Event = Event;
|
||||
}
|
||||
@@ -160,7 +160,7 @@ impl council::motions::Trait for Runtime {
|
||||
}
|
||||
|
||||
impl treasury::Trait for Runtime {
|
||||
type Currency = balances::Module<Self>;
|
||||
type Currency = Balances;
|
||||
type ApproveOrigin = council_motions::EnsureMembers<_4>;
|
||||
type RejectOrigin = council_motions::EnsureMembers<_2>;
|
||||
type Event = Event;
|
||||
@@ -169,7 +169,7 @@ impl treasury::Trait for Runtime {
|
||||
}
|
||||
|
||||
impl contract::Trait for Runtime {
|
||||
type Currency = balances::Module<Runtime>;
|
||||
type Currency = Balances;
|
||||
type Call = Call;
|
||||
type Event = Event;
|
||||
type Gas = u64;
|
||||
|
||||
Reference in New Issue
Block a user