Skip to content

Commit

Permalink
Update tracks.rs (#119)
Browse files Browse the repository at this point in the history
Changes to Treasurer, Big Spender, Medium Spender and Small Spender
Confirmation Periods as per:
polkadot-fellows/RFCs#20

I opted to not propose to remove the Big Spender track (it was part of
the discussion on RFC 20) as I am not sure how it would affect referenda
that are currently live on that Track.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Bastian Köcher <info@kchr.de>
  • Loading branch information
3 people committed Jan 4, 2024
1 parent 8e03e81 commit ab96e82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Election provider: use a geometric deposit base calculation for EPM signed submissions in Polkadot and Kusama ([polkadot-fellows/runtimes#56](https://github.com/polkadot-fellows/runtimes/pull/56))
- Make `IdentityInfo` generic in `pallet-identity` ([polkadot-fellows/runtimes#87](https://github.com/polkadot-fellows/runtimes/pull/87)). Context: https://github.com/paritytech/polkadot-sdk/pull/1661
- Whitelist `force_default_xcm_version` in XCM call filter ([polkadot-fellows/runtimes#45](https://github.com/polkadot-fellows/runtimes/pull/45))
- Increase confirmation period for treasury spend tracks on Polkadot & Kusama ([polkadot-fellows/runtimes#119](https://github.com/polkadot-fellows/runtimes/pull/119))

### Added

Expand Down
2 changes: 1 addition & 1 deletion relay/kusama/src/governance/tracks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 15
decision_deposit: 1 * GRAND,
prepare_period: 2 * HOURS,
decision_period: 14 * DAYS,
confirm_period: 3 * HOURS,
confirm_period: 48 * HOURS,
min_enactment_period: 24 * HOURS,
min_approval: APP_TREASURER,
min_support: SUP_TREASURER,
Expand Down
8 changes: 4 additions & 4 deletions relay/polkadot/src/governance/tracks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 15
decision_deposit: 1 * GRAND,
prepare_period: 2 * HOURS,
decision_period: 28 * DAYS,
confirm_period: 3 * HOURS,
confirm_period: 7 * DAYS,
min_enactment_period: 24 * HOURS,
min_approval: APP_TREASURER,
min_support: SUP_TREASURER,
Expand Down Expand Up @@ -242,7 +242,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 15
decision_deposit: 100 * DOLLARS,
prepare_period: 4 * HOURS,
decision_period: 28 * DAYS,
confirm_period: 12 * HOURS,
confirm_period: 2 * DAYS,
min_enactment_period: 24 * HOURS,
min_approval: APP_SMALL_SPENDER,
min_support: SUP_SMALL_SPENDER,
Expand All @@ -256,7 +256,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 15
decision_deposit: 200 * DOLLARS,
prepare_period: 4 * HOURS,
decision_period: 28 * DAYS,
confirm_period: 24 * HOURS,
confirm_period: 4 * DAYS,
min_enactment_period: 24 * HOURS,
min_approval: APP_MEDIUM_SPENDER,
min_support: SUP_MEDIUM_SPENDER,
Expand All @@ -270,7 +270,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo<Balance, BlockNumber>); 15
decision_deposit: 400 * DOLLARS,
prepare_period: 4 * HOURS,
decision_period: 28 * DAYS,
confirm_period: 48 * HOURS,
confirm_period: 7 * DAYS,
min_enactment_period: 24 * HOURS,
min_approval: APP_BIG_SPENDER,
min_support: SUP_BIG_SPENDER,
Expand Down

0 comments on commit ab96e82

Please sign in to comment.