From 87b7a68cbeee7fc8b3c495b188bf4851d74b7ee0 Mon Sep 17 00:00:00 2001 From: Keith Date: Fri, 7 Feb 2025 23:37:41 +0800 Subject: [PATCH] Propagate features to pallet-migrations --- Cargo.lock | 1 + runtime/Cargo.toml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index dc4022404..68ecf8e20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6284,6 +6284,7 @@ version = "8.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2409#87971b3e92721bdf10bf40b410eaae779d494ca0" dependencies = [ "docify", + "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index c7f65e0f6..913ff7962 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -82,7 +82,7 @@ pallet-preimage = { workspace = true } pallet-safe-mode = { workspace = true } # Multiblock migrations pallet -pallet-migrations ={ workspace = true } +pallet-migrations = { workspace = true } # Used for the node subtensor's RPCs frame-system-rpc-runtime-api = { workspace = true } @@ -160,6 +160,7 @@ std = [ "pallet-transaction-payment/std", "pallet-utility/std", "pallet-sudo/std", + "pallet-migrations/std", "pallet-multisig/std", "pallet-proxy/std", "pallet-scheduler/std", @@ -225,6 +226,7 @@ runtime-benchmarks = [ "pallet-subtensor/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pallet-membership/runtime-benchmarks", + "pallet-migrations/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-registry/runtime-benchmarks", "pallet-commitments/runtime-benchmarks", @@ -258,6 +260,7 @@ try-runtime = [ "pallet-subtensor/try-runtime", "pallet-collective/try-runtime", "pallet-membership/try-runtime", + "pallet-migrations/try-runtime", "pallet-proxy/try-runtime", "pallet-multisig/try-runtime", "pallet-scheduler/try-runtime",