From 59ae0eb7a64f96e6b963858743c38926e4002e72 Mon Sep 17 00:00:00 2001 From: Daanvdplas Date: Fri, 18 Oct 2024 10:53:20 +0200 Subject: [PATCH] remove: pallet-api --- Cargo.lock | 1 - Cargo.toml | 1 - crates/pop-drink/Cargo.toml | 1 - crates/pop-drink/src/mock.rs | 7 ------- 4 files changed, 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b5fb1e..a346fcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4666,7 +4666,6 @@ dependencies = [ "frame-support", "frame-system", "ink_sandbox", - "pallet-api", "pallet-assets", "pallet-balances", "pallet-contracts", diff --git a/Cargo.toml b/Cargo.toml index 9b65db7..b2f579c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,6 @@ sp-runtime-interface = { version = "28.0.0", features = ["std"] } # Local drink = { path = "crates/drink/drink" } ink_sandbox = { path = "crates/ink-sandbox" } -pallet-api = { path = "../pop-node/pallets/api" } pop-api = { path = "../pop-node/pop-api" } pop-drink = { path = "crates/pop-drink" } pop-runtime-devnet = { path = "../pop-node/runtime/devnet" } diff --git a/crates/pop-drink/Cargo.toml b/crates/pop-drink/Cargo.toml index e82fa10..5c7f26c 100644 --- a/crates/pop-drink/Cargo.toml +++ b/crates/pop-drink/Cargo.toml @@ -16,7 +16,6 @@ pop-api.workspace = true [dev-dependencies] scale-info = { workspace = true, features = ["derive"] } -pallet-api.workspace = true pallet-assets.workspace = true pallet-balances.workspace = true pallet-timestamp.workspace = true diff --git a/crates/pop-drink/src/mock.rs b/crates/pop-drink/src/mock.rs index 5dcfd68..08d0746 100644 --- a/crates/pop-drink/src/mock.rs +++ b/crates/pop-drink/src/mock.rs @@ -20,7 +20,6 @@ frame_support::construct_runtime!( Balances: pallet_balances, Timestamp: pallet_timestamp, Contracts: pallet_contracts, - Fungibles: pallet_api::fungibles, } ); @@ -87,12 +86,6 @@ impl pallet_assets::Config for Test { type RuntimeEvent = RuntimeEvent; } -impl pallet_api::fungibles::Config for Test { - type AssetsInstance = AssetsInstance; - type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); -} - parameter_types! { pub MySchedule: Schedule = { let schedule = >::default();