diff --git a/Cargo.lock b/Cargo.lock index d7982627a0e99..1f3ffca9b9eba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2518,7 +2518,6 @@ dependencies = [ "bp-polkadot-bulletin", "bp-polkadot-core", "bp-relayers", - "bp-rococo", "bp-runtime", "bp-westend", "bp-xcm-bridge-hub-router", @@ -2580,7 +2579,6 @@ dependencies = [ "snowbridge-pallet-inbound-queue", "snowbridge-pallet-outbound-queue", "snowbridge-pallet-system", - "snowbridge-runtime-common", "snowbridge-runtime-test-common", "snowbridge-system-runtime-api", "sp-api 26.0.0", @@ -2723,7 +2721,6 @@ dependencies = [ "bp-relayers", "bp-rococo", "bp-runtime", - "bp-westend", "bp-xcm-bridge-hub-router", "bridge-hub-common", "bridge-hub-test-utils", @@ -2786,7 +2783,6 @@ dependencies = [ "snowbridge-pallet-outbound-queue-v2", "snowbridge-pallet-system", "snowbridge-pallet-system-v2", - "snowbridge-runtime-common", "snowbridge-runtime-test-common", "snowbridge-system-runtime-api", "snowbridge-system-v2-runtime-api", @@ -4233,7 +4229,6 @@ version = "0.1.0" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", - "cumulus-client-network", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures", @@ -4794,7 +4789,6 @@ version = "0.7.0" dependencies = [ "async-trait", "cumulus-primitives-core", - "cumulus-test-relay-sproof-builder", "parity-scale-codec", "scale-info", "sp-core 28.0.0", @@ -5921,7 +5915,6 @@ dependencies = [ "pallet-balances", "pallet-bridge-messages", "pallet-message-queue", - "pallet-preimage", "pallet-whitelist", "pallet-xcm", "pallet-xcm-bridge-hub", @@ -11309,7 +11302,6 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" name = "pallet-ah-ops" version = "0.1.0" dependencies = [ - "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", @@ -13490,7 +13482,6 @@ dependencies = [ name = "pallet-staking-async-parachain-runtime" version = "0.15.0" dependencies = [ - "asset-test-utils", "assets-common", "bp-asset-hub-rococo", "bp-bridge-hub-rococo", @@ -13539,7 +13530,6 @@ dependencies = [ "pallet-nfts-runtime-api", "pallet-nomination-pools", "pallet-nomination-pools-runtime-api", - "pallet-parameters", "pallet-preimage", "pallet-proxy", "pallet-referenda", @@ -13562,7 +13552,6 @@ dependencies = [ "pallet-xcm-benchmarks", "pallet-xcm-bridge-hub-router", "parachains-common", - "parachains-runtimes-test-utils", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-runtime-common", @@ -13641,22 +13630,16 @@ dependencies = [ "pallet-beefy", "pallet-beefy-mmr", "pallet-conviction-voting", - "pallet-delegated-staking", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", "pallet-fast-unstake", "pallet-grandpa", "pallet-identity", "pallet-indices", - "pallet-membership", "pallet-message-queue", "pallet-migrations", "pallet-mmr", "pallet-multisig", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", "pallet-offences", "pallet-offences-benchmarking", "pallet-parameters", @@ -13668,12 +13651,10 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", - "pallet-society", "pallet-staking", "pallet-staking-async-ah-client", "pallet-staking-async-rc-client", "pallet-staking-async-rc-runtime-constants", - "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -22360,8 +22341,6 @@ dependencies = [ "log", "pallet-xcm", "parity-scale-codec", - "snowbridge-core", - "snowbridge-outbound-queue-primitives", "sp-arithmetic 23.0.0", "sp-std 14.0.0", "staging-xcm", @@ -22431,7 +22410,6 @@ dependencies = [ "frame-system", "log", "pallet-asset-conversion", - "pallet-xcm", "parity-scale-codec", "scale-info", "snowbridge-core", @@ -22944,7 +22922,6 @@ dependencies = [ "bounded-collections 0.3.2", "bs58", "criterion", - "dyn-clonable", "dyn-clone", "ed25519-zebra 4.0.3", "futures", @@ -22973,7 +22950,6 @@ dependencies = [ "sp-crypto-hashing 0.1.0", "sp-debug-derive 14.0.0", "sp-externalities 0.25.0", - "sp-runtime-interface 24.0.0", "sp-std 14.0.0", "sp-storage 19.0.0", "ss58-registry", @@ -23640,7 +23616,6 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.26.0", - "primitive-types 0.13.1", "rustversion", "sp-externalities 0.25.0", "sp-io 30.0.0", @@ -28686,7 +28661,6 @@ dependencies = [ "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "testnet-parachains-constants", ] [[package]] diff --git a/bridges/snowbridge/runtime/runtime-common/Cargo.toml b/bridges/snowbridge/runtime/runtime-common/Cargo.toml index 121fba6664555..726d2e4d4c458 100644 --- a/bridges/snowbridge/runtime/runtime-common/Cargo.toml +++ b/bridges/snowbridge/runtime/runtime-common/Cargo.toml @@ -20,8 +20,6 @@ frame-support = { workspace = true } frame-system = { workspace = true } log = { workspace = true } pallet-xcm = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } sp-arithmetic = { workspace = true } sp-std = { workspace = true } xcm = { workspace = true } @@ -38,8 +36,6 @@ std = [ "frame-system/std", "log/std", "pallet-xcm/std", - "snowbridge-core/std", - "snowbridge-outbound-queue-primitives/std", "sp-arithmetic/std", "sp-std/std", "xcm-builder/std", @@ -50,7 +46,6 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm/runtime-benchmarks", diff --git a/bridges/snowbridge/test-utils/Cargo.toml b/bridges/snowbridge/test-utils/Cargo.toml index 3e0c35a2df4e1..5b11940b337d0 100644 --- a/bridges/snowbridge/test-utils/Cargo.toml +++ b/bridges/snowbridge/test-utils/Cargo.toml @@ -22,7 +22,6 @@ frame-support = { workspace = true, default-features = true } frame-system = { workspace = true, default-features = true } log = { workspace = true, default-features = true } pallet-asset-conversion = { workspace = true, default-features = true } -pallet-xcm = { workspace = true, default-features = true } scale-info = { features = ["derive"], workspace = true, default-features = true } snowbridge-core = { workspace = true, default-features = true } snowbridge-outbound-queue-primitives = { workspace = true, default-features = true } @@ -37,7 +36,6 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-asset-conversion/runtime-benchmarks", - "pallet-xcm/runtime-benchmarks", "snowbridge-core/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", diff --git a/cumulus/client/bootnodes/Cargo.toml b/cumulus/client/bootnodes/Cargo.toml index 48bc0484b0dff..25821ff7b2e6f 100644 --- a/cumulus/client/bootnodes/Cargo.toml +++ b/cumulus/client/bootnodes/Cargo.toml @@ -36,7 +36,6 @@ sp-runtime = { workspace = true, default-features = true } # Polkadot # Cumulus -cumulus-client-network = { workspace = true, default-features = true } cumulus-primitives-core = { workspace = true, default-features = true } cumulus-relay-chain-interface = { workspace = true, default-features = true } parachains-common = { workspace = true, default-features = true } diff --git a/cumulus/pallets/ah-ops/Cargo.toml b/cumulus/pallets/ah-ops/Cargo.toml index cb195ff293e11..3fababe04a5d0 100644 --- a/cumulus/pallets/ah-ops/Cargo.toml +++ b/cumulus/pallets/ah-ops/Cargo.toml @@ -12,7 +12,6 @@ exclude-from-umbrella = true # for AHM only [dependencies] codec = { workspace = true, features = ["max-encoded-len"] } -cumulus-primitives-core = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -31,7 +30,6 @@ sp-std = { workspace = true } default = ["std"] std = [ "codec/std", - "cumulus-primitives-core/std", "frame-benchmarking?/std", "frame-support/std", "frame-system/std", @@ -47,7 +45,6 @@ std = [ "sp-std/std", ] runtime-benchmarks = [ - "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", diff --git a/cumulus/parachains/integration-tests/emulated/common/Cargo.toml b/cumulus/parachains/integration-tests/emulated/common/Cargo.toml index 8e701adb14535..c31196a9ef50c 100644 --- a/cumulus/parachains/integration-tests/emulated/common/Cargo.toml +++ b/cumulus/parachains/integration-tests/emulated/common/Cargo.toml @@ -23,7 +23,6 @@ pallet-asset-conversion = { workspace = true, default-features = true } pallet-assets = { workspace = true, default-features = true } pallet-balances = { workspace = true, default-features = true } pallet-message-queue = { workspace = true, default-features = true } -pallet-preimage = { workspace = true, default-features = true } pallet-whitelist = { workspace = true, default-features = true } sc-consensus-grandpa = { workspace = true, default-features = true } sp-authority-discovery = { workspace = true, default-features = true } diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml index eda1869c92006..c6bd870e78863 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml @@ -94,7 +94,6 @@ bp-parachains = { workspace = true } bp-polkadot-bulletin = { workspace = true } bp-polkadot-core = { workspace = true } bp-relayers = { workspace = true } -bp-rococo = { workspace = true } bp-runtime = { workspace = true } bp-westend = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } @@ -116,7 +115,6 @@ snowbridge-pallet-ethereum-client = { workspace = true } snowbridge-pallet-inbound-queue = { workspace = true } snowbridge-pallet-outbound-queue = { workspace = true } snowbridge-pallet-system = { workspace = true } -snowbridge-runtime-common = { workspace = true } snowbridge-system-runtime-api = { workspace = true } bridge-hub-common = { workspace = true } @@ -141,7 +139,6 @@ std = [ "bp-polkadot-bulletin/std", "bp-polkadot-core/std", "bp-relayers/std", - "bp-rococo/std", "bp-runtime/std", "bp-westend/std", "bp-xcm-bridge-hub-router/std", @@ -201,7 +198,6 @@ std = [ "snowbridge-pallet-inbound-queue/std", "snowbridge-pallet-outbound-queue/std", "snowbridge-pallet-system/std", - "snowbridge-runtime-common/std", "snowbridge-system-runtime-api/std", "sp-api/std", "sp-block-builder/std", @@ -262,7 +258,6 @@ runtime-benchmarks = [ "snowbridge-pallet-inbound-queue/runtime-benchmarks", "snowbridge-pallet-outbound-queue/runtime-benchmarks", "snowbridge-pallet-system/runtime-benchmarks", - "snowbridge-runtime-common/runtime-benchmarks", "snowbridge-runtime-test-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", @@ -303,7 +298,6 @@ try-runtime = [ "snowbridge-pallet-inbound-queue/try-runtime", "snowbridge-pallet-outbound-queue/try-runtime", "snowbridge-pallet-system/try-runtime", - "snowbridge-runtime-common/try-runtime", "sp-runtime/try-runtime", ] fast-runtime = [] diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml index 62513d0fd732b..49c6861c99bec 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml @@ -93,7 +93,6 @@ bp-polkadot-core = { workspace = true } bp-relayers = { workspace = true } bp-rococo = { workspace = true } bp-runtime = { workspace = true } -bp-westend = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } bridge-hub-common = { workspace = true } bridge-runtime-common = { workspace = true } @@ -118,7 +117,6 @@ snowbridge-pallet-outbound-queue = { workspace = true } snowbridge-pallet-outbound-queue-v2 = { workspace = true } snowbridge-pallet-system = { workspace = true } snowbridge-pallet-system-v2 = { workspace = true } -snowbridge-runtime-common = { workspace = true } snowbridge-system-runtime-api = { workspace = true } snowbridge-system-v2-runtime-api = { workspace = true } @@ -145,7 +143,6 @@ std = [ "bp-relayers/std", "bp-rococo/std", "bp-runtime/std", - "bp-westend/std", "bp-xcm-bridge-hub-router/std", "bridge-hub-common/std", "bridge-runtime-common/std", @@ -206,7 +203,6 @@ std = [ "snowbridge-pallet-outbound-queue/std", "snowbridge-pallet-system-v2/std", "snowbridge-pallet-system/std", - "snowbridge-runtime-common/std", "snowbridge-system-runtime-api/std", "snowbridge-system-v2-runtime-api/std", "sp-api/std", @@ -274,7 +270,6 @@ runtime-benchmarks = [ "snowbridge-pallet-outbound-queue/runtime-benchmarks", "snowbridge-pallet-system-v2/runtime-benchmarks", "snowbridge-pallet-system/runtime-benchmarks", - "snowbridge-runtime-common/runtime-benchmarks", "snowbridge-runtime-test-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "westend-runtime-constants/runtime-benchmarks", @@ -320,7 +315,6 @@ try-runtime = [ "snowbridge-pallet-outbound-queue/try-runtime", "snowbridge-pallet-system-v2/try-runtime", "snowbridge-pallet-system/try-runtime", - "snowbridge-runtime-common/try-runtime", "sp-runtime/try-runtime", ] diff --git a/cumulus/parachains/runtimes/testing/yet-another-parachain/Cargo.toml b/cumulus/parachains/runtimes/testing/yet-another-parachain/Cargo.toml index c45a71d5c97b3..099483c0c0635 100644 --- a/cumulus/parachains/runtimes/testing/yet-another-parachain/Cargo.toml +++ b/cumulus/parachains/runtimes/testing/yet-another-parachain/Cargo.toml @@ -66,7 +66,6 @@ cumulus-primitives-core = { workspace = true } cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } parachains-common = { workspace = true } -testnet-parachains-constants = { features = ["rococo"], workspace = true } [build-dependencies] substrate-wasm-builder = { optional = true, workspace = true, default-features = true } @@ -120,7 +119,6 @@ std = [ "sp-transaction-pool/std", "sp-version/std", "substrate-wasm-builder", - "testnet-parachains-constants/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", diff --git a/cumulus/primitives/parachain-inherent/Cargo.toml b/cumulus/primitives/parachain-inherent/Cargo.toml index 61c480fe3c514..2ff990b8d5147 100644 --- a/cumulus/primitives/parachain-inherent/Cargo.toml +++ b/cumulus/primitives/parachain-inherent/Cargo.toml @@ -24,9 +24,6 @@ sp-trie = { workspace = true } # Cumulus cumulus-primitives-core = { workspace = true } -[dev-dependencies] -cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } - [features] default = ["std"] std = [ diff --git a/prdoc/pr_9235.prdoc b/prdoc/pr_9235.prdoc new file mode 100644 index 0000000000000..5e4d1671f09ed --- /dev/null +++ b/prdoc/pr_9235.prdoc @@ -0,0 +1,34 @@ +title: Remove unused deps +doc: +- audience: Runtime Dev + description: |- + Remove unused deps using `cargo udeps` +crates: +- name: bridge-hub-rococo-runtime + bump: patch +- name: bridge-hub-westend-runtime + bump: patch +- name: cumulus-client-bootnodes + bump: patch +- name: cumulus-primitives-parachain-inherent + bump: patch +- name: emulated-integration-tests-common + bump: patch +- name: pallet-ah-ops + bump: patch +- name: pallet-staking-async-parachain-runtime + bump: patch +- name: pallet-staking-async-rc-runtime + bump: patch +- name: polkadot-node-core-pvf + bump: patch +- name: snowbridge-runtime-common + bump: patch +- name: snowbridge-test-utils + bump: patch +- name: sp-core + bump: patch +- name: sp-runtime-interface + bump: patch +- name: yet-another-parachain-runtime + bump: patch diff --git a/substrate/frame/staking-async/runtimes/parachain/Cargo.toml b/substrate/frame/staking-async/runtimes/parachain/Cargo.toml index dab33c7feac1d..9469a5dece502 100644 --- a/substrate/frame/staking-async/runtimes/parachain/Cargo.toml +++ b/substrate/frame/staking-async/runtimes/parachain/Cargo.toml @@ -50,7 +50,6 @@ pallet-nfts = { workspace = true } pallet-nfts-runtime-api = { workspace = true } pallet-nomination-pools = { workspace = true } pallet-nomination-pools-runtime-api = { workspace = true } -pallet-parameters = { workspace = true } pallet-preimage = { workspace = true } pallet-proxy = { workspace = true } pallet-referenda = { workspace = true } @@ -130,8 +129,6 @@ bp-bridge-hub-westend = { workspace = true } pallet-xcm-bridge-hub-router = { workspace = true } [dev-dependencies] -asset-test-utils = { workspace = true, default-features = true } -parachains-runtimes-test-utils = { workspace = true, default-features = true } sp-tracing = { workspace = true, default-features = true } [build-dependencies] @@ -172,7 +169,6 @@ runtime-benchmarks = [ "pallet-nft-fractionalization/runtime-benchmarks", "pallet-nfts/runtime-benchmarks", "pallet-nomination-pools/runtime-benchmarks", - "pallet-parameters/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", @@ -236,7 +232,6 @@ try-runtime = [ "pallet-nft-fractionalization/try-runtime", "pallet-nfts/try-runtime", "pallet-nomination-pools/try-runtime", - "pallet-parameters/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-referenda/try-runtime", @@ -310,7 +305,6 @@ std = [ "pallet-nfts/std", "pallet-nomination-pools-runtime-api/std", "pallet-nomination-pools/std", - "pallet-parameters/std", "pallet-preimage/std", "pallet-proxy/std", "pallet-referenda/std", diff --git a/substrate/frame/staking-async/runtimes/rc/Cargo.toml b/substrate/frame/staking-async/runtimes/rc/Cargo.toml index f444cf68536f3..32a0f40477e79 100644 --- a/substrate/frame/staking-async/runtimes/rc/Cargo.toml +++ b/substrate/frame/staking-async/runtimes/rc/Cargo.toml @@ -61,20 +61,15 @@ pallet-balances = { workspace = true } pallet-beefy = { workspace = true } pallet-beefy-mmr = { workspace = true } pallet-conviction-voting = { workspace = true } -pallet-delegated-staking = { workspace = true } pallet-election-provider-multi-phase = { workspace = true } -pallet-elections-phragmen = { workspace = true } pallet-fast-unstake = { workspace = true } pallet-grandpa = { workspace = true } pallet-identity = { workspace = true } pallet-indices = { workspace = true } -pallet-membership = { workspace = true } pallet-message-queue = { workspace = true } pallet-migrations = { workspace = true } pallet-mmr = { workspace = true } pallet-multisig = { workspace = true } -pallet-nomination-pools = { workspace = true } -pallet-nomination-pools-runtime-api = { workspace = true } pallet-offences = { workspace = true } pallet-parameters = { workspace = true } pallet-preimage = { workspace = true } @@ -84,12 +79,10 @@ pallet-referenda = { workspace = true } pallet-root-testing = { workspace = true } pallet-scheduler = { workspace = true } pallet-session = { workspace = true } -pallet-society = { workspace = true } pallet-staking = { workspace = true } pallet-staking-async-ah-client = { workspace = true } pallet-staking-async-rc-client = { workspace = true } pallet-staking-async-rc-runtime-constants = { workspace = true } -pallet-state-trie-migration = { workspace = true } pallet-sudo = { workspace = true } pallet-timestamp = { workspace = true } pallet-transaction-payment = { workspace = true } @@ -106,7 +99,6 @@ frame-system-benchmarking = { optional = true, workspace = true } frame-try-runtime = { optional = true, workspace = true } hex-literal = { workspace = true, default-features = true } pallet-election-provider-support-benchmarking = { optional = true, workspace = true } -pallet-nomination-pools-benchmarking = { optional = true, workspace = true } pallet-offences-benchmarking = { optional = true, workspace = true } pallet-session-benchmarking = { optional = true, workspace = true } @@ -158,22 +150,16 @@ std = [ "pallet-beefy-mmr/std", "pallet-beefy/std", "pallet-conviction-voting/std", - "pallet-delegated-staking/std", "pallet-election-provider-multi-phase/std", "pallet-election-provider-support-benchmarking?/std", - "pallet-elections-phragmen/std", "pallet-fast-unstake/std", "pallet-grandpa/std", "pallet-identity/std", "pallet-indices/std", - "pallet-membership/std", "pallet-message-queue/std", "pallet-migrations/std", "pallet-mmr/std", "pallet-multisig/std", - "pallet-nomination-pools-benchmarking?/std", - "pallet-nomination-pools-runtime-api/std", - "pallet-nomination-pools/std", "pallet-offences-benchmarking?/std", "pallet-offences/std", "pallet-parameters/std", @@ -185,12 +171,10 @@ std = [ "pallet-scheduler/std", "pallet-session-benchmarking?/std", "pallet-session/std", - "pallet-society/std", "pallet-staking-async-ah-client/std", "pallet-staking-async-rc-client/std", "pallet-staking-async-rc-runtime-constants/std", "pallet-staking/std", - "pallet-state-trie-migration/std", "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", @@ -248,21 +232,16 @@ runtime-benchmarks = [ "pallet-balances/runtime-benchmarks", "pallet-beefy-mmr/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", - "pallet-delegated-staking/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-election-provider-support-benchmarking/runtime-benchmarks", - "pallet-elections-phragmen/runtime-benchmarks", "pallet-fast-unstake/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-indices/runtime-benchmarks", - "pallet-membership/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-migrations/runtime-benchmarks", "pallet-mmr/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", - "pallet-nomination-pools-benchmarking/runtime-benchmarks", - "pallet-nomination-pools/runtime-benchmarks", "pallet-offences-benchmarking/runtime-benchmarks", "pallet-offences/runtime-benchmarks", "pallet-parameters/runtime-benchmarks", @@ -272,11 +251,9 @@ runtime-benchmarks = [ "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks", - "pallet-society/runtime-benchmarks", "pallet-staking-async-ah-client/runtime-benchmarks", "pallet-staking-async-rc-client/runtime-benchmarks", "pallet-staking/runtime-benchmarks", - "pallet-state-trie-migration/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", @@ -313,19 +290,15 @@ try-runtime = [ "pallet-beefy-mmr/try-runtime", "pallet-beefy/try-runtime", "pallet-conviction-voting/try-runtime", - "pallet-delegated-staking/try-runtime", "pallet-election-provider-multi-phase/try-runtime", - "pallet-elections-phragmen/try-runtime", "pallet-fast-unstake/try-runtime", "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", "pallet-indices/try-runtime", - "pallet-membership/try-runtime", "pallet-message-queue/try-runtime", "pallet-migrations/try-runtime", "pallet-mmr/try-runtime", "pallet-multisig/try-runtime", - "pallet-nomination-pools/try-runtime", "pallet-offences/try-runtime", "pallet-parameters/try-runtime", "pallet-preimage/try-runtime", @@ -335,11 +308,9 @@ try-runtime = [ "pallet-root-testing/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", - "pallet-society/try-runtime", "pallet-staking-async-ah-client/try-runtime", "pallet-staking-async-rc-client/try-runtime", "pallet-staking/try-runtime", - "pallet-state-trie-migration/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", diff --git a/substrate/primitives/core/Cargo.toml b/substrate/primitives/core/Cargo.toml index 21de92a2b929a..892990b0e293a 100644 --- a/substrate/primitives/core/Cargo.toml +++ b/substrate/primitives/core/Cargo.toml @@ -28,7 +28,6 @@ bitflags = { workspace = true } bounded-collections = { workspace = true, features = ["scale-codec"] } bs58 = { optional = true, workspace = true } codec = { features = ["derive", "max-encoded-len"], workspace = true } -dyn-clonable = { optional = true, workspace = true } futures = { optional = true, workspace = true } hash-db = { workspace = true } hash256-std-hasher = { workspace = true } @@ -60,7 +59,6 @@ libsecp256k1 = { features = ["static-context"], workspace = true } merlin = { workspace = true } schnorrkel = { features = ["preaudit_deprecated"], workspace = true } sp-crypto-hashing = { workspace = true } -sp-runtime-interface = { workspace = true } # k256 crate, better portability, intended to be used in substrate-runtimes (no-std) k256 = { features = ["alloc", "ecdsa"], workspace = true } # secp256k1 crate, better performance, intended to be used on host side (std) @@ -120,7 +118,6 @@ std = [ "sp-crypto-hashing/std", "sp-debug-derive/std", "sp-externalities/std", - "sp-runtime-interface/std", "sp-std/std", "sp-storage/std", "ss58-registry/std", @@ -150,7 +147,6 @@ serde = [ # For the regular wasm runtime builds this should not be used. full_crypto = [ "blake2", - "sp-runtime-interface/disable_target_static_assertions", ] # This feature adds BLS crypto primitives. diff --git a/substrate/primitives/runtime-interface/Cargo.toml b/substrate/primitives/runtime-interface/Cargo.toml index 6178feb557f10..88080bd9d81b9 100644 --- a/substrate/primitives/runtime-interface/Cargo.toml +++ b/substrate/primitives/runtime-interface/Cargo.toml @@ -20,7 +20,6 @@ targets = ["x86_64-unknown-linux-gnu"] bytes = { workspace = true } codec = { features = ["bytes"], workspace = true } impl-trait-for-tuples = { workspace = true } -primitive-types = { workspace = true } sp-externalities = { workspace = true } sp-runtime-interface-proc-macro = { workspace = true, default-features = true } sp-std = { workspace = true } @@ -44,7 +43,6 @@ default = ["std"] std = [ "bytes/std", "codec/std", - "primitive-types/std", "sp-externalities/std", "sp-io/std", "sp-runtime-interface-test-wasm/std",