mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 02:07:55 +00:00
clearer constant namings and explanations (#151)
This commit is contained in:
+2
-6
@@ -377,12 +377,11 @@ impl frame_system::Config for Runtime {
|
||||
parameter_types! {
|
||||
pub MaximumSchedulerWeight: frame_support::weights::Weight = Perbill::from_percent(80) *
|
||||
RuntimeBlockWeights::get().max_block;
|
||||
pub const MaxScheduledPerBlock: u32 = 50;
|
||||
pub const NoPreimagePostponement: Option<u32> = Some(10);
|
||||
pub const MaxScheduledRuntimeCallsPerBlock: u32 = 50;
|
||||
}
|
||||
|
||||
impl pallet_scheduler::Config for Runtime {
|
||||
type MaxScheduledPerBlock = MaxScheduledPerBlock;
|
||||
type MaxScheduledPerBlock = MaxScheduledRuntimeCallsPerBlock;
|
||||
type MaximumWeight = MaximumSchedulerWeight;
|
||||
type OriginPrivilegeCmp = frame_support::traits::EqualPrivilegeOnly;
|
||||
type PalletsOrigin = OriginCaller;
|
||||
@@ -785,9 +784,6 @@ parameter_types! {
|
||||
// pallet instance (which sits at index 13).
|
||||
pub TreasuryInteriorLocation: InteriorLocation = PalletInstance(13).into();
|
||||
pub const MaxApprovals: u32 = 100;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub TreasuryAccount: AccountId = Treasury::account_id();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user