mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41: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
@@ -587,15 +587,18 @@ pub mod pallet {
|
||||
type OffchainRepeat: Get<Self::BlockNumber>;
|
||||
|
||||
/// The priority of the unsigned transaction submitted in the unsigned-phase
|
||||
#[pallet::constant]
|
||||
type MinerTxPriority: Get<TransactionPriority>;
|
||||
/// Maximum number of iteration of balancing that will be executed in the embedded miner of
|
||||
/// the pallet.
|
||||
#[pallet::constant]
|
||||
type MinerMaxIterations: Get<u32>;
|
||||
|
||||
/// Maximum weight that the miner should consume.
|
||||
///
|
||||
/// The miner will ensure that the total weight of the unsigned solution will not exceed
|
||||
/// this value, based on [`WeightInfo::submit_unsigned`].
|
||||
#[pallet::constant]
|
||||
type MinerMaxWeight: Get<Weight>;
|
||||
|
||||
/// Maximum number of signed submissions that can be queued.
|
||||
@@ -640,6 +643,7 @@ pub mod pallet {
|
||||
///
|
||||
/// The miner will ensure that the total length of the unsigned solution will not exceed
|
||||
/// this value.
|
||||
#[pallet::constant]
|
||||
type MinerMaxLength: Get<u32>;
|
||||
|
||||
/// Something that will provide the election data.
|
||||
|
||||
Reference in New Issue
Block a user