File tree Expand file tree Collapse file tree 5 files changed +4
-3
lines changed Expand file tree Collapse file tree 5 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 94
94
mut fees_then_tips : impl Iterator < Item = pallet_balances:: NegativeImbalance < R > > ,
95
95
) {
96
96
if let Some ( fees) = fees_then_tips. next ( ) {
97
- // substrate
98
- use frame_support:: traits:: Imbalance ;
99
-
100
97
// Balances pallet automatically burns dropped Negative Imbalances by decreasing
101
98
// total_supply accordingly
102
99
<pallet_treasury:: Pallet < R > as frame_support:: traits:: OnUnbalanced < _ > >:: on_unbalanced (
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
55
55
type RuntimeEvent = RuntimeEvent ;
56
56
type Scheduler = Scheduler ;
57
57
type Slash = Treasury ;
58
+ type SubmitOrigin = frame_system:: EnsureSigned < AccountId > ;
58
59
// Any single technical committee member may veto a coming council proposal, however they can
59
60
// only do it once and it lasts only for the cool-off period.
60
61
type VetoOrigin = pallet_collective:: EnsureMember < AccountId , TechnicalCollective > ;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
55
55
type RuntimeEvent = RuntimeEvent ;
56
56
type Scheduler = Scheduler ;
57
57
type Slash = Treasury ;
58
+ type SubmitOrigin = frame_system:: EnsureSigned < AccountId > ;
58
59
// Any single technical committee member may veto a coming council proposal, however they can
59
60
// only do it once and it lasts only for the cool-off period.
60
61
type VetoOrigin = pallet_collective:: EnsureMember < AccountId , TechnicalCollective > ;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
55
55
type RuntimeEvent = RuntimeEvent ;
56
56
type Scheduler = Scheduler ;
57
57
type Slash = Treasury ;
58
+ type SubmitOrigin = frame_system:: EnsureSigned < AccountId > ;
58
59
// Any single technical committee member may veto a coming council proposal, however they can
59
60
// only do it once and it lasts only for the cool-off period.
60
61
type VetoOrigin = pallet_collective:: EnsureMember < AccountId , TechnicalCollective > ;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
55
55
type RuntimeEvent = RuntimeEvent ;
56
56
type Scheduler = Scheduler ;
57
57
type Slash = Treasury ;
58
+ type SubmitOrigin = frame_system:: EnsureSigned < AccountId > ;
58
59
// Any single technical committee member may veto a coming council proposal, however they can
59
60
// only do it once and it lasts only for the cool-off period.
60
61
type VetoOrigin = pallet_collective:: EnsureMember < AccountId , TechnicalCollective > ;
You can’t perform that action at this time.
0 commit comments