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:
@@ -328,10 +328,11 @@ impl BizinikiwiCli for TestCollatorCli {
|
||||
2500,
|
||||
)))) as Box<_>
|
||||
},
|
||||
"relay-parent-offset" =>
|
||||
"relay-parent-offset" => {
|
||||
Box::new(pezcumulus_test_service::get_relay_parent_offset_chain_spec(Some(
|
||||
ParaId::from(2600),
|
||||
))) as Box<_>,
|
||||
))) as Box<_>
|
||||
},
|
||||
path => {
|
||||
let chain_spec: pezsc_chain_spec::GenericChainSpec =
|
||||
pezsc_chain_spec::GenericChainSpec::from_json_file(path.into())?;
|
||||
|
||||
@@ -273,7 +273,7 @@ async fn build_relay_chain_interface(
|
||||
Some("Relaychain"),
|
||||
)
|
||||
.map_err(|e| RelayChainError::Application(Box::new(e) as Box<_>))?,
|
||||
pezcumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) =>
|
||||
pezcumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) => {
|
||||
return build_minimal_relay_chain_node_with_rpc(
|
||||
relay_chain_config,
|
||||
teyrchain_prometheus_registry,
|
||||
@@ -281,7 +281,8 @@ async fn build_relay_chain_interface(
|
||||
rpc_target_urls,
|
||||
)
|
||||
.await
|
||||
.map(|r| r.0),
|
||||
.map(|r| r.0)
|
||||
},
|
||||
};
|
||||
|
||||
task_manager.add_child(relay_chain_node.task_manager);
|
||||
@@ -716,7 +717,7 @@ impl TestNodeBuilder {
|
||||
|
||||
let (task_manager, client, network, rpc_handlers, transaction_pool, backend) =
|
||||
match relay_chain_config.network.network_backend {
|
||||
pezsc_network::config::NetworkBackendType::Libp2p =>
|
||||
pezsc_network::config::NetworkBackendType::Libp2p => {
|
||||
start_node_impl::<_, pezsc_network::NetworkWorker<_, _>>(
|
||||
teyrchain_config,
|
||||
self.collator_key,
|
||||
@@ -729,8 +730,9 @@ impl TestNodeBuilder {
|
||||
false,
|
||||
)
|
||||
.await
|
||||
.expect("could not create Pezcumulus test service"),
|
||||
pezsc_network::config::NetworkBackendType::Litep2p =>
|
||||
.expect("could not create Pezcumulus test service")
|
||||
},
|
||||
pezsc_network::config::NetworkBackendType::Litep2p => {
|
||||
start_node_impl::<_, pezsc_network::Litep2pNetworkBackend>(
|
||||
teyrchain_config,
|
||||
self.collator_key,
|
||||
@@ -743,7 +745,8 @@ impl TestNodeBuilder {
|
||||
false,
|
||||
)
|
||||
.await
|
||||
.expect("could not create Pezcumulus test service"),
|
||||
.expect("could not create Pezcumulus test service")
|
||||
},
|
||||
};
|
||||
let peer_id = network.local_peer_id();
|
||||
let multiaddr = pezkuwi_test_service::get_listen_address(network.clone()).await;
|
||||
|
||||
@@ -100,7 +100,7 @@ fn main() -> Result<(), pezsc_cli::Error> {
|
||||
let (mut task_manager, _, _, _, _, _) = tokio_runtime
|
||||
.block_on(async move {
|
||||
match relay_chain_config.network.network_backend {
|
||||
pezsc_network::config::NetworkBackendType::Libp2p =>
|
||||
pezsc_network::config::NetworkBackendType::Libp2p => {
|
||||
pezcumulus_test_service::start_node_impl::<
|
||||
_,
|
||||
pezsc_network::NetworkWorker<_, _>,
|
||||
@@ -115,8 +115,9 @@ fn main() -> Result<(), pezsc_cli::Error> {
|
||||
true,
|
||||
use_slot_based_collator,
|
||||
)
|
||||
.await,
|
||||
pezsc_network::config::NetworkBackendType::Litep2p =>
|
||||
.await
|
||||
},
|
||||
pezsc_network::config::NetworkBackendType::Litep2p => {
|
||||
pezcumulus_test_service::start_node_impl::<
|
||||
_,
|
||||
pezsc_network::Litep2pNetworkBackend,
|
||||
@@ -131,7 +132,8 @@ fn main() -> Result<(), pezsc_cli::Error> {
|
||||
true,
|
||||
use_slot_based_collator,
|
||||
)
|
||||
.await,
|
||||
.await
|
||||
},
|
||||
}
|
||||
})
|
||||
.expect("could not create Pezcumulus test service");
|
||||
|
||||
Reference in New Issue
Block a user