mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Prevent name clash with Substrate Pallet Template (#2536)
* Remove cumulus template pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use substrate template pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert back to master Revert "Remove cumulus template pallet" This reverts commit a6d3566e52e9124c0e9823c12cacea557187c6b4. Revert "Use substrate template pallet" This reverts commit fbb8eea28dec5b75e13823762572d24bd9a4b88f. Revert "Update Cargo.lock" This reverts commit ee24cb81e5d91d6b8f7ef0c97d0f0fdbfe857c53. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * pallet-template -> pallet-parachain-template Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
943e2c8622
commit
27d80ba4a9
@@ -58,7 +58,7 @@ use xcm::latest::prelude::BodyId;
|
||||
use xcm_executor::XcmExecutor;
|
||||
|
||||
/// Import the template pallet.
|
||||
pub use pallet_template;
|
||||
pub use pallet_parachain_template;
|
||||
|
||||
/// Alias to 512-bit hash when used in the context of a transaction signature on the chain.
|
||||
pub type Signature = MultiSignature;
|
||||
@@ -457,7 +457,7 @@ impl pallet_collator_selection::Config for Runtime {
|
||||
}
|
||||
|
||||
/// Configure the pallet template in pallets/template.
|
||||
impl pallet_template::Config for Runtime {
|
||||
impl pallet_parachain_template::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
@@ -492,7 +492,7 @@ construct_runtime!(
|
||||
DmpQueue: cumulus_pallet_dmp_queue = 33,
|
||||
|
||||
// Template
|
||||
TemplatePallet: pallet_template = 40,
|
||||
TemplatePallet: pallet_parachain_template = 40,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user