Skip to content

Commit

Permalink
Remove obsolete integration (#188)
Browse files Browse the repository at this point in the history
* remove litentry alphanet configuration

* change parallel endpoint

* add changeset
  • Loading branch information
mmaurello authored Jan 22, 2024
1 parent d26fa10 commit 1b09924
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 65 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-ladybugs-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moonbeam-network/xcm-config': patch
---

Remove Litentry alphanet and change Parallel endpoint
21 changes: 1 addition & 20 deletions packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,24 +600,6 @@ export const kusamaAssetHub = new Parachain({
ws: 'wss://kusama-asset-hub-rpc.polkadot.io',
});

export const litentryAlphanet = new Parachain({
assetsData: [
{
asset: lit,
id: 'SelfReserve',
},
],
ecosystem: Ecosystem.AlphanetRelay,
genesisHash:
'0x4decfd421755d9008781d00ce40ea4cf47ec24a3717a34ca995126fc4a78c4f8',
isTestChain: true,
key: 'litentry-alphanet',
name: 'Litentry Alphanet',
parachainId: 2106,
ss58Format: 131,
ws: 'wss://moonbase-parachain-sg-0.litentry.io',
});

export const litmus = new Parachain({
assetsData: [
{
Expand Down Expand Up @@ -1095,7 +1077,7 @@ export const parallel = new Parachain({
name: 'Parallel',
parachainId: 2012,
ss58Format: 172,
ws: 'wss://polkadot-parallel-rpc.parallel.fi',
ws: 'wss://parallel-rpc.dwellir.com',
});

export const parallelHeiko = new Parachain({
Expand Down Expand Up @@ -1422,7 +1404,6 @@ export const chainsList: AnyChain[] = [
khala,
kintsugi,
kusama,
litentryAlphanet,
litmus,
mangataKusama,
moonbaseAlpha,
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 @@ -21,7 +21,6 @@ import { khalaConfig } from './khala';
import { kintsugiConfig } from './kintsugi';
import { kusamaConfig } from './kusama';
import { kusamaAssetHubConfig } from './kusamaAssetHub';
import { litentryAlphanetConfig } from './litentryAlphanet';
import { litmusConfig } from './litmus';
import { mangataKusamaConfig } from './mangataKusama';
import { moonbaseAlphaConfig } from './moonbaseAlpha';
Expand Down Expand Up @@ -68,7 +67,6 @@ export const chainsConfigList: ChainConfig[] = [
khalaConfig,
kintsugiConfig,
kusamaConfig,
litentryAlphanetConfig,
litmusConfig,
mangataKusamaConfig,
moonbaseAlphaConfig,
Expand Down
26 changes: 0 additions & 26 deletions packages/config/src/configs/litentryAlphanet.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/config/src/configs/moonbaseAlpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
ampe,
atom,
dev,
lit,
otp,
paring,
pica,
Expand All @@ -16,7 +15,6 @@ import {
alphanetAssetHub,
alphanetRelay,
darwiniaPangoro,
litentryAlphanet,
moonbaseAlpha,
moonbaseBeta,
originTrailAlphanet,
Expand Down Expand Up @@ -118,21 +116,6 @@ export const moonbaseAlphaConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: lit,
balance: BalanceBuilder().substrate().assets().account(),
contract: ContractBuilder().Xtokens().transfer(),
destination: litentryAlphanet,
destinationFee: {
amount: 0.032,
asset: lit,
balance: BalanceBuilder().substrate().assets().account(),
},
fee: {
asset: dev,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: otp,
balance: BalanceBuilder().substrate().assets().account(),
Expand Down

0 comments on commit 1b09924

Please sign in to comment.