snapshot before rebranding
This commit is contained in:
@@ -7,6 +7,7 @@ description = "Helper library that can be used to build a teyrchain node"
|
||||
license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/pezkuwi-omni-node-lib"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -87,7 +88,7 @@ bizinikiwi-state-trie-migration-rpc = { workspace = true, default-features = tru
|
||||
|
||||
# Pezkuwi
|
||||
pezkuwi-cli = { workspace = true, default-features = true, features = [
|
||||
"service",
|
||||
"service",
|
||||
] }
|
||||
pezkuwi-primitives = { workspace = true, default-features = true }
|
||||
|
||||
@@ -119,73 +120,73 @@ default = []
|
||||
pezkuwichain-native = ["pezkuwi-cli/pezkuwichain-native"]
|
||||
zagros-native = ["pezkuwi-cli/zagros-native"]
|
||||
runtime-benchmarks = [
|
||||
"chain-spec-builder/runtime-benchmarks",
|
||||
"pezcumulus-client-bootnodes/runtime-benchmarks",
|
||||
"pezcumulus-client-cli/runtime-benchmarks",
|
||||
"pezcumulus-client-collator/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-aura/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-common/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-proposer/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-relay-chain/runtime-benchmarks",
|
||||
"pezcumulus-client-service/runtime-benchmarks",
|
||||
"pezcumulus-client-teyrchain-inherent/runtime-benchmarks",
|
||||
"pezcumulus-primitives-aura/runtime-benchmarks",
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezcumulus-relay-chain-interface/runtime-benchmarks",
|
||||
"pezcumulus-test-runtime/runtime-benchmarks",
|
||||
"pezframe-benchmarking-cli/runtime-benchmarks",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezframe-try-runtime?/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment-rpc/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezkuwi-cli/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsc-basic-authorship/runtime-benchmarks",
|
||||
"pezsc-chain-spec/runtime-benchmarks",
|
||||
"pezsc-cli/runtime-benchmarks",
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-client-db/runtime-benchmarks",
|
||||
"pezsc-consensus-aura/runtime-benchmarks",
|
||||
"pezsc-consensus-manual-seal/runtime-benchmarks",
|
||||
"pezsc-consensus/runtime-benchmarks",
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsc-network-statement/runtime-benchmarks",
|
||||
"pezsc-network-sync/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsc-offchain/runtime-benchmarks",
|
||||
"pezsc-rpc/runtime-benchmarks",
|
||||
"pezsc-runtime-utilities/runtime-benchmarks",
|
||||
"pezsc-service/runtime-benchmarks",
|
||||
"pezsc-statement-store/runtime-benchmarks",
|
||||
"pezsc-sysinfo/runtime-benchmarks",
|
||||
"pezsc-tracing/runtime-benchmarks",
|
||||
"pezsc-transaction-pool-api/runtime-benchmarks",
|
||||
"pezsc-transaction-pool/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-block-builder/runtime-benchmarks",
|
||||
"pezsp-consensus-aura/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-genesis-builder/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-offchain/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-session/runtime-benchmarks",
|
||||
"pezsp-statement-store/runtime-benchmarks",
|
||||
"pezsp-timestamp/runtime-benchmarks",
|
||||
"pezsp-transaction-pool/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"bizinikiwi-frame-rpc-system/runtime-benchmarks",
|
||||
"bizinikiwi-state-trie-migration-rpc/runtime-benchmarks",
|
||||
"teyrchains-common/runtime-benchmarks",
|
||||
"chain-spec-builder/runtime-benchmarks",
|
||||
"pezcumulus-client-bootnodes/runtime-benchmarks",
|
||||
"pezcumulus-client-cli/runtime-benchmarks",
|
||||
"pezcumulus-client-collator/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-aura/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-common/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-proposer/runtime-benchmarks",
|
||||
"pezcumulus-client-consensus-relay-chain/runtime-benchmarks",
|
||||
"pezcumulus-client-service/runtime-benchmarks",
|
||||
"pezcumulus-client-teyrchain-inherent/runtime-benchmarks",
|
||||
"pezcumulus-primitives-aura/runtime-benchmarks",
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezcumulus-relay-chain-interface/runtime-benchmarks",
|
||||
"pezcumulus-test-runtime/runtime-benchmarks",
|
||||
"pezframe-benchmarking-cli/runtime-benchmarks",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezframe-try-runtime?/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment-rpc/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezkuwi-cli/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsc-basic-authorship/runtime-benchmarks",
|
||||
"pezsc-chain-spec/runtime-benchmarks",
|
||||
"pezsc-cli/runtime-benchmarks",
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-client-db/runtime-benchmarks",
|
||||
"pezsc-consensus-aura/runtime-benchmarks",
|
||||
"pezsc-consensus-manual-seal/runtime-benchmarks",
|
||||
"pezsc-consensus/runtime-benchmarks",
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsc-network-statement/runtime-benchmarks",
|
||||
"pezsc-network-sync/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsc-offchain/runtime-benchmarks",
|
||||
"pezsc-rpc/runtime-benchmarks",
|
||||
"pezsc-runtime-utilities/runtime-benchmarks",
|
||||
"pezsc-service/runtime-benchmarks",
|
||||
"pezsc-statement-store/runtime-benchmarks",
|
||||
"pezsc-sysinfo/runtime-benchmarks",
|
||||
"pezsc-tracing/runtime-benchmarks",
|
||||
"pezsc-transaction-pool-api/runtime-benchmarks",
|
||||
"pezsc-transaction-pool/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-block-builder/runtime-benchmarks",
|
||||
"pezsp-consensus-aura/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-genesis-builder/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-offchain/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-session/runtime-benchmarks",
|
||||
"pezsp-statement-store/runtime-benchmarks",
|
||||
"pezsp-timestamp/runtime-benchmarks",
|
||||
"pezsp-transaction-pool/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"bizinikiwi-frame-rpc-system/runtime-benchmarks",
|
||||
"bizinikiwi-state-trie-migration-rpc/runtime-benchmarks",
|
||||
"teyrchains-common/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-try-runtime/try-runtime",
|
||||
"pezpallet-transaction-payment/try-runtime",
|
||||
"pezkuwi-cli/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"teyrchains-common/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-try-runtime/try-runtime",
|
||||
"pezpallet-transaction-payment/try-runtime",
|
||||
"pezkuwi-cli/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"teyrchains-common/try-runtime",
|
||||
]
|
||||
|
||||
@@ -124,13 +124,13 @@ pub enum Subcommand {
|
||||
ChainSpecBuilder(ChainSpecBuilder),
|
||||
|
||||
/// Remove the whole chain.
|
||||
PurgeChain(cumulus_client_cli::PurgeChainCmd),
|
||||
PurgeChain(pezcumulus_client_cli::PurgeChainCmd),
|
||||
/// Export the genesis state of the teyrchain.
|
||||
#[command(alias = "export-genesis-state")]
|
||||
ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand),
|
||||
ExportGenesisHead(pezcumulus_client_cli::ExportGenesisHeadCommand),
|
||||
|
||||
/// Export the genesis wasm of the teyrchain.
|
||||
ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand),
|
||||
ExportGenesisWasm(pezcumulus_client_cli::ExportGenesisWasmCommand),
|
||||
|
||||
/// Sub-commands concerned with benchmarking.
|
||||
/// The pallet benchmarking moved to the `pallet` sub-command.
|
||||
@@ -155,7 +155,7 @@ pub struct Cli<Config: CliConfig> {
|
||||
|
||||
/// The shared parameters with all pezcumulus-based teyrchain nodes.
|
||||
#[command(flatten)]
|
||||
pub run: cumulus_client_cli::RunCmd,
|
||||
pub run: pezcumulus_client_cli::RunCmd,
|
||||
|
||||
/// Parameters for storage monitoring.
|
||||
#[command(flatten)]
|
||||
|
||||
@@ -32,7 +32,7 @@ use crate::{
|
||||
};
|
||||
use clap::{CommandFactory, FromArgMatches};
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
use cumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions;
|
||||
use pezcumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions;
|
||||
use pezframe_benchmarking_cli::{BenchmarkCmd, BIZINIKIWI_REFERENCE_HARDWARE};
|
||||
use log::info;
|
||||
use pezsc_cli::{Result, BizinikiwiCli};
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//! Aura-related primitives for pezcumulus teyrchain collators.
|
||||
|
||||
use codec::Codec;
|
||||
use cumulus_primitives_aura::AuraUnincludedSegmentApi;
|
||||
use pezcumulus_primitives_aura::AuraUnincludedSegmentApi;
|
||||
use pezsp_consensus_aura::AuraApi;
|
||||
use pezsp_runtime::{
|
||||
app_crypto::{AppCrypto, AppPair, AppSignature, Pair},
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
use crate::common::spec::BaseNodeSpec;
|
||||
use cumulus_client_cli::ExportGenesisHeadCommand;
|
||||
use pezcumulus_client_cli::ExportGenesisHeadCommand;
|
||||
use pezframe_benchmarking_cli::BlockCmd;
|
||||
#[cfg(any(feature = "runtime-benchmarks"))]
|
||||
use pezframe_benchmarking_cli::StorageCmd;
|
||||
|
||||
@@ -29,7 +29,7 @@ pub mod types;
|
||||
|
||||
use crate::cli::AuthoringPolicy;
|
||||
|
||||
use cumulus_primitives_core::{CollectCollationInfo, GetTeyrchainInfo, RelayParentOffsetApi};
|
||||
use pezcumulus_primitives_core::{CollectCollationInfo, GetTeyrchainInfo, RelayParentOffsetApi};
|
||||
use pezsc_client_db::DbHash;
|
||||
use pezsc_offchain::OffchainWorkerApi;
|
||||
use serde::de::DeserializeOwned;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//! Runtime parameters.
|
||||
|
||||
use codec::Decode;
|
||||
use cumulus_client_service::TeyrchainHostFunctions;
|
||||
use pezcumulus_client_service::TeyrchainHostFunctions;
|
||||
use pezsc_chain_spec::ChainSpec;
|
||||
use pezsc_executor::WasmExecutor;
|
||||
use pezsc_runtime_utilities::fetch_latest_metadata_from_code_blob;
|
||||
@@ -121,7 +121,7 @@ impl RuntimeResolver for DefaultRuntimeResolver {
|
||||
},
|
||||
};
|
||||
|
||||
if !metadata_inspector.pezpallet_exists(DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME) {
|
||||
if !metadata_inspector.pallet_exists(DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME) {
|
||||
log::warn!(
|
||||
r#"⚠️ The teyrchain system pallet (https://docs.rs/crate/pezcumulus-pezpallet-parachain-system/latest) is
|
||||
missing from the runtime’s metadata. Please check Omni Node docs for runtime conventions:
|
||||
@@ -141,11 +141,11 @@ impl MetadataInspector {
|
||||
}
|
||||
|
||||
fn pezpallet_exists(&self, name: &str) -> bool {
|
||||
self.0.pezpallet_by_name(name).is_some()
|
||||
self.0.pallet_by_name(name).is_some()
|
||||
}
|
||||
|
||||
fn block_number(&self) -> Option<BlockNumber> {
|
||||
let pezpallet_metadata = self.0.pezpallet_by_name(DEFAULT_FRAME_SYSTEM_PALLET_NAME);
|
||||
let pezpallet_metadata = self.0.pallet_by_name(DEFAULT_FRAME_SYSTEM_PALLET_NAME);
|
||||
pezpallet_metadata
|
||||
.and_then(|inner| inner.storage())
|
||||
.and_then(|inner| inner.entry_by_name("Number"))
|
||||
@@ -182,16 +182,16 @@ mod tests {
|
||||
DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME,
|
||||
};
|
||||
use codec::Decode;
|
||||
use cumulus_client_service::TeyrchainHostFunctions;
|
||||
use pezcumulus_client_service::TeyrchainHostFunctions;
|
||||
use pezsc_executor::WasmExecutor;
|
||||
use pezsc_runtime_utilities::fetch_latest_metadata_from_code_blob;
|
||||
|
||||
fn cumulus_test_runtime_metadata() -> subxt_metadata::Metadata {
|
||||
fn pezcumulus_test_runtime_metadata() -> subxt_metadata::Metadata {
|
||||
let opaque_metadata = fetch_latest_metadata_from_code_blob(
|
||||
&WasmExecutor::<TeyrchainHostFunctions>::builder()
|
||||
.with_allow_missing_host_functions(true)
|
||||
.build(),
|
||||
pezsp_runtime::Cow::Borrowed(cumulus_test_runtime::WASM_BINARY.unwrap()),
|
||||
pezsp_runtime::Cow::Borrowed(pezcumulus_test_runtime::WASM_BINARY.unwrap()),
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
@@ -200,14 +200,14 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_pallet_exists() {
|
||||
let metadata_inspector = MetadataInspector(cumulus_test_runtime_metadata());
|
||||
assert!(metadata_inspector.pezpallet_exists(DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME));
|
||||
assert!(metadata_inspector.pezpallet_exists(DEFAULT_FRAME_SYSTEM_PALLET_NAME));
|
||||
let metadata_inspector = MetadataInspector(pezcumulus_test_runtime_metadata());
|
||||
assert!(metadata_inspector.pallet_exists(DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME));
|
||||
assert!(metadata_inspector.pallet_exists(DEFAULT_FRAME_SYSTEM_PALLET_NAME));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_runtime_block_number() {
|
||||
let metadata_inspector = MetadataInspector(cumulus_test_runtime_metadata());
|
||||
let metadata_inspector = MetadataInspector(pezcumulus_test_runtime_metadata());
|
||||
assert_eq!(metadata_inspector.block_number().unwrap(), BlockNumber::U32);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,15 +29,15 @@ use crate::{
|
||||
},
|
||||
};
|
||||
use codec::Encode;
|
||||
use cumulus_client_bootnodes::{start_bootnode_tasks, StartBootnodeTasksParams};
|
||||
use cumulus_client_cli::CollatorOptions;
|
||||
use cumulus_client_service::{
|
||||
use pezcumulus_client_bootnodes::{start_bootnode_tasks, StartBootnodeTasksParams};
|
||||
use pezcumulus_client_cli::CollatorOptions;
|
||||
use pezcumulus_client_service::{
|
||||
build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks,
|
||||
BuildNetworkParams, CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams,
|
||||
TeyrchainTracingExecuteBlock,
|
||||
};
|
||||
use cumulus_primitives_core::{BlockT, GetTeyrchainInfo, ParaId};
|
||||
use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface};
|
||||
use pezcumulus_primitives_core::{BlockT, GetTeyrchainInfo, ParaId};
|
||||
use pezcumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface};
|
||||
use futures::FutureExt;
|
||||
use log::info;
|
||||
use pezkuwi_primitives::CollatorPair;
|
||||
@@ -175,7 +175,7 @@ pub(crate) trait BaseNodeSpec {
|
||||
.teyrchain_id(best_hash)
|
||||
.inspect_err(|err| {
|
||||
log::error!(
|
||||
"`cumulus_primitives_core::GetTeyrchainInfo` runtime API call errored with {}",
|
||||
"`pezcumulus_primitives_core::GetTeyrchainInfo` runtime API call errored with {}",
|
||||
err
|
||||
);
|
||||
})
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use cumulus_client_consensus_common::TeyrchainBlockImport as TTeyrchainBlockImport;
|
||||
use cumulus_primitives_core::relay_chain::UncheckedExtrinsic;
|
||||
use pezcumulus_client_consensus_common::TeyrchainBlockImport as TTeyrchainBlockImport;
|
||||
use pezcumulus_primitives_core::relay_chain::UncheckedExtrinsic;
|
||||
use pezsc_consensus::DefaultImportQueue;
|
||||
use pezsc_executor::WasmExecutor;
|
||||
use pezsc_service::{PartialComponents, TFullBackend, TFullClient};
|
||||
@@ -30,12 +30,12 @@ pub type Block<BlockNumber> = generic::Block<Header<BlockNumber>, UncheckedExtri
|
||||
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
pub type TeyrchainHostFunctions = (
|
||||
cumulus_client_service::TeyrchainHostFunctions,
|
||||
pezcumulus_client_service::TeyrchainHostFunctions,
|
||||
pezsp_statement_store::runtime_api::HostFunctions,
|
||||
);
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
pub type TeyrchainHostFunctions = (
|
||||
cumulus_client_service::TeyrchainHostFunctions,
|
||||
pezcumulus_client_service::TeyrchainHostFunctions,
|
||||
pezsp_statement_store::runtime_api::HostFunctions,
|
||||
pezframe_benchmarking::benchmarking::HostFunctions,
|
||||
);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
pub(crate) mod imports {
|
||||
pub use cumulus_primitives_core::ParaId;
|
||||
pub use pezcumulus_primitives_core::ParaId;
|
||||
pub use pezsp_core::{crypto::KeyTypeId, OpaqueMetadata};
|
||||
pub use pezsp_runtime::{
|
||||
traits::Block as BlockT,
|
||||
@@ -59,7 +59,7 @@ macro_rules! impl_node_runtime_apis {
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::RelayParentOffsetApi<$block> for $runtime {
|
||||
impl pezcumulus_primitives_core::RelayParentOffsetApi<$block> for $runtime {
|
||||
fn relay_parent_offset() -> u32 {
|
||||
unimplemented!()
|
||||
}
|
||||
@@ -75,10 +75,10 @@ macro_rules! impl_node_runtime_apis {
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_aura::AuraUnincludedSegmentApi<$block> for $runtime {
|
||||
impl pezcumulus_primitives_aura::AuraUnincludedSegmentApi<$block> for $runtime {
|
||||
fn can_build_upon(
|
||||
_: <$block as BlockT>::Hash,
|
||||
_: cumulus_primitives_aura::Slot,
|
||||
_: pezcumulus_primitives_aura::Slot,
|
||||
) -> bool {
|
||||
unimplemented!()
|
||||
}
|
||||
@@ -161,15 +161,15 @@ macro_rules! impl_node_runtime_apis {
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::CollectCollationInfo<$block> for $runtime {
|
||||
impl pezcumulus_primitives_core::CollectCollationInfo<$block> for $runtime {
|
||||
fn collect_collation_info(
|
||||
_: &<$block as BlockT>::Header
|
||||
) -> cumulus_primitives_core::CollationInfo {
|
||||
) -> pezcumulus_primitives_core::CollationInfo {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::GetTeyrchainInfo<$block> for $runtime {
|
||||
impl pezcumulus_primitives_core::GetTeyrchainInfo<$block> for $runtime {
|
||||
fn teyrchain_id() -> ParaId {
|
||||
unimplemented!()
|
||||
}
|
||||
@@ -242,7 +242,7 @@ macro_rules! impl_node_runtime_apis {
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::TargetBlockRate<$block> for $runtime {
|
||||
impl pezcumulus_primitives_core::TargetBlockRate<$block> for $runtime {
|
||||
fn target_block_rate() -> u32 {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
@@ -31,28 +31,28 @@ use crate::{
|
||||
},
|
||||
};
|
||||
use codec::Encode;
|
||||
use cumulus_client_collator::service::{
|
||||
use pezcumulus_client_collator::service::{
|
||||
CollatorService, ServiceInterface as CollatorServiceInterface,
|
||||
};
|
||||
#[docify::export(slot_based_colator_import)]
|
||||
use cumulus_client_consensus_aura::collators::slot_based::{
|
||||
use pezcumulus_client_consensus_aura::collators::slot_based::{
|
||||
self as slot_based, Params as SlotBasedParams,
|
||||
};
|
||||
use cumulus_client_consensus_aura::{
|
||||
use pezcumulus_client_consensus_aura::{
|
||||
collators::{
|
||||
lookahead::{self as aura, Params as AuraParams},
|
||||
slot_based::{SlotBasedBlockImport, SlotBasedBlockImportHandle},
|
||||
},
|
||||
equivocation_import_queue::Verifier as EquivocationVerifier,
|
||||
};
|
||||
use cumulus_client_consensus_proposer::ProposerInterface;
|
||||
use cumulus_client_consensus_relay_chain::Verifier as RelayChainVerifier;
|
||||
use cumulus_client_service::CollatorSybilResistance;
|
||||
use cumulus_client_teyrchain_inherent::MockValidationDataInherentDataProvider;
|
||||
use cumulus_primitives_core::{
|
||||
use pezcumulus_client_consensus_proposer::ProposerInterface;
|
||||
use pezcumulus_client_consensus_relay_chain::Verifier as RelayChainVerifier;
|
||||
use pezcumulus_client_service::CollatorSybilResistance;
|
||||
use pezcumulus_client_teyrchain_inherent::MockValidationDataInherentDataProvider;
|
||||
use pezcumulus_primitives_core::{
|
||||
relay_chain::ValidationCode, CollectCollationInfo, GetTeyrchainInfo, ParaId,
|
||||
};
|
||||
use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface};
|
||||
use pezcumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface};
|
||||
use futures::{prelude::*, FutureExt};
|
||||
use pezkuwi_primitives::{CollatorPair, UpgradeGoAhead};
|
||||
use prometheus_endpoint::Registry;
|
||||
@@ -520,7 +520,7 @@ where
|
||||
) where
|
||||
CIDP: CreateInherentDataProviders<Block, ()> + 'static,
|
||||
CIDP::InherentDataProviders: Send,
|
||||
CHP: cumulus_client_consensus_common::ValidationCodeHashProvider<Hash> + Send + 'static,
|
||||
CHP: pezcumulus_client_consensus_common::ValidationCodeHashProvider<Hash> + Send + 'static,
|
||||
Proposer: ProposerInterface<Block> + Send + Sync + 'static,
|
||||
CS: CollatorServiceInterface<Block> + Send + Sync + Clone + 'static,
|
||||
Spawner: SpawnEssentialNamed + Clone + 'static,
|
||||
|
||||
Reference in New Issue
Block a user