Skip to content

Commit

Permalink
remove parallel (#369)
Browse files Browse the repository at this point in the history
* remove parallel

* add changeset

* add new moonbase beta endpoint

* update snapshot
  • Loading branch information
mmaurello authored Oct 15, 2024
1 parent 69e4516 commit 6a119d9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 118 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-ladybugs-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moonbeam-network/xcm-config': patch
---

Remove Parallel
37 changes: 4 additions & 33 deletions packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import {
neuro,
nodl,
otp,
para,
paring,
peaq,
pen,
Expand Down Expand Up @@ -878,7 +877,10 @@ export const moonbaseBeta = new EvmParachain({
parachainId: 888,
rpc: 'https://frag-moonbase-beta-rpc.g.moonbase.moonbeam.network',
ss58Format: 1287,
ws: ['wss://deo-moon-rpc-1-moonbase-beta-rpc-1.moonbase.ol-infra.network'],
ws: [
'wss://moonbase-beta.api.moonbase.moonbeam.network',
'wss://deo-moon-rpc-1-moonbase-beta-rpc-1.moonbase.ol-infra.network',
],
});

export const moonbeam = new EvmParachain({
Expand Down Expand Up @@ -992,11 +994,6 @@ export const moonbeam = new EvmParachain({
asset: neuro,
id: '238111524681612888331172110363070489924',
},
{
address: '0xFfFffFFF18898CB5Fe1E88E668152B4f4052A947',
asset: para,
id: '32615670524745285411807346420584982855',
},
{
address: '0xFffFFFFFEC4908b74688a01374f789B48E9a3eab',
asset: peaq,
Expand Down Expand Up @@ -1333,31 +1330,6 @@ export const originTrailAlphanet = new Parachain({
ws: ['wss://otp-lunaris-alpha-node-02.origin-trail.network'],
});

export const parallel = new Parachain({
assetsData: [
{
asset: glmr,
id: 114,
},
// NOTE: no meta for native token
{
asset: para,
metadataId: 0,
},
],
ecosystem: Ecosystem.Polkadot,
genesisHash:
'0xe61a41c53f5dcd0beb09df93b34402aada44cb05117b71059cce40a2723a4e97',
key: 'parallel',
name: 'Parallel',
parachainId: 2012,
ss58Format: 172,
ws: [
'wss://parallel-rpc.dwellir.com',
'wss://polkadot-parallel-rpc.parallel.fi',
],
});

export const peaqAlphanet = new Parachain({
assetsData: [
{
Expand Down Expand Up @@ -1955,7 +1927,6 @@ export const chainsList: AnyChain[] = [
neuroweb,
nodle,
originTrailAlphanet,
parallel,
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 @@ -29,7 +29,6 @@ import { moonriverConfig } from './moonriver';
import { neurowebConfig } from './neuroweb';
import { nodleConfig } from './nodle';
import { originTrailAlphanetConfig } from './originTrailAlphanet';
import { parallelConfig } from './parallel';
import { peaqConfig } from './peaq';
import { peaqAlphanetConfig } from './peaqAlphanet';
import { peaqEvmConfig } from './peaqEvm';
Expand Down Expand Up @@ -77,7 +76,6 @@ export const chainsConfigList: ChainConfig[] = [
neurowebConfig,
nodleConfig,
originTrailAlphanetConfig,
parallelConfig,
peaqConfig,
peaqEvmConfig,
peaqAlphanetConfig,
Expand Down
28 changes: 0 additions & 28 deletions packages/config/src/configs/moonbeam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
manta,
neuro,
nodl,
para,
peaq,
pen,
pha,
Expand Down Expand Up @@ -54,7 +53,6 @@ import {
moonbeam,
neuroweb,
nodle,
parallel,
peaqChain,
peaqEvm,
pendulum,
Expand Down Expand Up @@ -135,17 +133,6 @@ export const moonbeamConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: glmr,
balance: BalanceBuilder().substrate().system().account(),
contract: ContractBuilder().Xtokens().transfer(),
destination: parallel,
destinationFee: {
amount: 0.000000032,
asset: glmr,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: glmr,
balance: BalanceBuilder().substrate().system().account(),
Expand Down Expand Up @@ -359,21 +346,6 @@ export const moonbeamConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: para,
balance: BalanceBuilder().substrate().assets().account(),
contract: ContractBuilder().Xtokens().transfer(),
destination: parallel,
destinationFee: {
amount: 0.064,
asset: para,
balance: BalanceBuilder().substrate().assets().account(),
},
fee: {
asset: glmr,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: pen,
balance: BalanceBuilder().substrate().assets().account(),
Expand Down
48 changes: 0 additions & 48 deletions packages/config/src/configs/parallel.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,6 @@ exports[`sdk > getParachainBalances > on 'Moonbeam' for address: '0x4E82143Af671
"originSymbol": "PEN",
"symbol": "PEN",
},
r {
"amount": 0n,
"decimals": 12,
"key": "para",
"originSymbol": "PARA",
"symbol": "PARA",
},
r {
"amount": 0n,
"decimals": 12,
Expand Down

0 comments on commit 6a119d9

Please sign in to comment.