From e0922b63ce46ae144e9118a16a63016852420857 Mon Sep 17 00:00:00 2001 From: mmaurello Date: Mon, 13 Jan 2025 17:56:20 +0100 Subject: [PATCH] remove Tinkernet chain --- packages/config/src/chains.ts | 18 --------------- packages/config/src/configs/index.ts | 2 -- packages/config/src/configs/moonriver.ts | 19 +--------------- packages/config/src/configs/tinkernet.ts | 28 ------------------------ 4 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 packages/config/src/configs/tinkernet.ts diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 8f86b105..159dd6cd 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -1831,23 +1831,6 @@ export const subsocial = new Parachain({ ws: ['wss://para.subsocial.network', 'wss://subsocial-rpc.dwellir.com'], }); -export const tinkernet = new Parachain({ - assetsData: [ - { - asset: tnkr, - id: 0, - }, - ], - ecosystem: Ecosystem.Kusama, - genesisHash: - '0xd42e9606a995dfe433dc7955dc2a70f495f350f373daa200098ae84437816ad2', - key: 'tinkernet', - name: 'InvArch Tinkernet', - parachainId: 2125, - ss58Format: 117, - ws: ['wss://tinkernet-rpc.dwellir.com'], -}); - export const turing = new Parachain({ assetsData: [ { @@ -1981,7 +1964,6 @@ export const chainsList: AnyChain[] = [ alphanetAssetHub, polkadotAssetHub, subsocial, - tinkernet, turing, turingAlphanet, uniqueAlpha, diff --git a/packages/config/src/configs/index.ts b/packages/config/src/configs/index.ts index 05d7d59b..83dcc0a0 100644 --- a/packages/config/src/configs/index.ts +++ b/packages/config/src/configs/index.ts @@ -43,7 +43,6 @@ import { polkadotAssetHubConfig } from './polkadotAssetHub'; import { robonomicsConfig } from './robonomics'; import { shidenConfig } from './shiden'; import { subsocialConfig } from './subsocial'; -import { tinkernetConfig } from './tinkernet'; import { turingConfig } from './turing'; import { turingAlphanetConfig } from './turingAlphanet'; import { zeitgeistConfig } from './zeitgeist'; @@ -92,7 +91,6 @@ export const chainsConfigList: ChainConfig[] = [ kusamaAssetHubConfig, polkadotAssetHubConfig, subsocialConfig, - tinkernetConfig, turingConfig, turingAlphanetConfig, zeitgeistConfig, diff --git a/packages/config/src/configs/moonriver.ts b/packages/config/src/configs/moonriver.ts index 754fe91b..e10a7cb8 100644 --- a/packages/config/src/configs/moonriver.ts +++ b/packages/config/src/configs/moonriver.ts @@ -16,13 +16,12 @@ import { rmrk, sdn, teer, - tnkr, tur, usdt, vbnc, vksm, vmovr, - xrt, + xrt } from '../assets'; import { bifrostKusama, @@ -40,7 +39,6 @@ import { picasso, robonomics, shiden, - tinkernet, turing, } from '../chains'; import { AssetConfig } from '../types/AssetConfig'; @@ -387,21 +385,6 @@ export const moonriverConfig = new ChainConfig({ balance: BalanceBuilder().substrate().system().account(), }, }), - new AssetConfig({ - asset: tnkr, - balance: BalanceBuilder().substrate().assets().account(), - contract: ContractBuilder().Xtokens().transfer(), - destination: tinkernet, - destinationFee: { - amount: 0.4, - asset: tnkr, - balance: BalanceBuilder().substrate().assets().account(), - }, - fee: { - asset: movr, - balance: BalanceBuilder().substrate().system().account(), - }, - }), new AssetConfig({ asset: tur, balance: BalanceBuilder().substrate().assets().account(), diff --git a/packages/config/src/configs/tinkernet.ts b/packages/config/src/configs/tinkernet.ts deleted file mode 100644 index 75db28e5..00000000 --- a/packages/config/src/configs/tinkernet.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { - BalanceBuilder, - ExtrinsicBuilder, - FeeBuilder, -} from '@moonbeam-network/xcm-builder'; -import { tnkr } from '../assets'; -import { moonriver, tinkernet } from '../chains'; -import { AssetConfig } from '../types/AssetConfig'; -import { ChainConfig } from '../types/ChainConfig'; - -export const tinkernetConfig = new ChainConfig({ - assets: [ - new AssetConfig({ - asset: tnkr, - balance: BalanceBuilder().substrate().system().account(), - destination: moonriver, - destinationFee: { - amount: FeeBuilder().xcmPaymentApi().xcmPaymentFee({ - isAssetReserveChain: false, - }), - asset: tnkr, - balance: BalanceBuilder().substrate().system().account(), - }, - extrinsic: ExtrinsicBuilder().xTokens().transfer(), - }), - ], - chain: tinkernet, -});