mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
add Encointer as trusted teleporter for Westend (#3411)
with the deprecation of Rococo, Encointer needs a new staging environment. Paseo will be Polkadot-focused and westend Kusama-focused, so we propose to use Westend
This commit is contained in:
@@ -114,12 +114,14 @@ parameter_types! {
|
||||
pub AssetHub: Location = Parachain(ASSET_HUB_ID).into_location();
|
||||
pub Collectives: Location = Parachain(COLLECTIVES_ID).into_location();
|
||||
pub BridgeHub: Location = Parachain(BRIDGE_HUB_ID).into_location();
|
||||
pub Encointer: Location = Parachain(ENCOINTER_ID).into_location();
|
||||
pub People: Location = Parachain(PEOPLE_ID).into_location();
|
||||
pub Broker: Location = Parachain(BROKER_ID).into_location();
|
||||
pub Wnd: AssetFilter = Wild(AllOf { fun: WildFungible, id: AssetId(TokenLocation::get()) });
|
||||
pub WndForAssetHub: (AssetFilter, Location) = (Wnd::get(), AssetHub::get());
|
||||
pub WndForCollectives: (AssetFilter, Location) = (Wnd::get(), Collectives::get());
|
||||
pub WndForBridgeHub: (AssetFilter, Location) = (Wnd::get(), BridgeHub::get());
|
||||
pub WndForEncointer: (AssetFilter, Location) = (Wnd::get(), Encointer::get());
|
||||
pub WndForPeople: (AssetFilter, Location) = (Wnd::get(), People::get());
|
||||
pub WndForBroker: (AssetFilter, Location) = (Wnd::get(), Broker::get());
|
||||
pub MaxInstructions: u32 = 100;
|
||||
@@ -130,6 +132,7 @@ pub type TrustedTeleporters = (
|
||||
xcm_builder::Case<WndForAssetHub>,
|
||||
xcm_builder::Case<WndForCollectives>,
|
||||
xcm_builder::Case<WndForBridgeHub>,
|
||||
xcm_builder::Case<WndForEncointer>,
|
||||
xcm_builder::Case<WndForPeople>,
|
||||
xcm_builder::Case<WndForBroker>,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user