diff --git a/polkadot-sdk-minimal-template/Cargo.lock b/polkadot-sdk-minimal-template/Cargo.lock index 5a0f4dd..ab5f44f 100644 --- a/polkadot-sdk-minimal-template/Cargo.lock +++ b/polkadot-sdk-minimal-template/Cargo.lock @@ -4295,7 +4295,6 @@ name = "minimal-template-runtime" version = "0.1.0" dependencies = [ "pallet-balances", - "pallet-kitties", "pallet-minimal-template", "pallet-sudo", "pallet-timestamp", @@ -4940,15 +4939,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-kitties" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "polkadot-sdk-frame", - "scale-info", -] - [[package]] name = "pallet-minimal-template" version = "0.1.0" diff --git a/polkadot-sdk-minimal-template/Cargo.toml b/polkadot-sdk-minimal-template/Cargo.toml index cccded3..ea6bfcc 100644 --- a/polkadot-sdk-minimal-template/Cargo.toml +++ b/polkadot-sdk-minimal-template/Cargo.toml @@ -16,7 +16,6 @@ resolver = "2" [workspace.dependencies] minimal-template-runtime = { path = "./runtime", default-features = false } pallet-minimal-template = { path = "./pallets/template", default-features = false } -pallet-kitties = { path = "../substrate-collectables-workshop", default-features = false } clap = { version = "4.5.3" } docify = { version = "0.2.8" } frame = { version = "0.6.0", default-features = false, package = "polkadot-sdk-frame" } diff --git a/polkadot-sdk-minimal-template/runtime/Cargo.toml b/polkadot-sdk-minimal-template/runtime/Cargo.toml index ac346a0..5bc5227 100644 --- a/polkadot-sdk-minimal-template/runtime/Cargo.toml +++ b/polkadot-sdk-minimal-template/runtime/Cargo.toml @@ -21,7 +21,6 @@ pallet-transaction-payment-rpc-runtime-api.workspace = true sp-genesis-builder.workspace = true sp-runtime = { features = ["serde"], workspace = true } pallet-minimal-template.workspace = true -pallet-kitties.workspace = true [build-dependencies] substrate-wasm-builder = { optional = true, workspace = true, default-features = true } @@ -41,7 +40,6 @@ std = [ "pallet-transaction-payment/std", "pallet-minimal-template/std", - "pallet-kitties/std", "sp-genesis-builder/std", "sp-runtime/std", diff --git a/polkadot-sdk-minimal-template/runtime/src/lib.rs b/polkadot-sdk-minimal-template/runtime/src/lib.rs index 55f62b2..08ad537 100644 --- a/polkadot-sdk-minimal-template/runtime/src/lib.rs +++ b/polkadot-sdk-minimal-template/runtime/src/lib.rs @@ -123,10 +123,6 @@ mod runtime { /// A minimal pallet template. #[runtime::pallet_index(5)] pub type Template = pallet_minimal_template::Pallet; - - /// A kitties nft marketplace pallet. - #[runtime::pallet_index(6)] - pub type Kitties = pallet_kitties::Pallet; } parameter_types! { @@ -169,12 +165,6 @@ impl pallet_transaction_payment::Config for Runtime { // Implements the types required for the template pallet. impl pallet_minimal_template::Config for Runtime {} -impl pallet_kitties::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type NativeBalance = Balances; -} - - type Block = frame::runtime::types_common::BlockOf; type Header = HeaderFor;