Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Expose BountyUpdatePeriod. (#7921)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-jelski authored Jan 18, 2021
1 parent 2679599 commit 8aa9281
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frame/bounties/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ pub enum BountyStatus<AccountId, BlockNumber> {
},
}

// 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.
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 8aa9281

Please sign in to comment.