[cumulus] Feature gates for rococo/westend related stuff in the `parachains-common` (#3041)
This PR avoids automatically pulling rococo/westend runtime constants
into the runtime by default. Usually, we have testnet runtimes dedicated
to rococo or westend, and therefore, we don't need both dependencies.
Additionally, it prevents pulling rococo/westend-related items into the
`polkadot-fellows` repo, as seen in the Cargo.lock
[here](https://github.com/polkadot-fellows/runtimes/blob/main/Cargo.lock#L14137-L14151)
and
[here](https://github.com/polkadot-fellows/runtimes/blob/main/Cargo.lock#L9756-L9770).
---------
Co-authored-by:
Adrian Catangiu <adrian@parity.io>
parent
4374b5d5
Showing
- cumulus/parachains/common/Cargo.toml 10 additions, 4 deletionscumulus/parachains/common/Cargo.toml
- cumulus/parachains/common/src/lib.rs 2 additions, 0 deletionscumulus/parachains/common/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/Cargo.toml 1 addition, 1 deletion...us/parachains/runtimes/assets/asset-hub-rococo/Cargo.toml
- cumulus/parachains/runtimes/assets/asset-hub-westend/Cargo.toml 1 addition, 1 deletion...s/parachains/runtimes/assets/asset-hub-westend/Cargo.toml
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml 1 addition, 1 deletion...achains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml 1 addition, 1 deletion...chains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml
- cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml 1 addition, 1 deletion...hains/runtimes/collectives/collectives-westend/Cargo.toml
- cumulus/parachains/runtimes/contracts/contracts-rococo/Cargo.toml 1 addition, 1 deletion...parachains/runtimes/contracts/contracts-rococo/Cargo.toml
- cumulus/parachains/runtimes/coretime/coretime-rococo/Cargo.toml 1 addition, 1 deletion...s/parachains/runtimes/coretime/coretime-rococo/Cargo.toml
- cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml 1 addition, 1 deletion.../parachains/runtimes/coretime/coretime-westend/Cargo.toml
- cumulus/parachains/runtimes/glutton/glutton-westend/Cargo.toml 1 addition, 1 deletion...us/parachains/runtimes/glutton/glutton-westend/Cargo.toml
- cumulus/parachains/runtimes/people/people-rococo/Cargo.toml 1 addition, 1 deletioncumulus/parachains/runtimes/people/people-rococo/Cargo.toml
- cumulus/parachains/runtimes/people/people-westend/Cargo.toml 1 addition, 1 deletioncumulus/parachains/runtimes/people/people-westend/Cargo.toml
- cumulus/parachains/runtimes/testing/penpal/Cargo.toml 1 addition, 1 deletioncumulus/parachains/runtimes/testing/penpal/Cargo.toml
- cumulus/parachains/runtimes/testing/rococo-parachain/Cargo.toml 1 addition, 1 deletion...s/parachains/runtimes/testing/rococo-parachain/Cargo.toml
Please register or sign in to comment