Skip to content

Commit

Permalink
teleport back works too now
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Feb 14, 2024
1 parent 10c4eae commit a5debaf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
17 changes: 17 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion polkadot-parachains/integritee-runtime/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,11 @@ impl Contains<(MultiLocation, Vec<MultiAsset>)> for OnlyTeleportNative {
}

pub type Traders = (
// for TEER
FixedRateOfFungible<NativePerSecond, ()>,
// for KSM aka RelayNative
FixedRateOfFungible<RelayNativePerSecond, ()>,
// Everything else
// Everything else: TEER as referred to by Karura, Moonriver, Bifrost
UsingComponents<IdentityFee<Balance>, SelfReserve, AccountId, Balances, ()>,
);

Expand All @@ -409,6 +412,7 @@ pub type TrustedTeleporters = (staging_xcm_builder::Case<AssetHubTrustedTeleport

parameter_types! {
pub const MaxAssetsIntoHolding: u32 = 64;
pub NativePerSecond: (staging_xcm::v3::AssetId, u128,u128) = (MultiLocation::new(0,Here).into(), TEER * 70, 0u128);
pub RelayNativePerSecond: (staging_xcm::v3::AssetId, u128,u128) = (MultiLocation::new(1,Here).into(), TEER * 70, 0u128);
}

Expand Down

0 comments on commit a5debaf

Please sign in to comment.