difftreelog
Merge pull request #237 from UniqueNetwork/feature/CORE-260
in: master
CORE-260. Disable scheduller
1 file changed
runtime/src/lib.rsdiffbeforeafterboth771 type InflationBlockInterval = InflationBlockInterval;771 type InflationBlockInterval = InflationBlockInterval;772}772}773773774parameter_types! {774// parameter_types! {775 pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *775// pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *776 RuntimeBlockWeights::get().max_block;776// RuntimeBlockWeights::get().max_block;777 pub const MaxScheduledPerBlock: u32 = 50;777// pub const MaxScheduledPerBlock: u32 = 50;778}778// }779779780type EvmSponsorshipHandler = (780type EvmSponsorshipHandler = (781 pallet_nft::NftEthSponsorshipHandler<Runtime>,781 pallet_nft::NftEthSponsorshipHandler<Runtime>,787 pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,787 pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,788);788);789789790impl pallet_unq_scheduler::Config for Runtime {790// impl pallet_unq_scheduler::Config for Runtime {791 type Event = Event;791// type Event = Event;792 type Origin = Origin;792// type Origin = Origin;793 type PalletsOrigin = OriginCaller;793// type PalletsOrigin = OriginCaller;794 type Call = Call;794// type Call = Call;795 type MaximumWeight = MaximumSchedulerWeight;795// type MaximumWeight = MaximumSchedulerWeight;796 type ScheduleOrigin = EnsureSigned<AccountId>;796// type ScheduleOrigin = EnsureSigned<AccountId>;797 type MaxScheduledPerBlock = MaxScheduledPerBlock;797// type MaxScheduledPerBlock = MaxScheduledPerBlock;798 type SponsorshipHandler = SponsorshipHandler;798// type SponsorshipHandler = SponsorshipHandler;799 type WeightInfo = ();799// type WeightInfo = ();800}800// }801801802impl pallet_evm_transaction_payment::Config for Runtime {802impl pallet_evm_transaction_payment::Config for Runtime {803 type EvmSponsorshipHandler = EvmSponsorshipHandler;803 type EvmSponsorshipHandler = EvmSponsorshipHandler;858 // Unique Pallets858 // Unique Pallets859 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,859 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,860 Nft: pallet_nft::{Pallet, Call, Storage} = 61,860 Nft: pallet_nft::{Pallet, Call, Storage} = 61,861 Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,861 // Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,862 // free = 63862 // free = 63863 Charging: pallet_nft_charge_transaction::{Pallet, Call, Storage } = 64,863 Charging: pallet_nft_charge_transaction::{Pallet, Call, Storage } = 64,864 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,864 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,