Add missing #[pallet::constant] annotations to pallets (#9367)

fixing #9306
This commit is contained in:
Falco Hirschenberger authored and GitHub committed 2021-07-18 18:27:39 +00:00
1 parent 2dcbad535b
commit 76a289ebd8
13 files changed
+31

No files matched your search

+2
View File
@@ -141,10 +141,12 @@ pub mod pallet {
// The deposit which is reserved from candidates if they want to
// start a candidacy. The deposit gets returned when the candidacy is
// withdrawn or when the candidate is kicked.
#[pallet::constant]
type CandidateDeposit: Get<BalanceOf<Self, I>>;
/// Every `Period` blocks the `Members` are filled with the highest scoring
/// members in the `Pool`.
#[pallet::constant]
type Period: Get<Self::BlockNumber>;
/// The receiver of the signal for when the membership has been initialized.