Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
cargo +nightly fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed Jan 18, 2023
1 parent 248bc5d commit b46b85d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand All @@ -52,9 +51,11 @@ parameter_types! {
}

/// Proof of messages, coming from Wococo.
pub type FromWococoBridgeHubMessagesProof = FromBridgedChainMessagesProof<bp_bridge_hub_wococo::Hash>;
pub type FromWococoBridgeHubMessagesProof =
FromBridgedChainMessagesProof<bp_bridge_hub_wococo::Hash>;
/// Messages delivery proof for Rococo Bridge Hub -> Wococo Bridge Hub messages.
pub type ToWococoBridgeHubMessagesDeliveryProof = FromBridgedChainMessagesDeliveryProof<bp_bridge_hub_wococo::Hash>;
pub type ToWococoBridgeHubMessagesDeliveryProof =
FromBridgedChainMessagesDeliveryProof<bp_bridge_hub_wococo::Hash>;

/// Dispatches received XCM messages from other bridge
pub type OnBridgeHubRococoBlobDispatcher =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand All @@ -52,11 +51,11 @@ parameter_types! {
}

/// Proof of messages, coming from Rococo.
pub type FromRococoBridgeHubMessagesProof = FromBridgedChainMessagesProof<bp_bridge_hub_rococo::Hash>;
pub type FromRococoBridgeHubMessagesProof =
FromBridgedChainMessagesProof<bp_bridge_hub_rococo::Hash>;
/// Messages delivery proof for Rococo Bridge Hub -> Wococo Bridge Hub messages.
pub type ToRococoBridgeHubMessagesDeliveryProof = FromBridgedChainMessagesDeliveryProof<
bp_bridge_hub_rococo::Hash,
>;
pub type ToRococoBridgeHubMessagesDeliveryProof =
FromBridgedChainMessagesDeliveryProof<bp_bridge_hub_rococo::Hash>;

/// Dispatches received XCM messages from other bridge
pub type OnBridgeHubWococoBlobDispatcher =
Expand Down

0 comments on commit b46b85d

Please sign in to comment.