style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -18,12 +18,12 @@
|
||||
|
||||
use codec::Decode;
|
||||
use pezcumulus_client_service::TeyrchainHostFunctions;
|
||||
use pezkuwi_subxt_metadata::Metadata;
|
||||
use pezsc_chain_spec::ChainSpec;
|
||||
use pezsc_executor::WasmExecutor;
|
||||
use pezsc_runtime_utilities::fetch_latest_metadata_from_code_blob;
|
||||
use scale_info::{form::PortableForm, TypeDef, TypeDefPrimitive};
|
||||
use std::fmt::Display;
|
||||
use pezkuwi_subxt_metadata::Metadata;
|
||||
|
||||
/// Expected teyrchain system pezpallet runtime type name.
|
||||
pub const DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME: &str = "TeyrchainSystem";
|
||||
|
||||
@@ -613,22 +613,24 @@ where
|
||||
node_extra_args: NodeExtraArgs,
|
||||
) -> Pin<Box<dyn Future<Output = pezsc_service::error::Result<TaskManager>>>> {
|
||||
match teyrchain_config.network.network_backend {
|
||||
pezsc_network::config::NetworkBackendType::Libp2p =>
|
||||
pezsc_network::config::NetworkBackendType::Libp2p => {
|
||||
<Self as NodeSpec>::start_node::<pezsc_network::NetworkWorker<_, _>>(
|
||||
teyrchain_config,
|
||||
pezkuwi_config,
|
||||
collator_options,
|
||||
hwbench,
|
||||
node_extra_args,
|
||||
),
|
||||
pezsc_network::config::NetworkBackendType::Litep2p =>
|
||||
)
|
||||
},
|
||||
pezsc_network::config::NetworkBackendType::Litep2p => {
|
||||
<Self as NodeSpec>::start_node::<pezsc_network::Litep2pNetworkBackend>(
|
||||
teyrchain_config,
|
||||
pezkuwi_config,
|
||||
collator_options,
|
||||
hwbench,
|
||||
node_extra_args,
|
||||
),
|
||||
)
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user