mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
* Update scheduler from substrate * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -152,6 +152,10 @@ impl frame_system::Trait for Runtime {
|
||||
type SystemWeightInfo = weights::frame_system::WeightInfo;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const MaxScheduledPerBlock: u32 = 50;
|
||||
}
|
||||
|
||||
impl pallet_scheduler::Trait for Runtime {
|
||||
type Event = Event;
|
||||
type Origin = Origin;
|
||||
@@ -159,7 +163,8 @@ impl pallet_scheduler::Trait for Runtime {
|
||||
type Call = Call;
|
||||
type MaximumWeight = MaximumBlockWeight;
|
||||
type ScheduleOrigin = EnsureRoot<AccountId>;
|
||||
type WeightInfo = ();
|
||||
type MaxScheduledPerBlock = MaxScheduledPerBlock;
|
||||
type WeightInfo = weights::pallet_scheduler::WeightInfo;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user