mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Remove system parachains Polkadot and Kusama runtimes (#1737)
Since the Polkadot and Kusama runtimes are no longer in the repo, the relevant systems parachains runtimes also need to be removed. More context [here](https://github.com/paritytech/polkadot-sdk/issues/603) and [here](https://github.com/paritytech/polkadot-sdk/pull/1731). Removes the following: - `asset-hub-kusama` and `asset-hub-polkadot` - `bridge-hub-kusama` and `bridge-hub-polkadot` - `collectives-polkadot` - `glutton-kusama` Partially solves #603 and adds to #1731.
This commit is contained in:
@@ -96,36 +96,6 @@ impl sc_executor::NativeExecutionDispatch for ShellRuntimeExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
/// Native Asset Hub Polkadot (Statemint) executor instance.
|
||||
pub struct AssetHubPolkadotRuntimeExecutor;
|
||||
|
||||
impl sc_executor::NativeExecutionDispatch for AssetHubPolkadotRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
asset_hub_polkadot_runtime::api::dispatch(method, data)
|
||||
}
|
||||
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
asset_hub_polkadot_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native Asset Hub Kusama (Statemine) executor instance.
|
||||
pub struct AssetHubKusamaExecutor;
|
||||
|
||||
impl sc_executor::NativeExecutionDispatch for AssetHubKusamaExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
asset_hub_kusama_runtime::api::dispatch(method, data)
|
||||
}
|
||||
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
asset_hub_kusama_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native Asset Hub Westend (Westmint) executor instance.
|
||||
pub struct AssetHubWestendExecutor;
|
||||
|
||||
@@ -141,21 +111,6 @@ impl sc_executor::NativeExecutionDispatch for AssetHubWestendExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
/// Native Polkadot Collectives executor instance.
|
||||
pub struct CollectivesPolkadotRuntimeExecutor;
|
||||
|
||||
impl sc_executor::NativeExecutionDispatch for CollectivesPolkadotRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
collectives_polkadot_runtime::api::dispatch(method, data)
|
||||
}
|
||||
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
collectives_polkadot_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native Westend Collectives executor instance.
|
||||
pub struct CollectivesWestendRuntimeExecutor;
|
||||
|
||||
@@ -171,36 +126,6 @@ impl sc_executor::NativeExecutionDispatch for CollectivesWestendRuntimeExecutor
|
||||
}
|
||||
}
|
||||
|
||||
/// Native BridgeHubPolkadot executor instance.
|
||||
pub struct BridgeHubPolkadotRuntimeExecutor;
|
||||
|
||||
impl sc_executor::NativeExecutionDispatch for BridgeHubPolkadotRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
bridge_hub_polkadot_runtime::api::dispatch(method, data)
|
||||
}
|
||||
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
bridge_hub_polkadot_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native BridgeHubKusama executor instance.
|
||||
pub struct BridgeHubKusamaRuntimeExecutor;
|
||||
|
||||
impl sc_executor::NativeExecutionDispatch for BridgeHubKusamaRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
bridge_hub_kusama_runtime::api::dispatch(method, data)
|
||||
}
|
||||
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
bridge_hub_kusama_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native BridgeHubRococo executor instance.
|
||||
pub struct BridgeHubRococoRuntimeExecutor;
|
||||
|
||||
@@ -246,21 +171,6 @@ impl sc_executor::NativeExecutionDispatch for GluttonWestendRuntimeExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
/// Native Glutton executor instance.
|
||||
pub struct GluttonRuntimeExecutor;
|
||||
|
||||
impl sc_executor::NativeExecutionDispatch for GluttonRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
shell_runtime::api::dispatch(method, data)
|
||||
}
|
||||
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
shell_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Starts a `ServiceBuilder` for a full service.
|
||||
///
|
||||
/// Use this macro if you don't actually need the full service, but just the builder in order to
|
||||
|
||||
Reference in New Issue
Block a user