Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed May 22, 2023
1 parent 3a75b26 commit fc6da85
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ where
mut fees_then_tips: impl Iterator<Item = pallet_balances::NegativeImbalance<R>>,
) {
if let Some(fees) = fees_then_tips.next() {
// substrate
use frame_support::traits::Imbalance;

// Balances pallet automatically burns dropped Negative Imbalances by decreasing
// total_supply accordingly
<pallet_treasury::Pallet<R> as frame_support::traits::OnUnbalanced<_>>::on_unbalanced(
Expand Down
1 change: 1 addition & 0 deletions runtime/crab/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
// Any single technical committee member may veto a coming council proposal, however they can
// only do it once and it lasts only for the cool-off period.
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;
Expand Down
1 change: 1 addition & 0 deletions runtime/darwinia/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
// Any single technical committee member may veto a coming council proposal, however they can
// only do it once and it lasts only for the cool-off period.
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;
Expand Down
1 change: 1 addition & 0 deletions runtime/pangolin/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
// Any single technical committee member may veto a coming council proposal, however they can
// only do it once and it lasts only for the cool-off period.
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;
Expand Down
1 change: 1 addition & 0 deletions runtime/pangoro/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
// Any single technical committee member may veto a coming council proposal, however they can
// only do it once and it lasts only for the cool-off period.
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;
Expand Down

0 comments on commit fc6da85

Please sign in to comment.