Skip to content

Commit

Permalink
make proposal submission unpermissioned (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb authored Jan 9, 2025
1 parent 790fd37 commit 3c0c16a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions runtime/ajuna/src/gov.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ impl pallet_democracy::Config for Runtime {
type ExternalOrigin = EnsureRootOrMoreThanHalfCouncil;
type ExternalMajorityOrigin = EnsureRootOrMoreThanHalfCouncil;
type ExternalDefaultOrigin = EnsureRootOrMoreThanHalfCouncil;
// Initially, we want that only the council can submit proposals to
// prevent malicious proposals.
#[cfg(not(feature = "runtime-benchmarks"))]
type SubmitOrigin = frame_system::EnsureSignedBy<crate::CouncilMembership, AccountId>;
#[cfg(feature = "runtime-benchmarks")]
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
// Allows to fast track a proposal with `voting_period` > `FastTrackVotingPeriod`
type FastTrackOrigin = EnsureRootOrMoreThanHalfTechnicalCommittee;
Expand Down

0 comments on commit 3c0c16a

Please sign in to comment.