chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -155,10 +155,9 @@ fn zagros_sign_call(
|
||||
pezframe_system::CheckSpecVersion::<runtime::Runtime>::new(),
|
||||
pezframe_system::CheckTxVersion::<runtime::Runtime>::new(),
|
||||
pezframe_system::CheckGenesis::<runtime::Runtime>::new(),
|
||||
pezframe_system::CheckMortality::<runtime::Runtime>::from(pezsp_runtime::generic::Era::mortal(
|
||||
period,
|
||||
current_block,
|
||||
)),
|
||||
pezframe_system::CheckMortality::<runtime::Runtime>::from(
|
||||
pezsp_runtime::generic::Era::mortal(period, current_block),
|
||||
),
|
||||
pezframe_system::CheckNonce::<runtime::Runtime>::from(nonce),
|
||||
pezframe_system::CheckWeight::<runtime::Runtime>::new(),
|
||||
pezpallet_transaction_payment::ChargeTransactionPayment::<runtime::Runtime>::from(0),
|
||||
@@ -214,10 +213,9 @@ fn pezkuwichain_sign_call(
|
||||
pezframe_system::CheckSpecVersion::<runtime::Runtime>::new(),
|
||||
pezframe_system::CheckTxVersion::<runtime::Runtime>::new(),
|
||||
pezframe_system::CheckGenesis::<runtime::Runtime>::new(),
|
||||
pezframe_system::CheckMortality::<runtime::Runtime>::from(pezsp_runtime::generic::Era::mortal(
|
||||
period,
|
||||
current_block,
|
||||
)),
|
||||
pezframe_system::CheckMortality::<runtime::Runtime>::from(
|
||||
pezsp_runtime::generic::Era::mortal(period, current_block),
|
||||
),
|
||||
pezframe_system::CheckNonce::<runtime::Runtime>::from(nonce),
|
||||
pezframe_system::CheckWeight::<runtime::Runtime>::new(),
|
||||
pezpallet_transaction_payment::ChargeTransactionPayment::<runtime::Runtime>::from(0),
|
||||
|
||||
@@ -29,9 +29,8 @@ use crate::{
|
||||
teyrchains_db, workers, Chain, Error, FullBackend, FullClient, IdentifyVariant,
|
||||
IsTeyrchainNode, GRANDPA_JUSTIFICATION_PERIOD, KEEP_FINALIZED_FOR_LIVE_NETWORKS,
|
||||
};
|
||||
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
||||
use gum::info;
|
||||
use pezmmr_gadget::MmrGadget;
|
||||
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
||||
use pezkuwi_availability_recovery::FETCH_CHUNKS_THRESHOLD;
|
||||
use pezkuwi_node_core_approval_voting::Config as ApprovalVotingConfig;
|
||||
use pezkuwi_node_core_av_store::Config as AvailabilityConfig;
|
||||
@@ -47,6 +46,7 @@ use pezkuwi_node_network_protocol::{
|
||||
use pezkuwi_node_subsystem_types::DefaultSubsystemClient;
|
||||
use pezkuwi_overseer::{Handle, OverseerConnector};
|
||||
use pezkuwi_primitives::Block;
|
||||
use pezmmr_gadget::MmrGadget;
|
||||
use pezsc_client_api::Backend;
|
||||
use pezsc_network::config::FullNetworkConfiguration;
|
||||
use pezsc_network_sync::WarpSyncConfig;
|
||||
@@ -237,7 +237,8 @@ where
|
||||
// the block authoring backoff is disabled by default on production networks
|
||||
None
|
||||
} else {
|
||||
let mut backoff = pezsc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging::default();
|
||||
let mut backoff =
|
||||
pezsc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging::default();
|
||||
|
||||
if config.chain_spec.is_pezkuwichain() ||
|
||||
config.chain_spec.is_versi() ||
|
||||
|
||||
@@ -25,7 +25,9 @@ use crate::{
|
||||
use pezkuwi_primitives::Block;
|
||||
use pezsc_consensus_grandpa::FinalityProofProvider as GrandpaFinalityProofProvider;
|
||||
use pezsc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY};
|
||||
use pezsc_service::{Configuration, Error as BizinikiwiServiceError, KeystoreContainer, TaskManager};
|
||||
use pezsc_service::{
|
||||
Configuration, Error as BizinikiwiServiceError, KeystoreContainer, TaskManager,
|
||||
};
|
||||
use pezsc_telemetry::{Telemetry, TelemetryWorker, TelemetryWorkerHandle};
|
||||
use pezsc_transaction_pool_api::OffchainTransactionPoolFactory;
|
||||
use pezsp_consensus::SelectChain;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
//! These are used to provide a type that implements these runtime APIs without requiring to import
|
||||
//! the native runtimes.
|
||||
|
||||
use pezpallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo};
|
||||
use pezkuwi_primitives::{
|
||||
runtime_api, slashing, AccountId, AuthorityDiscoveryId, Balance, Block, BlockNumber,
|
||||
CandidateCommitments, CandidateEvent, CandidateHash,
|
||||
@@ -29,6 +28,7 @@ use pezkuwi_primitives::{
|
||||
ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidationCode, ValidationCodeHash,
|
||||
ValidatorId, ValidatorIndex, ValidatorSignature,
|
||||
};
|
||||
use pezpallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo};
|
||||
use pezsp_consensus_beefy::ecdsa_crypto::{AuthorityId as BeefyId, Signature as BeefySignature};
|
||||
use pezsp_consensus_grandpa::AuthorityId as GrandpaId;
|
||||
|
||||
|
||||
@@ -61,17 +61,17 @@ use pezkuwi_overseer::SpawnGlue;
|
||||
pub use {
|
||||
pezkuwi_overseer::{Handle, Overseer, OverseerConnector, OverseerHandle},
|
||||
pezkuwi_primitives::runtime_api::TeyrchainHost,
|
||||
relay_chain_selection::SelectRelayChain,
|
||||
pezsc_client_api::AuxStore,
|
||||
pezsp_authority_discovery::AuthorityDiscoveryApi,
|
||||
pezsp_blockchain::{HeaderBackend, HeaderMetadata},
|
||||
pezsp_consensus_babe::BabeApi,
|
||||
relay_chain_selection::SelectRelayChain,
|
||||
};
|
||||
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
|
||||
use prometheus_endpoint::Registry;
|
||||
use pezsc_service::SpawnTaskHandle;
|
||||
use prometheus_endpoint::Registry;
|
||||
|
||||
pub use chain_spec::{GenericChainSpec, PezkuwichainChainSpec, ZagrosChainSpec};
|
||||
pub use pezkuwi_primitives::{Block, BlockId, BlockNumber, CollatorPair, Hash, Id as ParaId};
|
||||
@@ -105,7 +105,10 @@ pub type FullBackend = pezsc_service::TFullBackend<Block>;
|
||||
pub type FullClient = pezsc_service::TFullClient<
|
||||
Block,
|
||||
RuntimeApi,
|
||||
WasmExecutor<(pezsp_io::BizinikiwiHostFunctions, pezframe_benchmarking::benchmarking::HostFunctions)>,
|
||||
WasmExecutor<(
|
||||
pezsp_io::BizinikiwiHostFunctions,
|
||||
pezframe_benchmarking::benchmarking::HostFunctions,
|
||||
)>,
|
||||
>;
|
||||
|
||||
/// The minimum period of blocks on which justifications will be
|
||||
@@ -399,8 +402,9 @@ macro_rules! chain_ops {
|
||||
// use the longest chain selection, since there is no overseer available
|
||||
let chain_selection = LongestChain::new(basics.backend.clone());
|
||||
|
||||
let pezsc_service::PartialComponents { client, backend, import_queue, task_manager, .. } =
|
||||
new_partial::<LongestChain<_, Block>>(&mut config, basics, chain_selection)?;
|
||||
let pezsc_service::PartialComponents {
|
||||
client, backend, import_queue, task_manager, ..
|
||||
} = new_partial::<LongestChain<_, Block>>(&mut config, basics, chain_selection)?;
|
||||
Ok((client, backend, import_queue, task_manager))
|
||||
}};
|
||||
}
|
||||
@@ -409,8 +413,10 @@ macro_rules! chain_ops {
|
||||
#[cfg(feature = "full-node")]
|
||||
pub fn new_chain_ops(
|
||||
config: &mut Configuration,
|
||||
) -> Result<(Arc<FullClient>, Arc<FullBackend>, pezsc_consensus::BasicQueue<Block>, TaskManager), Error>
|
||||
{
|
||||
) -> Result<
|
||||
(Arc<FullClient>, Arc<FullBackend>, pezsc_consensus::BasicQueue<Block>, TaskManager),
|
||||
Error,
|
||||
> {
|
||||
config.keystore = pezsc_service::config::KeystoreConfig::InMemory;
|
||||
|
||||
if config.chain_spec.is_pezkuwichain() || config.chain_spec.is_versi() {
|
||||
|
||||
@@ -37,13 +37,13 @@
|
||||
|
||||
use super::{HeaderProvider, HeaderProviderProvider};
|
||||
use futures::channel::oneshot;
|
||||
use pezkuwi_pez_node_primitives::MAX_FINALITY_LAG as PRIMITIVES_MAX_FINALITY_LAG;
|
||||
use pezkuwi_node_subsystem::messages::{
|
||||
ApprovalVotingParallelMessage, ChainSelectionMessage, DisputeCoordinatorMessage,
|
||||
HighestApprovedAncestorBlock,
|
||||
};
|
||||
use pezkuwi_node_subsystem_util::metrics::{self, prometheus};
|
||||
use pezkuwi_overseer::{AllMessages, Handle, PriorityLevel};
|
||||
use pezkuwi_pez_node_primitives::MAX_FINALITY_LAG as PRIMITIVES_MAX_FINALITY_LAG;
|
||||
use pezkuwi_primitives::{Block as PezkuwiBlock, BlockNumber, Hash, Header as PezkuwiHeader};
|
||||
use pezsp_consensus::{Error as ConsensusError, SelectChain};
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
use super::{relay_chain_selection::*, *};
|
||||
|
||||
use futures::channel::oneshot::Receiver;
|
||||
use pezkuwi_pez_node_primitives::approval::v2::VrfSignature;
|
||||
use pezkuwi_node_subsystem::messages::{AllMessages, BlockDescription};
|
||||
use pezkuwi_node_subsystem_util::TimeoutExt;
|
||||
use pezkuwi_overseer::{HighPriority, PriorityLevel};
|
||||
use pezkuwi_pez_node_primitives::approval::v2::VrfSignature;
|
||||
use pezkuwi_test_client::Sr25519Keyring;
|
||||
use pezsp_consensus_babe::{
|
||||
digests::{CompatibleDigestItem, PreDigest, SecondaryVRFPreDigest},
|
||||
|
||||
Reference in New Issue
Block a user