Skip to content

Commit fccf158

Browse files
committed
merge with main removing parallel
2 parents 07e1499 + 641334d commit fccf158

File tree

9 files changed

+19
-163
lines changed

9 files changed

+19
-163
lines changed

packages/config/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @moonbeam-network/xcm-config
22

3+
## 2.7.1
4+
5+
### Patch Changes
6+
7+
- [#369](https://github.com/moonbeam-foundation/xcm-sdk/pull/369) [`6a119d9`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6a119d9e166ca3805696718cb9ff42455c65b65e) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove Parallel
8+
39
## 2.7.0
410

511
### Minor Changes

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@moonbeam-network/xcm-config",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back",
55
"scripts": {
66
"build": "tsup",

packages/config/src/chains.ts

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ import {
5050
neuro,
5151
nodl,
5252
otp,
53-
para,
5453
paring,
5554
peaq,
5655
pen,
@@ -1016,7 +1015,10 @@ export const moonbaseBeta = new EvmParachain({
10161015
parachainId: 888,
10171016
rpc: 'https://frag-moonbase-beta-rpc.g.moonbase.moonbeam.network',
10181017
ss58Format: 1287,
1019-
ws: ['wss://deo-moon-rpc-1-moonbase-beta-rpc-1.moonbase.ol-infra.network'],
1018+
ws: [
1019+
'wss://moonbase-beta.api.moonbase.moonbeam.network',
1020+
'wss://deo-moon-rpc-1-moonbase-beta-rpc-1.moonbase.ol-infra.network',
1021+
],
10201022
});
10211023

10221024
export const moonbeam = new EvmParachain({
@@ -1163,13 +1165,6 @@ export const moonbeam = new EvmParachain({
11631165
id: '238111524681612888331172110363070489924',
11641166
},
11651167
}),
1166-
ChainAsset.fromAsset(para, {
1167-
address: '0xFfFffFFF18898CB5Fe1E88E668152B4f4052A947',
1168-
decimals: 12,
1169-
ids: {
1170-
id: '32615670524745285411807346420584982855',
1171-
},
1172-
}),
11731168
ChainAsset.fromAsset(peaq, {
11741169
address: '0xFffFFFFFEC4908b74688a01374f789B48E9a3eab',
11751170
decimals: 18,
@@ -1571,32 +1566,6 @@ export const originTrailAlphanet = new Parachain({
15711566
ws: ['wss://otp-lunaris-alpha-node-02.origin-trail.network'],
15721567
});
15731568

1574-
export const parallel = new Parachain({
1575-
assets: [
1576-
ChainAsset.fromAsset(glmr, {
1577-
decimals: 18,
1578-
ids: {
1579-
id: 114,
1580-
},
1581-
}),
1582-
ChainAsset.fromAsset(para, {
1583-
decimals: 12,
1584-
}),
1585-
],
1586-
ecosystem: Ecosystem.Polkadot,
1587-
genesisHash:
1588-
'0xe61a41c53f5dcd0beb09df93b34402aada44cb05117b71059cce40a2723a4e97',
1589-
key: 'parallel',
1590-
name: 'Parallel',
1591-
nativeAsset: para,
1592-
parachainId: 2012,
1593-
ss58Format: 172,
1594-
ws: [
1595-
'wss://parallel-rpc.dwellir.com',
1596-
'wss://polkadot-parallel-rpc.parallel.fi',
1597-
],
1598-
});
1599-
16001569
export const peaqAlphanet = new Parachain({
16011570
assets: [
16021571
ChainAsset.fromAsset(agng, {
@@ -2265,8 +2234,6 @@ export const chainsList: AnyChain[] = [
22652234
neuroweb,
22662235
nodle,
22672236
originTrailAlphanet,
2268-
parallel,
2269-
peaqAlphanet,
22702237
peaqChain,
22712238
peaqEvm,
22722239
peaqEvmAlphanet,

packages/config/src/xcm-configs/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import { moonriverRoutes } from './moonriver';
2929
import { neurowebRoutes } from './neuroweb';
3030
import { nodleRoutes } from './nodle';
3131
import { originTrailAlphanetRoutes } from './originTrailAlphanet';
32-
import { parallelRoutes } from './parallel';
3332
import { peaqRoutes } from './peaq';
3433
import { peaqAlphanetRoutes } from './peaqAlphanet';
3534
import { peaqEvmRoutes } from './peaqEvm';
@@ -77,7 +76,6 @@ export const xcmRoutesList: ChainRoutes[] = [
7776
neurowebRoutes,
7877
nodleRoutes,
7978
originTrailAlphanetRoutes,
80-
parallelRoutes,
8179
peaqRoutes,
8280
peaqEvmRoutes,
8381
peaqAlphanetRoutes,

packages/config/src/xcm-configs/moonbeam.ts

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
manta,
2121
neuro,
2222
nodl,
23-
para,
2423
peaq,
2524
pen,
2625
pha,
@@ -54,7 +53,6 @@ import {
5453
moonbeam,
5554
neuroweb,
5655
nodle,
57-
parallel,
5856
peaqChain,
5957
peaqEvm,
6058
pendulum,
@@ -183,25 +181,6 @@ export const moonbeamRoutes = new ChainRoutes({
183181
},
184182
contract: ContractBuilder().Xtokens().transfer(),
185183
},
186-
{
187-
source: {
188-
asset: glmr,
189-
balance: BalanceBuilder().substrate().system().account(),
190-
destinationFee: {
191-
balance: BalanceBuilder().substrate().system().account(),
192-
},
193-
},
194-
destination: {
195-
asset: glmr,
196-
chain: parallel,
197-
balance: BalanceBuilder().substrate().assets().account(),
198-
fee: {
199-
amount: 0.000000032,
200-
asset: glmr,
201-
},
202-
},
203-
contract: ContractBuilder().Xtokens().transfer(),
204-
},
205184
{
206185
source: {
207186
asset: glmr,
@@ -535,29 +514,6 @@ export const moonbeamRoutes = new ChainRoutes({
535514
},
536515
contract: ContractBuilder().Xtokens().transfer(),
537516
},
538-
{
539-
source: {
540-
asset: para,
541-
balance: BalanceBuilder().substrate().assets().account(),
542-
fee: {
543-
asset: glmr,
544-
balance: BalanceBuilder().substrate().system().account(),
545-
},
546-
destinationFee: {
547-
balance: BalanceBuilder().substrate().assets().account(),
548-
},
549-
},
550-
destination: {
551-
asset: para,
552-
chain: parallel,
553-
balance: BalanceBuilder().substrate().system().account(),
554-
fee: {
555-
amount: 0.064,
556-
asset: para,
557-
},
558-
},
559-
contract: ContractBuilder().Xtokens().transfer(),
560-
},
561517
{
562518
source: {
563519
asset: pen,

packages/config/src/xcm-configs/parallel.ts

Lines changed: 0 additions & 63 deletions
This file was deleted.

packages/sdk/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @moonbeam-network/xcm-sdk
22

3+
## 2.7.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`6a119d9`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6a119d9e166ca3805696718cb9ff42455c65b65e)]:
8+
- @moonbeam-network/xcm-config@2.7.1
9+
310
## 2.7.0
411

512
### Minor Changes

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@moonbeam-network/xcm-sdk",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem",
55
"scripts": {
66
"build": "tsup",

packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -791,21 +791,6 @@ exports[`sdk > getParachainBalances > on 'Moonbeam' for address: '0x4E82143Af671
791791
"address": "0xFfFffFFF18898CB5Fe1E88E668152B4f4052A947",
792792
"amount": 0n,
793793
"decimals": 12,
794-
"ids": {
795-
"id": "32615670524745285411807346420584982855",
796-
},
797-
"key": "para",
798-
"min": undefined,
799-
"originSymbol": "PARA",
800-
"symbol": undefined,
801-
},
802-
_AssetAmount {
803-
"address": "0xFfffffFfB3229c8E7657eABEA704d5e75246e544",
804-
"amount": 0n,
805-
"decimals": 12,
806-
"ids": {
807-
"id": "238111524681612888331172110363070489924",
808-
},
809794
"key": "neuro",
810795
"min": undefined,
811796
"originSymbol": "NEURO",

0 commit comments

Comments
 (0)