Skip to content
  • Serban Iorga's avatar
    Follow-up on #1518 (#1546) · 9dbad39b
    Serban Iorga authored
    
    
    * Adjustments for the xcm messages sending logic
    
    Signed-off-by: default avatarSerban Iorga <[email protected]>
    
    * Deduplicate XCM destination
    
    Signed-off-by: default avatarSerban Iorga <[email protected]>
    
    * [send_message] small changes
    
    Signed-off-by: default avatarSerban Iorga <[email protected]>
    
    * Define CustomNetworkId
    
    Right now we use some associations between Rialto, RialtoParachain and
    Millau chains and chains defined in the NetworkId enum. But if we are
    not carreful we might do mistakes like:
    In Millau:
    pub const ThisNetwork: NetworkId = Kusama;
    pub const RialtoNetwork: NetworkId = Polkadot;
    In Rialto:
    pub const ThisNetwork: NetworkId = Kusama;
    pub const MillauNetwork: NetworkId = Polkadot;
    
    We're introducing CustomNetworkId to have a centralized mapping between
    NetworkId chains and our custom chains.
    
    Signed-off-by: default avatarSerban Iorga <[email protected]>
    
    * Revert "Deduplicate XCM destination"
    
    This reverts commit 3a0a950e
    
    .
    
    Signed-off-by: default avatarSerban Iorga <[email protected]>
    9dbad39b
This project manages its dependencies using Cargo. Learn more