From 7f88012e6b052127d5d03881f9f3c14c63e46210 Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:26:51 +0100 Subject: [PATCH 1/2] Alphanet Relay endpoint and Polakdot sovereign account balance checking (#402) * add alphanet relay ws endpoint and check sovereign account in Polkadot and Kusama * add changeset --- .changeset/nasty-plants-carry.md | 5 +++++ packages/config/src/chains.ts | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/nasty-plants-carry.md diff --git a/.changeset/nasty-plants-carry.md b/.changeset/nasty-plants-carry.md new file mode 100644 index 00000000..86c90167 --- /dev/null +++ b/.changeset/nasty-plants-carry.md @@ -0,0 +1,5 @@ +--- +'@moonbeam-network/xcm-config': patch +--- + +add alphanet relay ws endpoint and check sovereign account in Polkadot and Kusama diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index ed9851a6..8f86b105 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -158,7 +158,10 @@ export const alphanetRelay = new Parachain({ name: 'Alphanet Relay', parachainId: 0, ss58Format: 42, - ws: ['wss://fro-moon-rpc-1-moonbase-relay-rpc-1.moonbase.ol-infra.network'], + ws: [ + 'wss://relay.api.moonbase.moonbeam.network', + 'wss://fro-moon-rpc-1-moonbase-relay-rpc-1.moonbase.ol-infra.network', + ], }); export const astar = new Parachain({ @@ -640,6 +643,7 @@ export const kintsugi = new Parachain({ }); export const kusama = new Parachain({ + checkSovereignAccountBalances: true, ecosystem: Ecosystem.Kusama, genesisHash: '0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe', @@ -1677,6 +1681,7 @@ export const picassoAlphanet = new Parachain({ }); export const polkadot = new Parachain({ + checkSovereignAccountBalances: true, ecosystem: Ecosystem.Polkadot, genesisHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3', From e8470fb6a508766bad2881ea9cdc92821dae0441 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:29:27 +0100 Subject: [PATCH 2/2] Version Packages (#403) Co-authored-by: github-actions[bot] --- .changeset/nasty-plants-carry.md | 5 ----- examples/sdk-simple/package.json | 4 ++-- package-lock.json | 10 +++++----- packages/config/CHANGELOG.md | 6 ++++++ packages/config/package.json | 2 +- packages/sdk/CHANGELOG.md | 7 +++++++ packages/sdk/package.json | 4 ++-- 7 files changed, 23 insertions(+), 15 deletions(-) delete mode 100644 .changeset/nasty-plants-carry.md diff --git a/.changeset/nasty-plants-carry.md b/.changeset/nasty-plants-carry.md deleted file mode 100644 index 86c90167..00000000 --- a/.changeset/nasty-plants-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@moonbeam-network/xcm-config': patch ---- - -add alphanet relay ws endpoint and check sovereign account in Polkadot and Kusama diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index ff0ea9c3..227f56c5 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,8 +12,8 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "2.7.6", - "@moonbeam-network/xcm-sdk": "2.7.6", + "@moonbeam-network/xcm-config": "2.7.7", + "@moonbeam-network/xcm-sdk": "2.7.7", "@moonbeam-network/xcm-utils": "2.2.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 6c78b0b9..bfa1fd76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,8 +50,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "2.7.6", - "@moonbeam-network/xcm-sdk": "2.7.6", + "@moonbeam-network/xcm-config": "2.7.7", + "@moonbeam-network/xcm-sdk": "2.7.7", "@moonbeam-network/xcm-utils": "2.2.3" }, "devDependencies": { @@ -20158,7 +20158,7 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "2.7.6", + "version": "2.7.7", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "2.6.0", @@ -20172,11 +20172,11 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "2.7.6", + "version": "2.7.7", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "2.6.0", - "@moonbeam-network/xcm-config": "2.7.6", + "@moonbeam-network/xcm-config": "2.7.7", "@moonbeam-network/xcm-types": "2.5.3", "@moonbeam-network/xcm-utils": "2.2.3", "big.js": "^6.2.1" diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 57c97030..c4570f9d 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-config +## 2.7.7 + +### Patch Changes + +- [#402](https://github.com/moonbeam-foundation/xcm-sdk/pull/402) [`7f88012`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7f88012e6b052127d5d03881f9f3c14c63e46210) Thanks [@mmaurello](https://github.com/mmaurello)! - add alphanet relay ws endpoint and check sovereign account in Polkadot and Kusama + ## 2.7.6 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 4d1e7781..8c536c32 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "2.7.6", + "version": "2.7.7", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 3cbb7c45..d425c13a 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonbeam-network/xcm-sdk +## 2.7.7 + +### Patch Changes + +- Updated dependencies [[`7f88012`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7f88012e6b052127d5d03881f9f3c14c63e46210)]: + - @moonbeam-network/xcm-config@2.7.7 + ## 2.7.6 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 5654d9f1..be0227d0 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "2.7.6", + "version": "2.7.7", "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", "scripts": { "build": "tsup", @@ -52,7 +52,7 @@ "main": "./build/index.cjs", "dependencies": { "@moonbeam-network/xcm-builder": "2.6.0", - "@moonbeam-network/xcm-config": "2.7.6", + "@moonbeam-network/xcm-config": "2.7.7", "@moonbeam-network/xcm-types": "2.5.3", "@moonbeam-network/xcm-utils": "2.2.3", "big.js": "^6.2.1"