chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use pez_revive_dev_runtime::WASM_BINARY;
|
||||
use pezkuwi_sdk::{
|
||||
pezsc_service::{ChainType, Properties},
|
||||
*,
|
||||
};
|
||||
use pez_revive_dev_runtime::WASM_BINARY;
|
||||
|
||||
/// This is a specialization of the general Bizinikiwi ChainSpec type.
|
||||
pub type ChainSpec = pezsc_service::GenericChainSpec;
|
||||
|
||||
@@ -141,12 +141,17 @@ pub fn run_with_args(args: Vec<String>) -> pezsc_cli::Result<()> {
|
||||
|
||||
runner.run_node_until_exit(|config| async move {
|
||||
match config.network.network_backend {
|
||||
pezsc_network::config::NetworkBackendType::Libp2p =>
|
||||
service::new_full::<pezsc_network::NetworkWorker<_, _>>(config, cli.consensus)
|
||||
.map_err(pezsc_cli::Error::Service),
|
||||
pezsc_network::config::NetworkBackendType::Libp2p => service::new_full::<
|
||||
pezsc_network::NetworkWorker<_, _>,
|
||||
>(
|
||||
config, cli.consensus
|
||||
)
|
||||
.map_err(pezsc_cli::Error::Service),
|
||||
pezsc_network::config::NetworkBackendType::Litep2p => service::new_full::<
|
||||
pezsc_network::Litep2pNetworkBackend,
|
||||
>(config, cli.consensus)
|
||||
>(
|
||||
config, cli.consensus
|
||||
)
|
||||
.map_err(pezsc_cli::Error::Service),
|
||||
}
|
||||
})
|
||||
|
||||
@@ -24,12 +24,12 @@
|
||||
|
||||
use crate::cli::Consensus;
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc, RpcModule};
|
||||
use pez_revive_dev_runtime::{AccountId, Nonce, OpaqueBlock};
|
||||
use pezkuwi_sdk::{
|
||||
pezsc_transaction_pool_api::TransactionPool,
|
||||
pezsp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata},
|
||||
*,
|
||||
};
|
||||
use pez_revive_dev_runtime::{AccountId, Nonce, OpaqueBlock};
|
||||
use std::sync::Arc;
|
||||
|
||||
/// Full client dependencies.
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
use crate::cli::Consensus;
|
||||
use pez_revive_dev_runtime::{OpaqueBlock as Block, Runtime, RuntimeApi};
|
||||
use pezkuwi_sdk::{
|
||||
pezsc_client_api::StorageProvider,
|
||||
pezsc_executor::WasmExecutor,
|
||||
@@ -24,7 +25,6 @@ use pezkuwi_sdk::{
|
||||
pezsp_runtime::traits::Block as BlockT,
|
||||
*,
|
||||
};
|
||||
use pez_revive_dev_runtime::{OpaqueBlock as Block, Runtime, RuntimeApi};
|
||||
use std::sync::Arc;
|
||||
|
||||
type HostFunctions = pezsp_io::BizinikiwiHostFunctions;
|
||||
@@ -221,7 +221,8 @@ pub fn new_full<Network: pezsc_network::NetworkBackend<Block, <Block as BlockT>:
|
||||
create_inherent_data_providers: timestamp_provider,
|
||||
};
|
||||
|
||||
let authorship_future = pezsc_consensus_manual_seal::run_instant_seal_and_finalize(params);
|
||||
let authorship_future =
|
||||
pezsc_consensus_manual_seal::run_instant_seal_and_finalize(params);
|
||||
|
||||
task_manager.spawn_essential_handle().spawn_blocking(
|
||||
"instant-seal",
|
||||
|
||||
@@ -30,14 +30,6 @@ use pezframe_support::weights::{
|
||||
Weight,
|
||||
};
|
||||
use pezframe_system::limits::BlockWeights;
|
||||
use pezpallet_revive::{
|
||||
evm::{
|
||||
fees::{BlockRatioFee, Info as FeeInfo},
|
||||
runtime::EthExtra,
|
||||
},
|
||||
AccountId32Mapper,
|
||||
};
|
||||
use pezpallet_transaction_payment::{ConstFeeMultiplier, FeeDetails, Multiplier, RuntimeDispatchInfo};
|
||||
use pezkuwi_sdk::{
|
||||
pezkuwi_sdk_frame::{
|
||||
deps::pezsp_genesis_builder,
|
||||
@@ -46,6 +38,16 @@ use pezkuwi_sdk::{
|
||||
},
|
||||
*,
|
||||
};
|
||||
use pezpallet_revive::{
|
||||
evm::{
|
||||
fees::{BlockRatioFee, Info as FeeInfo},
|
||||
runtime::EthExtra,
|
||||
},
|
||||
AccountId32Mapper,
|
||||
};
|
||||
use pezpallet_transaction_payment::{
|
||||
ConstFeeMultiplier, FeeDetails, Multiplier, RuntimeDispatchInfo,
|
||||
};
|
||||
use pezsp_weights::ConstantMultiplier;
|
||||
|
||||
pub use pezkuwi_sdk::{
|
||||
@@ -302,7 +304,8 @@ impl pezframe_system::Config for Runtime {
|
||||
type AccountId = AccountId;
|
||||
type Hash = Hash;
|
||||
type Nonce = Nonce;
|
||||
type AccountData = pezpallet_balances::AccountData<<Runtime as pezpallet_balances::Config>::Balance>;
|
||||
type AccountData =
|
||||
pezpallet_balances::AccountData<<Runtime as pezpallet_balances::Config>::Balance>;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user