Skip to content

Commit fc6da85

Browse files
committed
1 parent 3a75b26 commit fc6da85

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

runtime/common/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ where
9494
mut fees_then_tips: impl Iterator<Item = pallet_balances::NegativeImbalance<R>>,
9595
) {
9696
if let Some(fees) = fees_then_tips.next() {
97-
// substrate
98-
use frame_support::traits::Imbalance;
99-
10097
// Balances pallet automatically burns dropped Negative Imbalances by decreasing
10198
// total_supply accordingly
10299
<pallet_treasury::Pallet<R> as frame_support::traits::OnUnbalanced<_>>::on_unbalanced(

runtime/crab/src/pallets/democracy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
5555
type RuntimeEvent = RuntimeEvent;
5656
type Scheduler = Scheduler;
5757
type Slash = Treasury;
58+
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
5859
// Any single technical committee member may veto a coming council proposal, however they can
5960
// only do it once and it lasts only for the cool-off period.
6061
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;

runtime/darwinia/src/pallets/democracy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
5555
type RuntimeEvent = RuntimeEvent;
5656
type Scheduler = Scheduler;
5757
type Slash = Treasury;
58+
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
5859
// Any single technical committee member may veto a coming council proposal, however they can
5960
// only do it once and it lasts only for the cool-off period.
6061
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;

runtime/pangolin/src/pallets/democracy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
5555
type RuntimeEvent = RuntimeEvent;
5656
type Scheduler = Scheduler;
5757
type Slash = Treasury;
58+
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
5859
// Any single technical committee member may veto a coming council proposal, however they can
5960
// only do it once and it lasts only for the cool-off period.
6061
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;

runtime/pangoro/src/pallets/democracy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
5555
type RuntimeEvent = RuntimeEvent;
5656
type Scheduler = Scheduler;
5757
type Slash = Treasury;
58+
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
5859
// Any single technical committee member may veto a coming council proposal, however they can
5960
// only do it once and it lasts only for the cool-off period.
6061
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;

0 commit comments

Comments
 (0)