From b46b85df8436d31879b4a81f8dfe999e21649389 Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Wed, 18 Jan 2023 14:19:21 +0300 Subject: [PATCH] cargo +nightly fmt --all --- .../src/bridge_hub_rococo_config.rs | 11 ++++++----- .../src/bridge_hub_wococo_config.rs | 13 ++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_rococo_config.rs b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_rococo_config.rs index a43a4eb13c8..d273854a8ea 100644 --- a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_rococo_config.rs +++ b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_rococo_config.rs @@ -27,9 +27,8 @@ use bp_runtime::ChainId; use bridge_runtime_common::{ messages, messages::{ - source::FromBridgedChainMessagesDeliveryProof, - target::FromBridgedChainMessagesProof, MessageBridge, ThisChainWithMessages, - UnderlyingChainProvider, + source::FromBridgedChainMessagesDeliveryProof, target::FromBridgedChainMessagesProof, + MessageBridge, ThisChainWithMessages, UnderlyingChainProvider, }, }; use frame_support::{parameter_types, RuntimeDebug}; @@ -52,9 +51,11 @@ parameter_types! { } /// Proof of messages, coming from Wococo. -pub type FromWococoBridgeHubMessagesProof = FromBridgedChainMessagesProof; +pub type FromWococoBridgeHubMessagesProof = + FromBridgedChainMessagesProof; /// Messages delivery proof for Rococo Bridge Hub -> Wococo Bridge Hub messages. -pub type ToWococoBridgeHubMessagesDeliveryProof = FromBridgedChainMessagesDeliveryProof; +pub type ToWococoBridgeHubMessagesDeliveryProof = + FromBridgedChainMessagesDeliveryProof; /// Dispatches received XCM messages from other bridge pub type OnBridgeHubRococoBlobDispatcher = diff --git a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_wococo_config.rs b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_wococo_config.rs index b32a6e96e53..6b589ac86b0 100644 --- a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_wococo_config.rs +++ b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_hub_wococo_config.rs @@ -27,9 +27,8 @@ use bp_runtime::ChainId; use bridge_runtime_common::{ messages, messages::{ - source::FromBridgedChainMessagesDeliveryProof, - target::FromBridgedChainMessagesProof, MessageBridge, ThisChainWithMessages, - UnderlyingChainProvider, + source::FromBridgedChainMessagesDeliveryProof, target::FromBridgedChainMessagesProof, + MessageBridge, ThisChainWithMessages, UnderlyingChainProvider, }, }; use frame_support::{parameter_types, RuntimeDebug}; @@ -52,11 +51,11 @@ parameter_types! { } /// Proof of messages, coming from Rococo. -pub type FromRococoBridgeHubMessagesProof = FromBridgedChainMessagesProof; +pub type FromRococoBridgeHubMessagesProof = + FromBridgedChainMessagesProof; /// Messages delivery proof for Rococo Bridge Hub -> Wococo Bridge Hub messages. -pub type ToRococoBridgeHubMessagesDeliveryProof = FromBridgedChainMessagesDeliveryProof< - bp_bridge_hub_rococo::Hash, ->; +pub type ToRococoBridgeHubMessagesDeliveryProof = + FromBridgedChainMessagesDeliveryProof; /// Dispatches received XCM messages from other bridge pub type OnBridgeHubWococoBlobDispatcher =