chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -30,13 +30,13 @@ use pezpallet_revive::is_eth_derived;
|
||||
use pezsc_chain_spec::ChainSpecExtension;
|
||||
use pezsc_service::ChainType;
|
||||
use pezsc_telemetry::TelemetryEndpoints;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use pezsp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
|
||||
use pezsp_consensus_babe::AuthorityId as BabeId;
|
||||
use pezsp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId;
|
||||
use pezsp_consensus_grandpa::AuthorityId as GrandpaId;
|
||||
use pezsp_core::crypto::UncheckedInto;
|
||||
use pezsp_mixnet::types::AuthorityId as MixnetId;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
pub use pez_kitchensink_runtime::RuntimeGenesisConfig;
|
||||
pub use pez_node_primitives::{AccountId, Balance, Signature};
|
||||
@@ -466,17 +466,25 @@ pub(crate) mod tests {
|
||||
fn test_connectivity() {
|
||||
pezsp_tracing::try_init_simple();
|
||||
|
||||
pezsc_service_test::connectivity(integration_test_config_with_two_authorities(), |config| {
|
||||
let NewFullBase { task_manager, client, network, sync, transaction_pool, .. } =
|
||||
new_full_base::<pezsc_network::NetworkWorker<_, _>>(config, None, false, |_, _| ())?;
|
||||
Ok(pezsc_service_test::TestNetComponents::new(
|
||||
task_manager,
|
||||
client,
|
||||
network,
|
||||
sync,
|
||||
transaction_pool,
|
||||
))
|
||||
});
|
||||
pezsc_service_test::connectivity(
|
||||
integration_test_config_with_two_authorities(),
|
||||
|config| {
|
||||
let NewFullBase { task_manager, client, network, sync, transaction_pool, .. } =
|
||||
new_full_base::<pezsc_network::NetworkWorker<_, _>>(
|
||||
config,
|
||||
None,
|
||||
false,
|
||||
|_, _| (),
|
||||
)?;
|
||||
Ok(pezsc_service_test::TestNetComponents::new(
|
||||
task_manager,
|
||||
client,
|
||||
network,
|
||||
sync,
|
||||
transaction_pool,
|
||||
))
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -24,10 +24,10 @@ use crate::{
|
||||
service::{new_partial, FullClient},
|
||||
Cli, Subcommand,
|
||||
};
|
||||
use pezframe_benchmarking_cli::*;
|
||||
use pez_kitchensink_runtime::{ExistentialDeposit, RuntimeApi};
|
||||
use pez_node_primitives::Block;
|
||||
use pezsc_cli::{Result, BizinikiwiCli};
|
||||
use pezframe_benchmarking_cli::*;
|
||||
use pezsc_cli::{BizinikiwiCli, Result};
|
||||
use pezsc_service::PartialComponents;
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
use pezsp_runtime::traits::HashingFor;
|
||||
@@ -59,7 +59,10 @@ impl BizinikiwiCli for Cli {
|
||||
2017
|
||||
}
|
||||
|
||||
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> {
|
||||
let spec = match id {
|
||||
"" =>
|
||||
return Err(
|
||||
|
||||
@@ -28,18 +28,20 @@ use pezkuwi_sdk::{
|
||||
|
||||
use crate::Cli;
|
||||
use codec::Encode;
|
||||
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
||||
use pezframe_system_rpc_runtime_api::AccountNonceApi;
|
||||
use futures::prelude::*;
|
||||
use pez_kitchensink_runtime::RuntimeApi;
|
||||
use pez_node_primitives::Block;
|
||||
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
||||
use pezframe_system_rpc_runtime_api::AccountNonceApi;
|
||||
use pezsc_client_api::{Backend, BlockBackend};
|
||||
use pezsc_consensus_babe::{self, SlotProportion};
|
||||
use pezsc_network::{
|
||||
event::Event, service::traits::NetworkService, NetworkBackend, NetworkEventStream,
|
||||
};
|
||||
use pezsc_network_sync::{strategy::warp::WarpSyncConfig, SyncingService};
|
||||
use pezsc_service::{config::Configuration, error::Error as ServiceError, RpcHandlers, TaskManager};
|
||||
use pezsc_service::{
|
||||
config::Configuration, error::Error as ServiceError, RpcHandlers, TaskManager,
|
||||
};
|
||||
use pezsc_statement_store::Store as StatementStore;
|
||||
use pezsc_telemetry::{Telemetry, TelemetryWorker};
|
||||
use pezsc_transaction_pool::TransactionPoolHandle;
|
||||
@@ -121,28 +123,28 @@ pub fn create_extrinsic(
|
||||
.map(|c| c / 2)
|
||||
.unwrap_or(2) as u64;
|
||||
let tip = 0;
|
||||
let tx_ext: pez_kitchensink_runtime::TxExtension =
|
||||
(
|
||||
pezframe_system::AuthorizeCall::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckNonZeroSender::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckSpecVersion::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckTxVersion::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckGenesis::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckEra::<pez_kitchensink_runtime::Runtime>::from(generic::Era::mortal(
|
||||
period,
|
||||
best_block.saturated_into(),
|
||||
)),
|
||||
pezframe_system::CheckNonce::<pez_kitchensink_runtime::Runtime>::from(nonce),
|
||||
pezframe_system::CheckWeight::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezpallet_skip_feeless_payment::SkipCheckIfFeeless::from(
|
||||
pezpallet_asset_conversion_tx_payment::ChargeAssetTxPayment::<
|
||||
pez_kitchensink_runtime::Runtime,
|
||||
>::from(tip, None),
|
||||
),
|
||||
pezframe_metadata_hash_extension::CheckMetadataHash::new(false),
|
||||
pezpallet_revive::evm::tx_extension::SetOrigin::<pez_kitchensink_runtime::Runtime>::default(),
|
||||
pezframe_system::WeightReclaim::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
);
|
||||
let tx_ext: pez_kitchensink_runtime::TxExtension = (
|
||||
pezframe_system::AuthorizeCall::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckNonZeroSender::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckSpecVersion::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckTxVersion::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckGenesis::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezframe_system::CheckEra::<pez_kitchensink_runtime::Runtime>::from(generic::Era::mortal(
|
||||
period,
|
||||
best_block.saturated_into(),
|
||||
)),
|
||||
pezframe_system::CheckNonce::<pez_kitchensink_runtime::Runtime>::from(nonce),
|
||||
pezframe_system::CheckWeight::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
pezpallet_skip_feeless_payment::SkipCheckIfFeeless::from(
|
||||
pezpallet_asset_conversion_tx_payment::ChargeAssetTxPayment::<
|
||||
pez_kitchensink_runtime::Runtime,
|
||||
>::from(tip, None),
|
||||
),
|
||||
pezframe_metadata_hash_extension::CheckMetadataHash::new(false),
|
||||
pezpallet_revive::evm::tx_extension::SetOrigin::<pez_kitchensink_runtime::Runtime>::default(
|
||||
),
|
||||
pezframe_system::WeightReclaim::<pez_kitchensink_runtime::Runtime>::new(),
|
||||
);
|
||||
|
||||
let raw_payload = pez_kitchensink_runtime::SignedPayload::from_raw(
|
||||
function.clone(),
|
||||
@@ -934,7 +936,13 @@ mod tests {
|
||||
config,
|
||||
None,
|
||||
false,
|
||||
|block_import: &pezsc_consensus_babe::BabeBlockImport<Block, _, _, _, _>,
|
||||
|block_import: &pezsc_consensus_babe::BabeBlockImport<
|
||||
Block,
|
||||
_,
|
||||
_,
|
||||
_,
|
||||
_,
|
||||
>,
|
||||
babe_link: &pezsc_consensus_babe::BabeLink<Block>| {
|
||||
setup_handles = Some((block_import.clone(), babe_link.clone()));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user