mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Rococo/Westend Coretime Runtime
New runtimes for the Coretime Chain (a.k.a. "Broker Chain") described in RFC-1. Replaces https://github.com/paritytech/cumulus/pull/2889 - [x] Add Agile Coretime pallet https://github.com/paritytech/substrate/pull/14568 - [x] Generate chain specs for local and testnets - [x] Deploy parachain on Rococo - Done: [rococo-coretime-rpc.polkadot.io](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-coretime-rpc.polkadot.io#/explorer) DevOps issue for Aura keygen: https://github.com/paritytech/devops/issues/2725 Edit (Dónal): This PR is mainly for Rococo, the Westend runtime is a shell with no `Broker` pallet. The Rococo runtime has the broker calls filtered for initial deployment. --------- Co-authored-by: Dónal Murray <donal.murray@parity.io> Co-authored-by: 0xmovses <r.v.melkonian@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Marcin S. <marcin@realemail.net> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: command-bot <> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
This commit is contained in:
@@ -141,6 +141,30 @@ impl sc_executor::NativeExecutionDispatch for BridgeHubRococoRuntimeExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
/// Native `CoretimeRococo` executor instance.
|
||||
pub struct CoretimeRococoRuntimeExecutor;
|
||||
impl sc_executor::NativeExecutionDispatch for CoretimeRococoRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
coretime_rococo_runtime::api::dispatch(method, data)
|
||||
}
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
coretime_rococo_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native `CoretimeWestend` executor instance.
|
||||
pub struct CoretimeWestendRuntimeExecutor;
|
||||
impl sc_executor::NativeExecutionDispatch for CoretimeWestendRuntimeExecutor {
|
||||
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
|
||||
fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
|
||||
coretime_westend_runtime::api::dispatch(method, data)
|
||||
}
|
||||
fn native_version() -> sc_executor::NativeVersion {
|
||||
coretime_westend_runtime::native_version()
|
||||
}
|
||||
}
|
||||
|
||||
/// Native contracts executor instance.
|
||||
pub struct ContractsRococoRuntimeExecutor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user