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
@@ -214,9 +214,11 @@ pub mod pallet {
/// The maximum number of locks that should exist on an account.
/// Not strictly enforced, but used for weight estimation.
#[pallet::constant]
type MaxLocks: Get<u32>;
/// The maximum number of named reserves that can exist on an account.
#[pallet::constant]
type MaxReserves: Get<u32>;
/// The id type for named reserves.