Skip to content

Unify components for Polkadot bridges #7274

@bkontur

Description

@bkontur

Description

At least P/K and Snowbridge shares some commonalities (xcm routing, congestion, dynamic fees, collecting rewards, ...) which are unnecessary implemented twice.

Trait changes:

  • ExporterFor change Option<Asset> to Assets or Option<Assets to support more fees and be aligned with SendXcm trait
  • ExportXcm - remove channel and change the order or params:
    fn validate(
     	universal_source: &mut Option<InteriorLocation>,
     	network: NetworkId,
     	destination: &mut Option<InteriorLocation>,
     	message: &mut Option<Xcm<()>>,
    ) -> SendResult<Self::Ticket>;
    

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions