chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
use pezkuwi_sdk::*;
|
||||
|
||||
use log::info;
|
||||
use pezcumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions;
|
||||
use pezframe_benchmarking_cli::{BenchmarkCmd, BIZINIKIWI_REFERENCE_HARDWARE};
|
||||
use log::info;
|
||||
use pezsc_cli::{
|
||||
ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
|
||||
NetworkParams, Result, RpcEndpoint, SharedParams, BizinikiwiCli,
|
||||
BizinikiwiCli, ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams,
|
||||
KeystoreParams, NetworkParams, Result, RpcEndpoint, SharedParams,
|
||||
};
|
||||
use pezsc_service::config::{BasePath, PrometheusConfig};
|
||||
use teyrchain_template_runtime::Block;
|
||||
@@ -56,7 +56,10 @@ impl BizinikiwiCli for Cli {
|
||||
2020
|
||||
}
|
||||
|
||||
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn pezsc_service::ChainSpec>, String> {
|
||||
fn load_spec(
|
||||
&self,
|
||||
id: &str,
|
||||
) -> std::result::Result<Box<dyn pezsc_service::ChainSpec>, String> {
|
||||
load_spec(id)
|
||||
}
|
||||
}
|
||||
@@ -92,7 +95,10 @@ impl BizinikiwiCli for RelayChainCli {
|
||||
2020
|
||||
}
|
||||
|
||||
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn pezsc_service::ChainSpec>, String> {
|
||||
fn load_spec(
|
||||
&self,
|
||||
id: &str,
|
||||
) -> std::result::Result<Box<dyn pezsc_service::ChainSpec>, String> {
|
||||
pezkuwi_cli::Cli::from_iter([RelayChainCli::executable_name()].iter()).load_spec(id)
|
||||
}
|
||||
}
|
||||
@@ -212,8 +218,8 @@ pub fn run() -> Result<()> {
|
||||
|
||||
cmd.run(config, partials.client.clone(), db, storage, shared_cache)
|
||||
}),
|
||||
BenchmarkCmd::Machine(cmd) =>
|
||||
runner.sync_run(|config| cmd.run(&config, BIZINIKIWI_REFERENCE_HARDWARE.clone())),
|
||||
BenchmarkCmd::Machine(cmd) => runner
|
||||
.sync_run(|config| cmd.run(&config, BIZINIKIWI_REFERENCE_HARDWARE.clone())),
|
||||
// NOTE: this allows the Client to leniently implement
|
||||
// new benchmark commands without requiring a companion MR.
|
||||
#[allow(unreachable_patterns)]
|
||||
@@ -330,7 +336,10 @@ impl CliConfiguration<Self> for RelayChainCli {
|
||||
self.base.base.role(is_dev)
|
||||
}
|
||||
|
||||
fn transaction_pool(&self, is_dev: bool) -> Result<pezsc_service::config::TransactionPoolOptions> {
|
||||
fn transaction_pool(
|
||||
&self,
|
||||
is_dev: bool,
|
||||
) -> Result<pezsc_service::config::TransactionPoolOptions> {
|
||||
self.base.base.transaction_pool(is_dev)
|
||||
}
|
||||
|
||||
|
||||
@@ -43,8 +43,8 @@ where
|
||||
C::Api: BlockBuilder<Block>,
|
||||
P: TransactionPool + Sync + Send + 'static,
|
||||
{
|
||||
use pezpallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
|
||||
use bizinikiwi_frame_rpc_system::{System, SystemApiServer};
|
||||
use pezpallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
|
||||
|
||||
let mut module = RpcExtension::new(());
|
||||
let FullDeps { client, pool } = deps;
|
||||
|
||||
@@ -34,7 +34,6 @@ use pezcumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface};
|
||||
// Bizinikiwi Imports
|
||||
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
||||
use pezkuwi_sdk::pezsc_network::PeerId;
|
||||
use prometheus_endpoint::Registry;
|
||||
use pezsc_client_api::Backend;
|
||||
use pezsc_consensus::ImportQueue;
|
||||
use pezsc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY};
|
||||
@@ -44,6 +43,7 @@ use pezsc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWork
|
||||
use pezsc_transaction_pool_api::OffchainTransactionPoolFactory;
|
||||
use pezsp_api::ProvideRuntimeApi;
|
||||
use pezsp_keystore::KeystorePtr;
|
||||
use prometheus_endpoint::Registry;
|
||||
|
||||
#[docify::export(wasm_executor)]
|
||||
type TeyrchainExecutor = WasmExecutor<TeyrchainHostFunctions>;
|
||||
@@ -223,9 +223,10 @@ fn start_consensus(
|
||||
reinitialize: false,
|
||||
max_pov_percentage: None,
|
||||
};
|
||||
let fut = aura::run::<Block, pezsp_consensus_aura::sr25519::AuthorityPair, _, _, _, _, _, _, _, _>(
|
||||
params,
|
||||
);
|
||||
let fut =
|
||||
aura::run::<Block, pezsp_consensus_aura::sr25519::AuthorityPair, _, _, _, _, _, _, _, _>(
|
||||
params,
|
||||
);
|
||||
task_manager.spawn_essential_handle().spawn("aura", None, fut);
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user