git.delta.rocks / unique-network / refs/commits / c1d4e9108a7d

difftreelog

Missed tests was added. Scheduler pallet renamed.

Dev2022-06-09parent: #c6fcdce.patch.diff
in: master

13 files changed

modifiedMakefilediffbeforeafterboth
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@
 
 .PHONY: bench-scheduler
 bench-scheduler:
-	make _bench2 PALLET=unq-scheduler PALLET_DIR=scheduler
+	make _bench2 PALLET=unique-scheduler PALLET_DIR=scheduler
 
 .PHONY: bench
 bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -1,5 +1,5 @@
 [package]
-name = "pallet-unq-scheduler"
+name = "pallet-unique-scheduler"
 version = "0.1.0"
 authors = ["Unique Network <support@uniquenetwork.io>"]
 edition = "2021"
modifiedpallets/scheduler/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/scheduler/src/benchmarking.rs
+++ b/pallets/scheduler/src/benchmarking.rs
@@ -123,6 +123,18 @@
 		assert!(Agenda::<T>::iter().count() == 0);
 	}
 
+	on_initialize_periodic {
+		let s in 1 .. T::MaxScheduledPerBlock::get();
+		let when = BLOCK_NUMBER.into();
+		fill_schedule::<T>(when, s, true, Some(false))?;
+	}: { Scheduler::<T>::on_initialize(when); }
+	verify {
+		assert_eq!(System::<T>::event_count(), s);
+		for i in 0..s {
+			assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
+		}
+	}
+
 	on_initialize_periodic_resolved {
 		let s in 1 .. T::MaxScheduledPerBlock::get();
 		let when = BLOCK_NUMBER.into();
@@ -135,6 +147,42 @@
 		}
 	}
 
+	on_initialize_aborted {
+		let s in 1 .. T::MaxScheduledPerBlock::get();
+		let when = BLOCK_NUMBER.into();
+		fill_schedule::<T>(when, s, false, None)?;
+	}: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+	verify {
+		assert_eq!(System::<T>::event_count(), 0);
+	}
+
+	on_initialize_named_aborted {
+		let s in 1 .. T::MaxScheduledPerBlock::get();
+		let when = BLOCK_NUMBER.into();
+		fill_schedule::<T>(when, s, false, Some(false))?;
+	}: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+	verify {
+	}
+
+	on_initialize_named {
+		let s in 1 .. T::MaxScheduledPerBlock::get();
+		let when = BLOCK_NUMBER.into();
+		fill_schedule::<T>(when, s, false, None)?;
+	}: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+	verify {
+		assert_eq!(System::<T>::event_count(), 0);
+	}
+
+	on_initialize {
+		let s in 1 .. T::MaxScheduledPerBlock::get();
+		let when = BLOCK_NUMBER.into();
+		fill_schedule::<T>(when, s, false, Some(false))?;
+	}: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+	verify {
+		assert_eq!(System::<T>::event_count(), s);
+		assert!(Agenda::<T>::iter().count() == 0);
+	}
+
 	on_initialize_resolved {
 		let s in 1 .. T::MaxScheduledPerBlock::get();
 		let when = BLOCK_NUMBER.into();
modifiedpallets/scheduler/src/lib.rsdiffbeforeafterboth
--- a/pallets/scheduler/src/lib.rs
+++ b/pallets/scheduler/src/lib.rs
@@ -158,11 +158,10 @@
 				Self::on_initialize_periodic(2) - Self::on_initialize_periodic(1)
 			}
 			(true, true, Some(false)) => {
-				Self::on_initialize_periodic_named(2) - Self::on_initialize_periodic_named(1)
-			}
-			(false, false, Some(true)) => {
-				Self::on_initialize_resolved(2) - Self::on_initialize_resolved(1)
+				Self::on_initialize_periodic_named_resolved(2)
+					- Self::on_initialize_periodic_named_resolved(1)
 			}
+			(false, false, Some(true)) => Self::on_initialize(2) - Self::on_initialize(1),
 			(false, true, Some(true)) => {
 				Self::on_initialize_named_resolved(2) - Self::on_initialize_named_resolved(1)
 			}
modifiedpallets/scheduler/src/weights.rsdiffbeforeafterboth
--- a/pallets/scheduler/src/weights.rs
+++ b/pallets/scheduler/src/weights.rs
@@ -1,6 +1,6 @@
 // Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
 
-//! Autogenerated weights for pallet_unq_scheduler
+//! Autogenerated weights for pallet_unique_scheduler
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
 //! DATE: 2022-06-09, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -11,7 +11,7 @@
 // benchmark
 // pallet
 // --pallet
-// pallet-unq-scheduler
+// pallet-unique-scheduler
 // --wasm-execution
 // compiled
 // --extrinsic
@@ -31,17 +31,22 @@
 use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
 use sp_std::marker::PhantomData;
 
-/// Weight functions needed for pallet_unq_scheduler.
+/// Weight functions needed for pallet_unique_scheduler.
 pub trait WeightInfo {
 	fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight;
 	fn on_initialize_named_resolved(s: u32, ) -> Weight;
+	fn on_initialize_periodic(s: u32, ) -> Weight;
 	fn on_initialize_periodic_resolved(s: u32, ) -> Weight;
+	fn on_initialize_aborted(s: u32, ) -> Weight;
+	fn on_initialize_named_aborted(s: u32, ) -> Weight;
+	fn on_initialize_named(s: u32, ) -> Weight;
+	fn on_initialize(s: u32, ) -> Weight;
 	fn on_initialize_resolved(s: u32, ) -> Weight;
 	fn schedule_named(s: u32, ) -> Weight;
 	fn cancel_named(s: u32, ) -> Weight;
 }
 
