mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 02:48:03 +00:00
Add missing #[pallet::constant] annotations to pallets (#9367)
fixing #9306
This commit is contained in:
committed by
GitHub
parent
2dcbad535b
commit
76a289ebd8
@@ -148,6 +148,7 @@ pub mod pallet {
|
||||
|
||||
/// The maximum weight that may be scheduled per block for any dispatchables of less priority
|
||||
/// than `schedule::HARD_DEADLINE`.
|
||||
#[pallet::constant]
|
||||
type MaximumWeight: Get<Weight>;
|
||||
|
||||
/// Required origin to schedule or cancel calls.
|
||||
@@ -155,6 +156,7 @@ pub mod pallet {
|
||||
|
||||
/// The maximum number of scheduled calls in the queue for a single block.
|
||||
/// Not strictly enforced, but used for weight estimation.
|
||||
#[pallet::constant]
|
||||
type MaxScheduledPerBlock: Get<u32>;
|
||||
|
||||
/// Weight information for extrinsics in this pallet.
|
||||
|
||||
Reference in New Issue
Block a user