From 2c13e088f0c2c1d81942d487055e67e1162a45ba Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Wed, 17 Jul 2024 08:02:44 +0200 Subject: [PATCH] Reduce Bounty Payout Delay (#386) The bounty payout delay originally existed to provide time for the Council to remove curators of a bounty if they were not acting in accordance with its existence. The Council motion time was 7 days, and thus the bounty delay was 8 days to give the Council time to remove curators and void payouts prior to a bounty being claimable. With OpenGov tracks being 28 days, I don't see this as anything more than a PITA for curators/awardees. Does anyone have motivation for this delay to be in effect in the current setup? (cc @muharem , @shawntabrizi ) --- CHANGELOG.md | 6 ++++++ relay/kusama/src/lib.rs | 2 +- relay/polkadot/src/lib.rs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 231e9f1da6..6766851963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Changed + +- Bounties: Remove payout delay ([polkadot-fellows/runtimes#386](https://github.com/polkadot-fellows/runtimes/pull/386)) + +## [1.2.8] 03.07.2024 + ### Added #### From [#322](https://github.com/polkadot-fellows/runtimes/pull/322): diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index a12e731104..98a6447987 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -775,7 +775,7 @@ impl pallet_treasury::Config for Runtime { parameter_types! { pub const BountyDepositBase: Balance = 100 * CENTS; - pub const BountyDepositPayoutDelay: BlockNumber = 4 * DAYS; + pub const BountyDepositPayoutDelay: BlockNumber = 0; pub const BountyUpdatePeriod: BlockNumber = 90 * DAYS; pub const MaximumReasonLength: u32 = 16384; pub const CuratorDepositMultiplier: Permill = Permill::from_percent(50); diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index fd36be70e1..cf6ad4efcd 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -889,7 +889,7 @@ impl pallet_treasury::Config for Runtime { parameter_types! { pub const BountyDepositBase: Balance = DOLLARS; - pub const BountyDepositPayoutDelay: BlockNumber = 8 * DAYS; + pub const BountyDepositPayoutDelay: BlockNumber = 0; pub const BountyUpdatePeriod: BlockNumber = 90 * DAYS; pub const MaximumReasonLength: u32 = 16384; pub const CuratorDepositMultiplier: Permill = Permill::from_percent(50);