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
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "pallet-template"
|
||||
name = "pallet-parachain-template"
|
||||
authors = ["Anonymous"]
|
||||
description = "FRAME pallet template for defining custom runtime logic."
|
||||
version = "0.1.0"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Benchmarking setup for pallet-template
|
||||
//! Benchmarking setup for pallet-parachain-template
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
use crate as pallet_template;
|
||||
use frame_support::{parameter_types, traits::Everything};
|
||||
use frame_system as system;
|
||||
use sp_core::H256;
|
||||
@@ -18,7 +17,7 @@ frame_support::construct_runtime!(
|
||||
UncheckedExtrinsic = UncheckedExtrinsic,
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Config, Storage, Event<T>},
|
||||
TemplateModule: pallet_template::{Pallet, Call, Storage, Event<T>},
|
||||
TemplateModule: crate::{Pallet, Call, Storage, Event<T>},
|
||||
}
|
||||
);
|
||||
|
||||
@@ -54,7 +53,7 @@ impl system::Config for Test {
|
||||
type MaxConsumers = frame_support::traits::ConstU32<16>;
|
||||
}
|
||||
|
||||
impl pallet_template::Config for Test {
|
||||
impl crate::Config for Test {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user