mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 05:31:02 +00:00
Remove Polkadot & Kusama native runtime (#1304)
This pull request removes the Polkadot and Kusama native runtime from the polkadot node. This brings some implications with it: There are no more kusama/polkadot-dev chain specs available. We will need to write some tooling in the fellowship repo to provide them easily. The try-runtime job for polkadot & kusama is not available anymore as we don't have the dev chain specs anymore. Certain benchmarking commands will also not work until we migrate them to use a runtime api. Some crates in utils are still depending on the polkadot/kusama native runtime that will also need to be fixed. Port of: https://github.com/paritytech/polkadot/pull/7467
This commit is contained in:
@@ -84,7 +84,7 @@ use telemetry::TelemetryWorker;
|
||||
#[cfg(feature = "full-node")]
|
||||
use telemetry::{Telemetry, TelemetryWorkerHandle};
|
||||
|
||||
pub use chain_spec::{KusamaChainSpec, PolkadotChainSpec, RococoChainSpec, WestendChainSpec};
|
||||
pub use chain_spec::{GenericChainSpec, RococoChainSpec, WestendChainSpec};
|
||||
pub use consensus_common::{Proposal, SelectChain};
|
||||
use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE;
|
||||
use mmr_gadget::MmrGadget;
|
||||
@@ -104,10 +104,6 @@ pub use sp_runtime::{
|
||||
traits::{self as runtime_traits, BlakeTwo256, Block as BlockT, Header as HeaderT, NumberFor},
|
||||
};
|
||||
|
||||
#[cfg(feature = "kusama-native")]
|
||||
pub use {kusama_runtime, kusama_runtime_constants};
|
||||
#[cfg(feature = "polkadot-native")]
|
||||
pub use {polkadot_runtime, polkadot_runtime_constants};
|
||||
#[cfg(feature = "rococo-native")]
|
||||
pub use {rococo_runtime, rococo_runtime_constants};
|
||||
#[cfg(feature = "westend-native")]
|
||||
|
||||
Reference in New Issue
Block a user