diff --git a/prdoc/pr_10634.prdoc b/prdoc/pr_10634.prdoc new file mode 100644 index 0000000000000..52c35663ee08b --- /dev/null +++ b/prdoc/pr_10634.prdoc @@ -0,0 +1,20 @@ +# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 +# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json + +title: Remove uses of sp-debug-derive/force-debug feature + +doc: + - audience: Runtime Dev + description: | + Removes the `force-debug` feature flag from `sp-debug-derive` dependencies across the codebase. + This feature has been a no-op since #10582 and can be safely removed without any behavioral change. + +crates: + - name: kitchensink-runtime + bump: none + - name: revive-dev-runtime + bump: none + - name: frame-support + bump: none + - name: substrate-test-runtime + bump: none diff --git a/substrate/bin/node/runtime/Cargo.toml b/substrate/bin/node/runtime/Cargo.toml index 2ca8840314187..bf813ad5422c6 100644 --- a/substrate/bin/node/runtime/Cargo.toml +++ b/substrate/bin/node/runtime/Cargo.toml @@ -25,7 +25,7 @@ rand = { workspace = true, optional = true } rand_pcg = { workspace = true, optional = true } scale-info = { features = ["derive", "serde"], workspace = true } serde_json = { features = ["alloc", "arbitrary_precision"], workspace = true } -sp-debug-derive = { workspace = true, features = ["force-debug"] } +sp-debug-derive = { workspace = true } static_assertions = { workspace = true, default-features = true } # pallet-asset-conversion: turn on "num-traits" feature diff --git a/substrate/frame/revive/dev-node/runtime/Cargo.toml b/substrate/frame/revive/dev-node/runtime/Cargo.toml index dcc05dc2120d1..e135956244d4e 100644 --- a/substrate/frame/revive/dev-node/runtime/Cargo.toml +++ b/substrate/frame/revive/dev-node/runtime/Cargo.toml @@ -25,7 +25,7 @@ polkadot-sdk = { workspace = true, features = [ ] } scale-info = { workspace = true } serde_json = { workspace = true, default-features = false, features = ["alloc"] } -sp-debug-derive = { workspace = true, features = ["force-debug"] } +sp-debug-derive = { workspace = true } [build-dependencies] polkadot-sdk = { optional = true, workspace = true, features = ["substrate-wasm-builder"] } diff --git a/substrate/frame/support/Cargo.toml b/substrate/frame/support/Cargo.toml index 8d0d9a8e5759b..2bfc3ba2b9b0c 100644 --- a/substrate/frame/support/Cargo.toml +++ b/substrate/frame/support/Cargo.toml @@ -96,7 +96,6 @@ runtime-benchmarks = [ ] try-runtime = [ "frame-system/try-runtime", - "sp-debug-derive/force-debug", "sp-runtime/try-runtime", ] experimental = ["frame-support-procedural/experimental"] diff --git a/substrate/test-utils/runtime/Cargo.toml b/substrate/test-utils/runtime/Cargo.toml index 91bf368f573cd..45d1328d6824e 100644 --- a/substrate/test-utils/runtime/Cargo.toml +++ b/substrate/test-utils/runtime/Cargo.toml @@ -36,7 +36,7 @@ sp-consensus-babe = { features = ["serde"], workspace = true } sp-consensus-grandpa = { features = ["serde"], workspace = true } sp-core = { features = ["serde"], workspace = true } sp-crypto-hashing = { workspace = true } -sp-debug-derive = { workspace = true, default-features = false, features = ["force-debug"] } +sp-debug-derive = { workspace = true, default-features = false } sp-externalities = { workspace = true } sp-genesis-builder = { workspace = true } sp-inherents = { workspace = true }