Skip to content

Commit

Permalink
wish for change
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski committed Feb 14, 2024
1 parent dd3705e commit d08eac7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions relay/kusama/src/governance/origins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ pub mod pallet_custom_origins {
Fellowship8Dan,
/// Origin commanded by rank 9 of the Polkadot Fellowship and with a success of 9.
Fellowship9Dan,
/// Origin for signaling wishes of the network.
RootSignaller,
/// Origin for signaling that the network wishes for some change.
WishForChange,
}

macro_rules! decl_unit_ensures {
Expand Down Expand Up @@ -130,7 +130,7 @@ pub mod pallet_custom_origins {
ReferendumCanceller,
ReferendumKiller,
WhitelistedCaller,
RootSignaller,
WishForChange,
FellowshipInitiates: u16 = 0,
Fellows: u16 = 3,
FellowshipExperts: u16 = 5,
Expand Down
4 changes: 2 additions & 2 deletions relay/kusama/src/governance/tracks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 16
(
2,
pallet_referenda::TrackInfo {
name: "root_signaller",
name: "wish_for_change",
max_deciding: 10,
decision_deposit: 20 * GRAND,
prepare_period: 2 * HOURS,
Expand Down Expand Up @@ -308,7 +308,7 @@ impl pallet_referenda::TracksInfo<Balance, BlockNumber> for TracksInfo {
} else if let Ok(custom_origin) = origins::Origin::try_from(id.clone()) {
match custom_origin {
origins::Origin::WhitelistedCaller => Ok(1),
origins::Origin::RootSignaller => Ok(2),
origins::Origin::WishForChange => Ok(2),
// General admin
origins::Origin::StakingAdmin => Ok(10),
origins::Origin::Treasurer => Ok(11),
Expand Down
6 changes: 3 additions & 3 deletions relay/polkadot/src/governance/origins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ pub mod pallet_custom_origins {
BigSpender,
/// Origin able to dispatch a whitelisted call.
WhitelistedCaller,
/// Origin for signaling wishes of the network.
RootSignaller,
/// Origin for signaling that the network wishes for some change.
WishForChange,
}

macro_rules! decl_unit_ensures {
Expand Down Expand Up @@ -105,7 +105,7 @@ pub mod pallet_custom_origins {
ReferendumCanceller,
ReferendumKiller,
WhitelistedCaller,
RootSignaller,
WishForChange,
);

macro_rules! decl_ensure {
Expand Down
4 changes: 2 additions & 2 deletions relay/polkadot/src/governance/tracks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 16
(
2,
pallet_referenda::TrackInfo {
name: "root_signaller",
name: "wish_for_change",
max_deciding: 10,
decision_deposit: 20 * GRAND,
prepare_period: 2 * HOURS,
Expand Down Expand Up @@ -308,7 +308,7 @@ impl pallet_referenda::TracksInfo<Balance, BlockNumber> for TracksInfo {
} else if let Ok(custom_origin) = origins::Origin::try_from(id.clone()) {
match custom_origin {
origins::Origin::WhitelistedCaller => Ok(1),
origins::Origin::RootSignaller => Ok(2),
origins::Origin::WishForChange => Ok(2),
// General admin
origins::Origin::StakingAdmin => Ok(10),
origins::Origin::Treasurer => Ok(11),
Expand Down

0 comments on commit d08eac7

Please sign in to comment.