Skip to content

Commit

Permalink
Delete Parallel Heiko configuration (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello authored Jul 5, 2024
1 parent cc3ff84 commit e3f6652
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 109 deletions.
5 changes: 5 additions & 0 deletions .changeset/wicked-trees-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moonbeam-network/xcm-config': patch
---

Remove all Parallel Heiko configuration
6 changes: 0 additions & 6 deletions packages/config/src/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ export const hdx = new Asset({
originSymbol: 'HDX',
});

export const hko = new Asset({
key: 'hko',
originSymbol: 'HKO',
});

export const ibtc = new Asset({
key: 'ibtc',
originSymbol: 'IBTC',
Expand Down Expand Up @@ -404,7 +399,6 @@ export const assetsList: Asset[] = [
ftmwh,
glmr,
hdx,
hko,
ibtc,
intr,
kar,
Expand Down
29 changes: 0 additions & 29 deletions packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
ftmwh,
glmr,
hdx,
hko,
ibtc,
intr,
kar,
Expand Down Expand Up @@ -1113,11 +1112,6 @@ export const moonriver = new EvmParachain({
asset: csm,
id: '108457044225666871745333730479173774551',
},
{
address: '0xffffffFF394054BCDa1902B6A6436840435655a3',
asset: hko,
id: '76100021443485661246318545281171740067',
},
{
address: '0xFfFFFFfF08220AD2E6e157f26eD8bD22A336A0A5',
asset: kar,
Expand Down Expand Up @@ -1317,28 +1311,6 @@ export const parallel = new Parachain({
ws: 'wss://parallel-rpc.dwellir.com',
});

export const parallelHeiko = new Parachain({
assetsData: [
{
asset: movr,
id: 113,
},
// NOTE: no meta for native token
{
asset: hko,
metadataId: 0,
},
],
ecosystem: Ecosystem.Kusama,
genesisHash:
'0x64a1c658a48b2e70a7fb1ad4c39eea35022568c20fc44a6e2e3d0a57aee6053b',
key: 'parallel-heiko',
name: 'Parallel Heiko',
parachainId: 2085,
ss58Format: 110,
ws: 'wss://heiko-rpc.parallel.fi',
});

export const peaqAlphanet = new Parachain({
assetsData: [
{
Expand Down Expand Up @@ -1900,7 +1872,6 @@ export const chainsList: AnyChain[] = [
nodle,
originTrailAlphanet,
parallel,
parallelHeiko,
peaqChain,
peaqEvm,
peaqAlphanet,
Expand Down
2 changes: 0 additions & 2 deletions packages/config/src/configs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import { neurowebConfig } from './neuroweb';
import { nodleConfig } from './nodle';
import { originTrailAlphanetConfig } from './originTrailAlphanet';
import { parallelConfig } from './parallel';
import { parallelHeikoConfig } from './parallelHeiko';
import { peaqConfig } from './peaq';
import { peaqAlphanetConfig } from './peaqAlphanet';
import { peaqEvmConfig } from './peaqEvm';
Expand Down Expand Up @@ -84,7 +83,6 @@ export const chainsConfigList: ChainConfig[] = [
nodleConfig,
originTrailAlphanetConfig,
parallelConfig,
parallelHeikoConfig,
peaqConfig,
peaqEvmConfig,
peaqAlphanetConfig,
Expand Down
28 changes: 0 additions & 28 deletions packages/config/src/configs/moonriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
bnc,
crab,
csm,
hko,
kar,
kbtc,
kint,
Expand Down Expand Up @@ -40,7 +39,6 @@ import {
litmus,
mangataKusama,
moonriver,
parallelHeiko,
picasso,
robonomics,
shiden,
Expand Down Expand Up @@ -118,17 +116,6 @@ export const moonriverConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: movr,
balance: BalanceBuilder().substrate().system().account(),
contract: ContractBuilder().Xtokens().transfer(),
destination: parallelHeiko,
destinationFee: {
amount: 0.00000000192,
asset: movr,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: movr,
balance: BalanceBuilder().substrate().system().account(),
Expand Down Expand Up @@ -222,21 +209,6 @@ export const moonriverConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: hko,
balance: BalanceBuilder().substrate().assets().account(),
contract: ContractBuilder().Xtokens().transfer(),
destination: parallelHeiko,
destinationFee: {
amount: 0.0192,
asset: hko,
balance: BalanceBuilder().substrate().assets().account(),
},
fee: {
asset: movr,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: kar,
balance: BalanceBuilder().substrate().assets().account(),
Expand Down
44 changes: 0 additions & 44 deletions packages/config/src/configs/parallelHeiko.ts

This file was deleted.

0 comments on commit e3f6652

Please sign in to comment.