From 1a5ea34d9a4244d0210ef352f601e9b0de2da8f5 Mon Sep 17 00:00:00 2001 From: Krzysztof Jelski Date: Mon, 18 Jan 2021 14:11:30 +0100 Subject: [PATCH] Expose BountyUpdatePeriod. (#7921) --- substrate/frame/bounties/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/substrate/frame/bounties/src/lib.rs b/substrate/frame/bounties/src/lib.rs index a8b97d9e33..ba0d4a5b16 100644 --- a/substrate/frame/bounties/src/lib.rs +++ b/substrate/frame/bounties/src/lib.rs @@ -185,7 +185,7 @@ pub enum BountyStatus { }, } -// Note :: For backward compatability reasons, +// Note :: For backward compatibility reasons, // pallet-bounties uses Treasury for storage. // This is temporary solution, soon will get replaced with // Own storage identifier. @@ -270,6 +270,9 @@ decl_module! { /// The delay period for which a bounty beneficiary need to wait before claim the payout. const BountyDepositPayoutDelay: T::BlockNumber = T::BountyDepositPayoutDelay::get(); + /// Bounty duration in blocks. + const BountyUpdatePeriod: T::BlockNumber = T::BountyUpdatePeriod::get(); + /// Percentage of the curator fee that will be reserved upfront as deposit for bounty curator. const BountyCuratorDeposit: Permill = T::BountyCuratorDeposit::get();