-/// Weights for pallet_unq_scheduler using the Substrate node and recommended hardware.
+/// Weights for pallet_unique_scheduler using the Substrate node and recommended hardware.
 pub struct SubstrateWeight<T>(PhantomData<T>);
 impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
 	// Storage: Scheduler Agenda (r:2 w:2)
@@ -50,9 +55,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
-		(39_822_000 as Weight)
-			// Standard Error: 4_000
-			.saturating_add((31_823_000 as Weight).saturating_mul(s as Weight))
+		(35_999_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -64,9 +69,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named_resolved(s: u32, ) -> Weight {
-		(36_019_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((22_660_000 as Weight).saturating_mul(s as Weight))
+		(34_874_000 as Weight)
+			// Standard Error: 2_000
+			.saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -76,24 +81,84 @@
 	// Storage: System AllExtrinsicsLen (r:1 w:1)
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_periodic(s: u32, ) -> Weight {
+		(36_469_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(T::DbWeight::get().reads(4 as Weight))
+			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
+			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:2 w:2)
+	// Storage: System Account (r:1 w:1)
+	// Storage: System AllExtrinsicsLen (r:1 w:1)
+	// Storage: System BlockWeight (r:1 w:1)
+	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
-		(36_613_000 as Weight)
+		(35_352_000 as Weight)
 			// Standard Error: 3_000
-			.saturating_add((31_895_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
 	}
+	// Storage: Scheduler Agenda (r:2 w:2)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_aborted(s: u32, ) -> Weight {
+		(11_267_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(T::DbWeight::get().reads(2 as Weight))
+			.saturating_add(T::DbWeight::get().writes(2 as Weight))
+			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:1 w:1)
+	// Storage: System Account (r:1 w:1)
+	// Storage: System AllExtrinsicsLen (r:1 w:1)
+	// Storage: System BlockWeight (r:1 w:1)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_named_aborted(s: u32, ) -> Weight {
+		(35_937_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(T::DbWeight::get().reads(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:2 w:2)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_named(s: u32, ) -> Weight {
+		(10_338_000 as Weight)
+			// Standard Error: 2_000
+			.saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(T::DbWeight::get().reads(2 as Weight))
+			.saturating_add(T::DbWeight::get().writes(2 as Weight))
+			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:1 w:1)
+	// Storage: System Account (r:1 w:1)
+	// Storage: System AllExtrinsicsLen (r:1 w:1)
+	// Storage: System BlockWeight (r:1 w:1)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize(s: u32, ) -> Weight {
+		(37_448_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(T::DbWeight::get().reads(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
 	// Storage: Scheduler Agenda (r:1 w:1)
 	// Storage: System Account (r:1 w:1)
 	// Storage: System AllExtrinsicsLen (r:1 w:1)
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_resolved(s: u32, ) -> Weight {
-		(36_252_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((22_662_000 as Weight).saturating_mul(s as Weight))
+		(34_841_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -101,18 +166,18 @@
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn schedule_named(s: u32, ) -> Weight {
-		(34_561_000 as Weight)
+		(33_845_000 as Weight)
 			// Standard Error: 0
-			.saturating_add((161_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((168_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn cancel_named(s: u32, ) -> Weight {
-		(30_932_000 as Weight)
+		(31_169_000 as Weight)
 			// Standard Error: 1_000
-			.saturating_add((1_537_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -126,9 +191,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
-		(39_822_000 as Weight)
-			// Standard Error: 4_000
-			.saturating_add((31_823_000 as Weight).saturating_mul(s as Weight))
+		(35_999_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -140,12 +205,26 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named_resolved(s: u32, ) -> Weight {
-		(36_019_000 as Weight)
+		(34_874_000 as Weight)
+			// Standard Error: 2_000
+			.saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:2 w:2)
+	// Storage: System Account (r:1 w:1)
+	// Storage: System AllExtrinsicsLen (r:1 w:1)
+	// Storage: System BlockWeight (r:1 w:1)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_periodic(s: u32, ) -> Weight {
+		(36_469_000 as Weight)
 			// Standard Error: 3_000
-			.saturating_add((22_660_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
+			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
-			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+			.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
 	}
 	// Storage: Scheduler Agenda (r:2 w:2)
 	// Storage: System Account (r:1 w:1)
@@ -153,23 +232,69 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
-		(36_613_000 as Weight)
+		(35_352_000 as Weight)
 			// Standard Error: 3_000
-			.saturating_add((31_895_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
 	}
+	// Storage: Scheduler Agenda (r:2 w:2)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_aborted(s: u32, ) -> Weight {
+		(11_267_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
+			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:1 w:1)
+	// Storage: System Account (r:1 w:1)
+	// Storage: System AllExtrinsicsLen (r:1 w:1)
+	// Storage: System BlockWeight (r:1 w:1)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_named_aborted(s: u32, ) -> Weight {
+		(35_937_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:2 w:2)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize_named(s: u32, ) -> Weight {
+		(10_338_000 as Weight)
+			// Standard Error: 2_000
+			.saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
+			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
+	// Storage: Scheduler Agenda (r:1 w:1)
+	// Storage: System Account (r:1 w:1)
+	// Storage: System AllExtrinsicsLen (r:1 w:1)
+	// Storage: System BlockWeight (r:1 w:1)
+	// Storage: Scheduler Lookup (r:0 w:1)
+	fn on_initialize(s: u32, ) -> Weight {
+		(37_448_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+	}
 	// Storage: Scheduler Agenda (r:1 w:1)
 	// Storage: System Account (r:1 w:1)
 	// Storage: System AllExtrinsicsLen (r:1 w:1)
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_resolved(s: u32, ) -> Weight {
-		(36_252_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((22_662_000 as Weight).saturating_mul(s as Weight))
+		(34_841_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -177,18 +302,18 @@
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn schedule_named(s: u32, ) -> Weight {
-		(34_561_000 as Weight)
+		(33_845_000 as Weight)
 			// Standard Error: 0
-			.saturating_add((161_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((168_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn cancel_named(s: u32, ) -> Weight {
-		(30_932_000 as Weight)
+		(31_169_000 as Weight)
 			// Standard Error: 1_000
-			.saturating_add((1_537_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
modifiedruntime/common/Cargo.tomldiffbeforeafterboth
--- a/runtime/common/Cargo.toml
+++ b/runtime/common/Cargo.toml
@@ -89,7 +89,7 @@
 default-features = false
 path = "../../pallets/refungible"
 
-[dependencies.pallet-unq-scheduler]
+[dependencies.pallet-unique-scheduler]
 default-features = false
 path = "../../pallets/scheduler"
 
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -774,7 +774,7 @@
                     list_benchmark!(list, extra, pallet_fungible, Fungible);
                     list_benchmark!(list, extra, pallet_refungible, Refungible);
                     list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
-                    list_benchmark!(list, extra, pallet_unq_scheduler, Scheduler);
+                    list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);
                     // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
 
                     let storage_info = AllPalletsReversedWithSystemFirst::storage_info();
@@ -818,7 +818,7 @@
                     add_benchmark!(params, batches, pallet_fungible, Fungible);
                     add_benchmark!(params, batches, pallet_refungible, Refungible);
                     add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
-                    add_benchmark!(params, batches, pallet_unq_scheduler, Scheduler);
+                    add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);
 
                     // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
 
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -36,7 +36,7 @@
     'pallet-proxy-rmrk-core/runtime-benchmarks',
     'pallet-unique/runtime-benchmarks',
     'pallet-inflation/runtime-benchmarks',
-    'pallet-unq-scheduler/runtime-benchmarks',
+    'pallet-unique-scheduler/runtime-benchmarks',
     'pallet-xcm/runtime-benchmarks',
     'sp-runtime/runtime-benchmarks',
     'xcm-builder/runtime-benchmarks',
@@ -94,7 +94,7 @@
     'pallet-proxy-rmrk-core/std',
     'pallet-proxy-rmrk-equip/std',
     'pallet-unique/std',
-    'pallet-unq-scheduler/std',
+    'pallet-unique-scheduler/std',
     'pallet-charge-transaction/std',
     'up-data-structs/std',
     'sp-api/std',
@@ -413,7 +413,7 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
 pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
-pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
+pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
 pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -68,7 +68,7 @@
 		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
 	},
 };
-use pallet_unq_scheduler::DispatchCall;
+use pallet_unique_scheduler::DispatchCall;
 use up_data_structs::{
 	CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
 	CollectionStats, RpcCollection,
@@ -966,7 +966,7 @@
 }
 
 pub struct SchedulerPaymentExecutor;
-impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>
+impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
 	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
 where
 	<T as frame_system::Config>::Call: Member
@@ -976,13 +976,13 @@
 		+ From<frame_system::Call<Runtime>>,
 	SelfContainedSignedInfo: Send + Sync + 'static,
 	Call: From<<T as frame_system::Config>::Call>
-		+ From<<T as pallet_unq_scheduler::Config>::Call>
+		+ From<<T as pallet_unique_scheduler::Config>::Call>
 		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
 	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
 {
 	fn dispatch_call(
 		signer: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 	) -> Result<
 		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
 		TransactionValidityError,
@@ -1008,7 +1008,7 @@
 	fn reserve_balance(
 		id: [u8; 16],
 		sponsor: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 		count: u32,
 	) -> Result<(), DispatchError> {
 		let dispatch_info = call.get_dispatch_info();
@@ -1025,7 +1025,7 @@
 	fn pay_for_call(
 		id: [u8; 16],
 		sponsor: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 	) -> Result<u128, DispatchError> {
 		let dispatch_info = call.get_dispatch_info();
 		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
@@ -1066,7 +1066,7 @@
 	}
 }
 
-impl pallet_unq_scheduler::Config for Runtime {
+impl pallet_unique_scheduler::Config for Runtime {
 	type Event = Event;
 	type Origin = Origin;
 	type Currency = Balances;
@@ -1155,7 +1155,7 @@
 		// Unique Pallets
 		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
 		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
-		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+		Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
 		// free = 63
 		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
 		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
before · runtime/quartz/Cargo.toml
1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Quartz Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'quartz-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.22'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std']20runtime-benchmarks = [21    'hex-literal',22    'frame-benchmarking',23    'frame-support/runtime-benchmarks',24    'frame-system-benchmarking',25    'frame-system/runtime-benchmarks',26    'pallet-ethereum/runtime-benchmarks',27    'pallet-evm-migration/runtime-benchmarks',28    'pallet-evm-coder-substrate/runtime-benchmarks',29    'pallet-balances/runtime-benchmarks',30    'pallet-timestamp/runtime-benchmarks',31    'pallet-common/runtime-benchmarks',32    'pallet-structure/runtime-benchmarks',33    'pallet-fungible/runtime-benchmarks',34    'pallet-refungible/runtime-benchmarks',35    'pallet-nonfungible/runtime-benchmarks',36    'pallet-proxy-rmrk-core/runtime-benchmarks',37    'pallet-unique/runtime-benchmarks',38    'pallet-inflation/runtime-benchmarks',39    'pallet-unq-scheduler/runtime-benchmarks',40    'pallet-xcm/runtime-benchmarks',41    'sp-runtime/runtime-benchmarks',42    'xcm-builder/runtime-benchmarks',43]44try-runtime = [45    'frame-try-runtime',46    'frame-executive/try-runtime',47    'frame-system/try-runtime',48]49std = [50    'codec/std',51    'cumulus-pallet-aura-ext/std',52    'cumulus-pallet-parachain-system/std',53    'cumulus-pallet-xcm/std',54    'cumulus-pallet-xcmp-queue/std',55    'cumulus-primitives-core/std',56    'cumulus-primitives-utility/std',57    'frame-try-runtime/std',58    'frame-executive/std',59    'frame-support/std',60    'frame-system/std',61    'frame-system-rpc-runtime-api/std',62    'pallet-aura/std',63    'pallet-balances/std',64    # 'pallet-contracts/std',65    # 'pallet-contracts-primitives/std',66    # 'pallet-contracts-rpc-runtime-api/std',67    # 'pallet-contract-helpers/std',68    'pallet-randomness-collective-flip/std',69    'pallet-sudo/std',70    'pallet-timestamp/std',71    'pallet-transaction-payment/std',72    'pallet-transaction-payment-rpc-runtime-api/std',73    'pallet-treasury/std',74    # 'pallet-vesting/std',75    'pallet-evm/std',76    'pallet-evm-migration/std',77    'pallet-evm-contract-helpers/std',78    'pallet-evm-transaction-payment/std',79    'pallet-evm-coder-substrate/std',80    'pallet-ethereum/std',81    'pallet-base-fee/std',82    'fp-rpc/std',83    'up-rpc/std',84    'fp-evm-mapping/std',85    'fp-self-contained/std',86    'parachain-info/std',87    'serde',88    'pallet-inflation/std',89    'pallet-common/std',90    'pallet-structure/std',91    'pallet-fungible/std',92    'pallet-refungible/std',93    'pallet-nonfungible/std',94    'pallet-proxy-rmrk-core/std',95    'pallet-unique/std',96    'pallet-unq-scheduler/std',97    'pallet-charge-transaction/std',98    'up-data-structs/std',99    'sp-api/std',100    'sp-block-builder/std',101    "sp-consensus-aura/std",102    'sp-core/std',103    'sp-inherents/std',104    'sp-io/std',105    'sp-offchain/std',106    'sp-runtime/std',107    'sp-session/std',108    'sp-std/std',109    'sp-transaction-pool/std',110    'sp-version/std',111    'xcm/std',112    'xcm-builder/std',113    'xcm-executor/std',114    'unique-runtime-common/std',115116    "orml-vesting/std",117]118limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']119120################################################################################121# Substrate Dependencies122123[dependencies.codec]124default-features = false125features = ['derive']126package = 'parity-scale-codec'127version = '3.1.2'128129[dependencies.frame-benchmarking]130default-features = false131git = "https://github.com/paritytech/substrate"132optional = true133branch = "polkadot-v0.9.22"134135[dependencies.frame-try-runtime]136default-features = false137git = 'https://github.com/paritytech/substrate'138optional = true139branch = 'polkadot-v0.9.22'140141[dependencies.frame-executive]142default-features = false143git = "https://github.com/paritytech/substrate"144branch = "polkadot-v0.9.22"145146[dependencies.frame-support]147default-features = false148git = "https://github.com/paritytech/substrate"149branch = "polkadot-v0.9.22"150151[dependencies.frame-system]152default-features = false153git = "https://github.com/paritytech/substrate"154branch = "polkadot-v0.9.22"155156[dependencies.frame-system-benchmarking]157default-features = false158git = "https://github.com/paritytech/substrate"159optional = true160branch = "polkadot-v0.9.22"161162[dependencies.frame-system-rpc-runtime-api]163default-features = false164git = "https://github.com/paritytech/substrate"165branch = "polkadot-v0.9.22"166167[dependencies.hex-literal]168optional = true169version = '0.3.3'170171[dependencies.serde]172default-features = false173features = ['derive']174optional = true175version = '1.0.130'176177[dependencies.pallet-aura]178default-features = false179git = "https://github.com/paritytech/substrate"180branch = "polkadot-v0.9.22"181182[dependencies.pallet-balances]183default-features = false184git = "https://github.com/paritytech/substrate"185branch = "polkadot-v0.9.22"186187# Contracts specific packages188# [dependencies.pallet-contracts]189# git = 'https://github.com/paritytech/substrate'190# default-features = false191# branch = 'master'192# version = '4.0.0-dev'193194# [dependencies.pallet-contracts-primitives]195# git = 'https://github.com/paritytech/substrate'196# default-features = false197# branch = 'master'198# version = '4.0.0-dev'199200# [dependencies.pallet-contracts-rpc-runtime-api]201# git = 'https://github.com/paritytech/substrate'202# default-features = false203# branch = 'master'204# version = '4.0.0-dev'205206[dependencies.pallet-randomness-collective-flip]207default-features = false208git = "https://github.com/paritytech/substrate"209branch = "polkadot-v0.9.22"210211[dependencies.pallet-sudo]212default-features = false213git = "https://github.com/paritytech/substrate"214branch = "polkadot-v0.9.22"215216[dependencies.pallet-timestamp]217default-features = false218git = "https://github.com/paritytech/substrate"219branch = "polkadot-v0.9.22"220221[dependencies.pallet-transaction-payment]222default-features = false223git = "https://github.com/paritytech/substrate"224branch = "polkadot-v0.9.22"225226[dependencies.pallet-transaction-payment-rpc-runtime-api]227default-features = false228git = "https://github.com/paritytech/substrate"229branch = "polkadot-v0.9.22"230231[dependencies.pallet-treasury]232default-features = false233git = "https://github.com/paritytech/substrate"234branch = "polkadot-v0.9.22"235236# [dependencies.pallet-vesting]237# default-features = false238# git = 'https://github.com/paritytech/substrate'239# branch = 'master'240241[dependencies.sp-arithmetic]242default-features = false243git = "https://github.com/paritytech/substrate"244branch = "polkadot-v0.9.22"245246[dependencies.sp-api]247default-features = false248git = "https://github.com/paritytech/substrate"249branch = "polkadot-v0.9.22"250251[dependencies.sp-block-builder]252default-features = false253git = "https://github.com/paritytech/substrate"254branch = "polkadot-v0.9.22"255256[dependencies.sp-core]257default-features = false258git = "https://github.com/paritytech/substrate"259branch = "polkadot-v0.9.22"260261[dependencies.sp-consensus-aura]262default-features = false263git = "https://github.com/paritytech/substrate"264branch = "polkadot-v0.9.22"265266[dependencies.sp-inherents]267default-features = false268git = "https://github.com/paritytech/substrate"269branch = "polkadot-v0.9.22"270271[dependencies.sp-io]272default-features = false273git = "https://github.com/paritytech/substrate"274branch = "polkadot-v0.9.22"275276[dependencies.sp-offchain]277default-features = false278git = "https://github.com/paritytech/substrate"279branch = "polkadot-v0.9.22"280281[dependencies.sp-runtime]282default-features = false283git = "https://github.com/paritytech/substrate"284branch = "polkadot-v0.9.22"285286[dependencies.sp-session]287default-features = false288git = "https://github.com/paritytech/substrate"289branch = "polkadot-v0.9.22"290291[dependencies.sp-std]292default-features = false293git = "https://github.com/paritytech/substrate"294branch = "polkadot-v0.9.22"295296[dependencies.sp-transaction-pool]297default-features = false298git = "https://github.com/paritytech/substrate"299branch = "polkadot-v0.9.22"300301[dependencies.sp-version]302default-features = false303git = "https://github.com/paritytech/substrate"304branch = "polkadot-v0.9.22"305306[dependencies.smallvec]307version = '1.6.1'308309################################################################################310# Cumulus dependencies311312[dependencies.parachain-info]313default-features = false314git = "https://github.com/paritytech/cumulus"315branch = "polkadot-v0.9.22"316317[dependencies.cumulus-pallet-aura-ext]318git = "https://github.com/paritytech/cumulus"319branch = "polkadot-v0.9.22"320default-features = false321322[dependencies.cumulus-pallet-parachain-system]323git = "https://github.com/paritytech/cumulus"324branch = "polkadot-v0.9.22"325default-features = false326327[dependencies.cumulus-primitives-core]328git = "https://github.com/paritytech/cumulus"329branch = "polkadot-v0.9.22"330default-features = false331332[dependencies.cumulus-pallet-xcm]333git = "https://github.com/paritytech/cumulus"334branch = "polkadot-v0.9.22"335default-features = false336337[dependencies.cumulus-pallet-dmp-queue]338git = "https://github.com/paritytech/cumulus"339branch = "polkadot-v0.9.22"340default-features = false341342[dependencies.cumulus-pallet-xcmp-queue]343git = "https://github.com/paritytech/cumulus"344branch = "polkadot-v0.9.22"345default-features = false346347[dependencies.cumulus-primitives-utility]348git = "https://github.com/paritytech/cumulus"349branch = "polkadot-v0.9.22"350default-features = false351352[dependencies.cumulus-primitives-timestamp]353git = "https://github.com/paritytech/cumulus"354branch = "polkadot-v0.9.22"355default-features = false356357################################################################################358# Polkadot dependencies359360[dependencies.polkadot-parachain]361git = "https://github.com/paritytech/polkadot"362branch = "release-v0.9.22"363default-features = false364365[dependencies.xcm]366git = "https://github.com/paritytech/polkadot"367branch = "release-v0.9.22"368default-features = false369370[dependencies.xcm-builder]371git = "https://github.com/paritytech/polkadot"372branch = "release-v0.9.22"373default-features = false374375[dependencies.xcm-executor]376git = "https://github.com/paritytech/polkadot"377branch = "release-v0.9.22"378default-features = false379380[dependencies.pallet-xcm]381git = "https://github.com/paritytech/polkadot"382branch = "release-v0.9.22"383default-features = false384385[dependencies.orml-vesting]386git = "https://github.com/uniquenetwork/open-runtime-module-library"387branch = "unique-polkadot-v0.9.22"388version = "0.4.1-dev"389default-features = false390391################################################################################392# RMRK dependencies393394# todo git395[dependencies.rmrk-rpc]396default-features = false397path = "../../primitives/rmrk-rpc"398399################################################################################400# local dependencies401402[dependencies]403log = { version = "0.4.16", default-features = false }404unique-runtime-common = { path = "../common", default-features = false }405scale-info = { version = "2.0.1", default-features = false, features = [406    "derive",407] }408derivative = "2.2.0"409pallet-unique = { path = '../../pallets/unique', default-features = false }410up-rpc = { path = "../../primitives/rpc", default-features = false }411fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }412pallet-inflation = { path = '../../pallets/inflation', default-features = false }413up-data-structs = { path = '../../primitives/data-structs', default-features = false }414pallet-common = { default-features = false, path = "../../pallets/common" }415pallet-structure = { default-features = false, path = "../../pallets/structure" }416pallet-fungible = { default-features = false, path = "../../pallets/fungible" }417pallet-refungible = { default-features = false, path = "../../pallets/refungible" }418pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }419pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }420pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }421# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }422pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }423pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }424pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }425pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }426pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }427pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }428pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }429pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }430fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }431fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }432433################################################################################434# Build Dependencies435436[build-dependencies.substrate-wasm-builder]437git = "https://github.com/paritytech/substrate"438branch = "polkadot-v0.9.22"
after · runtime/quartz/Cargo.toml
1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Quartz Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'quartz-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.22'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std']20runtime-benchmarks = [21    'hex-literal',22    'frame-benchmarking',23    'frame-support/runtime-benchmarks',24    'frame-system-benchmarking',25    'frame-system/runtime-benchmarks',26    'pallet-ethereum/runtime-benchmarks',27    'pallet-evm-migration/runtime-benchmarks',28    'pallet-evm-coder-substrate/runtime-benchmarks',29    'pallet-balances/runtime-benchmarks',30    'pallet-timestamp/runtime-benchmarks',31    'pallet-common/runtime-benchmarks',32    'pallet-structure/runtime-benchmarks',33    'pallet-fungible/runtime-benchmarks',34    'pallet-refungible/runtime-benchmarks',35    'pallet-nonfungible/runtime-benchmarks',36    'pallet-proxy-rmrk-core/runtime-benchmarks',37    'pallet-unique/runtime-benchmarks',38    'pallet-inflation/runtime-benchmarks',39    'pallet-unique-scheduler/runtime-benchmarks',40    'pallet-xcm/runtime-benchmarks',41    'sp-runtime/runtime-benchmarks',42    'xcm-builder/runtime-benchmarks',43]44try-runtime = [45    'frame-try-runtime',46    'frame-executive/try-runtime',47    'frame-system/try-runtime',48]49std = [50    'codec/std',51    'cumulus-pallet-aura-ext/std',52    'cumulus-pallet-parachain-system/std',53    'cumulus-pallet-xcm/std',54    'cumulus-pallet-xcmp-queue/std',55    'cumulus-primitives-core/std',56    'cumulus-primitives-utility/std',57    'frame-try-runtime/std',58    'frame-executive/std',59    'frame-support/std',60    'frame-system/std',61    'frame-system-rpc-runtime-api/std',62    'pallet-aura/std',63    'pallet-balances/std',64    # 'pallet-contracts/std',65    # 'pallet-contracts-primitives/std',66    # 'pallet-contracts-rpc-runtime-api/std',67    # 'pallet-contract-helpers/std',68    'pallet-randomness-collective-flip/std',69    'pallet-sudo/std',70    'pallet-timestamp/std',71    'pallet-transaction-payment/std',72    'pallet-transaction-payment-rpc-runtime-api/std',73    'pallet-treasury/std',74    # 'pallet-vesting/std',75    'pallet-evm/std',76    'pallet-evm-migration/std',77    'pallet-evm-contract-helpers/std',78    'pallet-evm-transaction-payment/std',79    'pallet-evm-coder-substrate/std',80    'pallet-ethereum/std',81    'pallet-base-fee/std',82    'fp-rpc/std',83    'up-rpc/std',84    'fp-evm-mapping/std',85    'fp-self-contained/std',86    'parachain-info/std',87    'serde',88    'pallet-inflation/std',89    'pallet-common/std',90    'pallet-structure/std',91    'pallet-fungible/std',92    'pallet-refungible/std',93    'pallet-nonfungible/std',94    'pallet-proxy-rmrk-core/std',95    'pallet-unique/std',96    'pallet-unique-scheduler/std',97    'pallet-charge-transaction/std',98    'up-data-structs/std',99    'sp-api/std',100    'sp-block-builder/std',101    "sp-consensus-aura/std",102    'sp-core/std',103    'sp-inherents/std',104    'sp-io/std',105    'sp-offchain/std',106    'sp-runtime/std',107    'sp-session/std',108    'sp-std/std',109    'sp-transaction-pool/std',110    'sp-version/std',111    'xcm/std',112    'xcm-builder/std',113    'xcm-executor/std',114    'unique-runtime-common/std',115116    "orml-vesting/std",117]118limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']119120################################################################################121# Substrate Dependencies122123[dependencies.codec]124default-features = false125features = ['derive']126package = 'parity-scale-codec'127version = '3.1.2'128129[dependencies.frame-benchmarking]130default-features = false131git = "https://github.com/paritytech/substrate"132optional = true133branch = "polkadot-v0.9.22"134135[dependencies.frame-try-runtime]136default-features = false137git = 'https://github.com/paritytech/substrate'138optional = true139branch = 'polkadot-v0.9.22'140141[dependencies.frame-executive]142default-features = false143git = "https://github.com/paritytech/substrate"144branch = "polkadot-v0.9.22"145146[dependencies.frame-support]147default-features = false148git = "https://github.com/paritytech/substrate"149branch = "polkadot-v0.9.22"150151[dependencies.frame-system]152default-features = false153git = "https://github.com/paritytech/substrate"154branch = "polkadot-v0.9.22"155156[dependencies.frame-system-benchmarking]157default-features = false158git = "https://github.com/paritytech/substrate"159optional = true160branch = "polkadot-v0.9.22"161162[dependencies.frame-system-rpc-runtime-api]163default-features = false164git = "https://github.com/paritytech/substrate"165branch = "polkadot-v0.9.22"166167[dependencies.hex-literal]168optional = true169version = '0.3.3'170171[dependencies.serde]172default-features = false173features = ['derive']174optional = true175version = '1.0.130'176177[dependencies.pallet-aura]178default-features = false179git = "https://github.com/paritytech/substrate"180branch = "polkadot-v0.9.22"181182[dependencies.pallet-balances]183default-features = false184git = "https://github.com/paritytech/substrate"185branch = "polkadot-v0.9.22"186187# Contracts specific packages188# [dependencies.pallet-contracts]189# git = 'https://github.com/paritytech/substrate'190# default-features = false191# branch = 'master'192# version = '4.0.0-dev'193194# [dependencies.pallet-contracts-primitives]195# git = 'https://github.com/paritytech/substrate'196# default-features = false197# branch = 'master'198# version = '4.0.0-dev'199200# [dependencies.pallet-contracts-rpc-runtime-api]201# git = 'https://github.com/paritytech/substrate'202# default-features = false203# branch = 'master'204# version = '4.0.0-dev'205206[dependencies.pallet-randomness-collective-flip]207default-features = false208git = "https://github.com/paritytech/substrate"209branch = "polkadot-v0.9.22"210211[dependencies.pallet-sudo]212default-features = false213git = "https://github.com/paritytech/substrate"214branch = "polkadot-v0.9.22"215216[dependencies.pallet-timestamp]217default-features = false218git = "https://github.com/paritytech/substrate"219branch = "polkadot-v0.9.22"220221[dependencies.pallet-transaction-payment]222default-features = false223git = "https://github.com/paritytech/substrate"224branch = "polkadot-v0.9.22"225226[dependencies.pallet-transaction-payment-rpc-runtime-api]227default-features = false228git = "https://github.com/paritytech/substrate"229branch = "polkadot-v0.9.22"230231[dependencies.pallet-treasury]232default-features = false233git = "https://github.com/paritytech/substrate"234branch = "polkadot-v0.9.22"235236# [dependencies.pallet-vesting]237# default-features = false238# git = 'https://github.com/paritytech/substrate'239# branch = 'master'240241[dependencies.sp-arithmetic]242default-features = false243git = "https://github.com/paritytech/substrate"244branch = "polkadot-v0.9.22"245246[dependencies.sp-api]247default-features = false248git = "https://github.com/paritytech/substrate"249branch = "polkadot-v0.9.22"250251[dependencies.sp-block-builder]252default-features = false253git = "https://github.com/paritytech/substrate"254branch = "polkadot-v0.9.22"255256[dependencies.sp-core]257default-features = false258git = "https://github.com/paritytech/substrate"259branch = "polkadot-v0.9.22"260261[dependencies.sp-consensus-aura]262default-features = false263git = "https://github.com/paritytech/substrate"264branch = "polkadot-v0.9.22"265266[dependencies.sp-inherents]267default-features = false268git = "https://github.com/paritytech/substrate"269branch = "polkadot-v0.9.22"270271[dependencies.sp-io]272default-features = false273git = "https://github.com/paritytech/substrate"274branch = "polkadot-v0.9.22"275276[dependencies.sp-offchain]277default-features = false278git = "https://github.com/paritytech/substrate"279branch = "polkadot-v0.9.22"280281[dependencies.sp-runtime]282default-features = false283git = "https://github.com/paritytech/substrate"284branch = "polkadot-v0.9.22"285286[dependencies.sp-session]287default-features = false288git = "https://github.com/paritytech/substrate"289branch = "polkadot-v0.9.22"290291[dependencies.sp-std]292default-features = false293git = "https://github.com/paritytech/substrate"294branch = "polkadot-v0.9.22"295296[dependencies.sp-transaction-pool]297default-features = false298git = "https://github.com/paritytech/substrate"299branch = "polkadot-v0.9.22"300301[dependencies.sp-version]302default-features = false303git = "https://github.com/paritytech/substrate"304branch = "polkadot-v0.9.22"305306[dependencies.smallvec]307version = '1.6.1'308309################################################################################310# Cumulus dependencies311312[dependencies.parachain-info]313default-features = false314git = "https://github.com/paritytech/cumulus"315branch = "polkadot-v0.9.22"316317[dependencies.cumulus-pallet-aura-ext]318git = "https://github.com/paritytech/cumulus"319branch = "polkadot-v0.9.22"320default-features = false321322[dependencies.cumulus-pallet-parachain-system]323git = "https://github.com/paritytech/cumulus"324branch = "polkadot-v0.9.22"325default-features = false326327[dependencies.cumulus-primitives-core]328git = "https://github.com/paritytech/cumulus"329branch = "polkadot-v0.9.22"330default-features = false331332[dependencies.cumulus-pallet-xcm]333git = "https://github.com/paritytech/cumulus"334branch = "polkadot-v0.9.22"335default-features = false336337[dependencies.cumulus-pallet-dmp-queue]338git = "https://github.com/paritytech/cumulus"339branch = "polkadot-v0.9.22"340default-features = false341342[dependencies.cumulus-pallet-xcmp-queue]343git = "https://github.com/paritytech/cumulus"344branch = "polkadot-v0.9.22"345default-features = false346347[dependencies.cumulus-primitives-utility]348git = "https://github.com/paritytech/cumulus"349branch = "polkadot-v0.9.22"350default-features = false351352[dependencies.cumulus-primitives-timestamp]353git = "https://github.com/paritytech/cumulus"354branch = "polkadot-v0.9.22"355default-features = false356357################################################################################358# Polkadot dependencies359360[dependencies.polkadot-parachain]361git = "https://github.com/paritytech/polkadot"362branch = "release-v0.9.22"363default-features = false364365[dependencies.xcm]366git = "https://github.com/paritytech/polkadot"367branch = "release-v0.9.22"368default-features = false369370[dependencies.xcm-builder]371git = "https://github.com/paritytech/polkadot"372branch = "release-v0.9.22"373default-features = false374375[dependencies.xcm-executor]376git = "https://github.com/paritytech/polkadot"377branch = "release-v0.9.22"378default-features = false379380[dependencies.pallet-xcm]381git = "https://github.com/paritytech/polkadot"382branch = "release-v0.9.22"383default-features = false384385[dependencies.orml-vesting]386git = "https://github.com/uniquenetwork/open-runtime-module-library"387branch = "unique-polkadot-v0.9.22"388version = "0.4.1-dev"389default-features = false390391################################################################################392# RMRK dependencies393394# todo git395[dependencies.rmrk-rpc]396default-features = false397path = "../../primitives/rmrk-rpc"398399################################################################################400# local dependencies401402[dependencies]403log = { version = "0.4.16", default-features = false }404unique-runtime-common = { path = "../common", default-features = false }405scale-info = { version = "2.0.1", default-features = false, features = [406    "derive",407] }408derivative = "2.2.0"409pallet-unique = { path = '../../pallets/unique', default-features = false }410up-rpc = { path = "../../primitives/rpc", default-features = false }411fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }412pallet-inflation = { path = '../../pallets/inflation', default-features = false }413up-data-structs = { path = '../../primitives/data-structs', default-features = false }414pallet-common = { default-features = false, path = "../../pallets/common" }415pallet-structure = { default-features = false, path = "../../pallets/structure" }416pallet-fungible = { default-features = false, path = "../../pallets/fungible" }417pallet-refungible = { default-features = false, path = "../../pallets/refungible" }418pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }419pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }420pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }421# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }422pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }423pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }424pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }425pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }426pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }427pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }428pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }429pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }430fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }431fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }432433################################################################################434# Build Dependencies435436[build-dependencies.substrate-wasm-builder]437git = "https://github.com/paritytech/substrate"438branch = "polkadot-v0.9.22"
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -68,7 +68,7 @@
 		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
 	},
 };
-use pallet_unq_scheduler::DispatchCall;
+use pallet_unique_scheduler::DispatchCall;
 use up_data_structs::{
 	CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits, 
 	CollectionStats, RpcCollection, 
@@ -963,7 +963,7 @@
 }
 
 pub struct SchedulerPaymentExecutor;
-impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>
+impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
 	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
 where
 	<T as frame_system::Config>::Call: Member
@@ -973,13 +973,13 @@
 		+ From<frame_system::Call<Runtime>>,
 	SelfContainedSignedInfo: Send + Sync + 'static,
 	Call: From<<T as frame_system::Config>::Call>
-		+ From<<T as pallet_unq_scheduler::Config>::Call>
+		+ From<<T as pallet_unique_scheduler::Config>::Call>
 		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
 	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
 {
 	fn dispatch_call(
 		signer: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 	) -> Result<
 		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
 		TransactionValidityError,
@@ -1005,7 +1005,7 @@
 	fn reserve_balance(
 		id: [u8; 16],
 		sponsor: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 		count: u32,
 	) -> Result<(), DispatchError> {
 		let dispatch_info = call.get_dispatch_info();
@@ -1022,7 +1022,7 @@
 	fn pay_for_call(
 		id: [u8; 16],
 		sponsor: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 	) -> Result<u128, DispatchError> {
 		let dispatch_info = call.get_dispatch_info();
 		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
@@ -1063,7 +1063,7 @@
 	}
 }
 
-impl pallet_unq_scheduler::Config for Runtime {
+impl pallet_unique_scheduler::Config for Runtime {
 	type Event = Event;
 	type Origin = Origin;
 	type Currency = Balances;
@@ -1151,7 +1151,7 @@
 		// Unique Pallets
 		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
 		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
-		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+		Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
 		// free = 63
 		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
 		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -36,7 +36,7 @@
     'pallet-proxy-rmrk-core/runtime-benchmarks',
     'pallet-unique/runtime-benchmarks',
     'pallet-inflation/runtime-benchmarks',
-    'pallet-unq-scheduler/runtime-benchmarks',
+    'pallet-unique-scheduler/runtime-benchmarks',
     'pallet-xcm/runtime-benchmarks',
     'sp-runtime/runtime-benchmarks',
     'xcm-builder/runtime-benchmarks',
@@ -94,7 +94,7 @@
     'pallet-nonfungible/std',
     'pallet-proxy-rmrk-core/std',
     'pallet-unique/std',
-    'pallet-unq-scheduler/std',
+    'pallet-unique-scheduler/std',
     'pallet-charge-transaction/std',
     'up-data-structs/std',
     'sp-api/std',
@@ -410,7 +410,7 @@
 pallet-refungible = { default-features = false, path = "../../pallets/refungible" }
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
-pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
+pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
 pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -68,7 +68,7 @@
 		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
 	},
 };
-use pallet_unq_scheduler::DispatchCall;
+use pallet_unique_scheduler::DispatchCall;
 use up_data_structs::{
 	CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
 	CollectionStats, RpcCollection,
@@ -962,7 +962,7 @@
 }
 
 pub struct SchedulerPaymentExecutor;
-impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>
+impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
 	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
 where
 	<T as frame_system::Config>::Call: Member
@@ -972,13 +972,13 @@
 		+ From<frame_system::Call<Runtime>>,
 	SelfContainedSignedInfo: Send + Sync + 'static,
 	Call: From<<T as frame_system::Config>::Call>
-		+ From<<T as pallet_unq_scheduler::Config>::Call>
+		+ From<<T as pallet_unique_scheduler::Config>::Call>
 		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
 	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
 {
 	fn dispatch_call(
 		signer: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 	) -> Result<
 		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
 		TransactionValidityError,
@@ -1004,7 +1004,7 @@
 	fn reserve_balance(
 		id: [u8; 16],
 		sponsor: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 		count: u32,
 	) -> Result<(), DispatchError> {
 		let dispatch_info = call.get_dispatch_info();
@@ -1021,7 +1021,7 @@
 	fn pay_for_call(
 		id: [u8; 16],
 		sponsor: <T as frame_system::Config>::AccountId,
-		call: <T as pallet_unq_scheduler::Config>::Call,
+		call: <T as pallet_unique_scheduler::Config>::Call,
 	) -> Result<u128, DispatchError> {
 		let dispatch_info = call.get_dispatch_info();
 		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
@@ -1062,7 +1062,7 @@
 	}
 }
 
-impl pallet_unq_scheduler::Config for Runtime {
+impl pallet_unique_scheduler::Config for Runtime {
 	type Event = Event;
 	type Origin = Origin;
 	type Currency = Balances;
@@ -1150,7 +1150,7 @@
 		// Unique Pallets
 		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
 		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
-		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+		Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
 		// free = 63
 		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
 		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,