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

fixing #9306
This commit is contained in:
Falco Hirschenberger
2021-07-18 20:27:39 +02:00
committed by GitHub
parent 2dcbad535b
commit 76a289ebd8
13 changed files with 31 additions and 0 deletions
+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.