@@ -30,15 +30,23 @@ use sp_runtime::{traits::Zero, FixedPointNumber, FixedU128};
3030use sp_std:: { ops:: RangeInclusive , prelude:: * } ;
3131// --- darwinia-network ---
3232use crate :: * ;
33- use bp_messages:: { source_chain:: * , target_chain:: * , * } ;
34- use bp_runtime:: { ChainId , * } ;
33+ use bp_messages:: {
34+ source_chain:: TargetHeaderChain ,
35+ target_chain:: { ProvedMessages , SourceHeaderChain } ,
36+ InboundLaneData , LaneId , Message , MessageNonce , Parameter ,
37+ } ;
38+ use bp_runtime:: { Chain , ChainId , PANGOLIN_CHAIN_ID , PANGORO_CHAIN_ID } ;
3539use bridge_runtime_common:: {
36- lanes:: * ,
40+ lanes:: PANGORO_PANGOLIN_LANE ,
3741 messages:: {
3842 self ,
39- source:: { self , * } ,
40- target:: { self , * } ,
41- BalanceOf , * ,
43+ source:: { self , FromBridgedChainMessagesDeliveryProof , FromThisChainMessagePayload } ,
44+ target:: {
45+ self , FromBridgedChainEncodedMessageCall , FromBridgedChainMessageDispatch ,
46+ FromBridgedChainMessagePayload , FromBridgedChainMessagesProof ,
47+ } ,
48+ BalanceOf , BridgedChainWithMessages , ChainWithMessages , MessageBridge , MessageTransaction ,
49+ ThisChainWithMessages ,
4250 } ,
4351} ;
4452use drml_common_runtime:: impls:: FromThisChainMessageVerifier ;
@@ -65,9 +73,6 @@ pub type FromPangolinEncodedCall = FromBridgedChainEncodedMessageCall<Call>;
6573pub type FromPangolinMessageDispatch =
6674 FromBridgedChainMessageDispatch < WithPangolinMessageBridge , Runtime , Ring , WithPangolinDispatch > ;
6775
68- /// The s2s issuing pallet index in the pangolin chain runtime
69- pub const PANGOLIN_S2S_ISSUING_PALLET_INDEX : u8 = 49 ;
70-
7176/// Initial value of `PangolinToPangoroConversionRate` parameter.
7277pub const INITIAL_PANGOLIN_TO_PANGORO_CONVERSION_RATE : FixedU128 =
7378 FixedU128 :: from_inner ( FixedU128 :: DIV ) ;
0 commit comments