Skip to content

Commit 67d91af

Browse files
authored
Merge pull request #252 from interlay/tom/support-runtime-upgrade
chore: test removing condition
2 parents 25549ef + cc729a1 commit 67d91af

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

src/adapters/interlay.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,6 @@ export const kintsugiRoutersConfig: Omit<CrossChainRouterConfigs, "from">[] = [
200200
weightLimit: DEST_WEIGHT,
201201
},
202202
},
203-
{
204-
to: "kintsugi",
205-
token: "KSM",
206-
xcm: {
207-
fee: { token: "KSM", amount: "1000000000" },
208-
weightLimit: DEST_WEIGHT,
209-
},
210-
},
211203
{
212204
to: "statemine",
213205
token: "KSM",

src/adapters/statemint.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const SUPPORTED_TOKENS: Record<string, BN> = {
8888
ARIS: new BN(16),
8989
USDC: new BN(1337),
9090
USDT: new BN(1984),
91-
KSM: new BN(1984),
9291
};
9392

9493
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
@@ -296,7 +295,7 @@ class BaseStatemintAdapter extends BaseCrossChainAdapter {
296295

297296
const assetId = SUPPORTED_TOKENS[token];
298297
if (
299-
to !== "interlay" ||
298+
(to !== "kintsugi" && to !== "interlay") ||
300299
token === this.balanceAdapter?.nativeToken ||
301300
!assetId
302301
) {

0 commit comments

Comments
 (0)