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
+1
View File
@@ -137,6 +137,7 @@ pub mod pallet {
/// The number of blocks back we should accept uncles.
/// This means that we will deal with uncle-parents that are
/// `UncleGenerations + 1` before `now`.
#[pallet::constant]
type UncleGenerations: Get<Self::BlockNumber>;
/// A filter for uncles within a block. This is for implementing
/// further constraints on what uncles can be included, other than their ancestry.