Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into add-dot-everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
green-jay committed Feb 1, 2024
2 parents 60bc6d5 + ef0c75f commit 9c8c989
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/xcm-cfg/src/builders/pallets/polkadotXcm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
XcmVersion,
ExtrinsicConfigBuilder,
ExtrinsicConfig,
Parents,
} from '@moonbeam-network/xcm-builder';
import { toAssets, toBeneficiary, toDest } from './polkadotXcm.utils';
import { getExtrinsicAccount } from '../ExtrinsicBuilder.utils';
Expand Down Expand Up @@ -69,7 +70,7 @@ const reserveTransferAssets = () => {
};
};

const limitedTeleportAssets = () => {
const limitedTeleportAssets = (parent: Parents) => {
const func = 'limitedTeleportAssets';
return {
here: (): ExtrinsicConfigBuilder => ({
Expand All @@ -83,7 +84,7 @@ const limitedTeleportAssets = () => {
return [
toDest(version, destination),
toBeneficiary(version, account),
toAssets(version, 1, 'Here', amount),
toAssets(version, parent, 'Here', amount),
0,
'Unlimited',
];
Expand Down

0 comments on commit 9c8c989

Please sign in to comment.