diff --git a/packages/builder/CHANGELOG.md b/packages/builder/CHANGELOG.md index 550a48b2..79cd5891 100644 --- a/packages/builder/CHANGELOG.md +++ b/packages/builder/CHANGELOG.md @@ -1,5 +1,13 @@ # @moonbeam-network/xcm-builder +## 2.5.1 + +### Patch Changes + +- Updated dependencies [[`4be5659`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4be5659c05fe2487dd6f440c833fdf7cdc369917)]: + - @moonbeam-network/xcm-utils@2.2.0 + - @moonbeam-network/xcm-types@2.4.1 + ## 2.5.0 ### Minor Changes diff --git a/packages/builder/package.json b/packages/builder/package.json index 0508a2cd..29846191 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-builder", - "version": "2.5.0", + "version": "2.5.1", "description": "Moonbeam XCM builder", "scripts": { "build": "tsup", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 9a0d46ab..9772ed0f 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,25 @@ # @moonbeam-network/xcm-config +## 2.6.3 + +### Patch Changes + +- [#359](https://github.com/moonbeam-foundation/xcm-sdk/pull/359) [`5d308c3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5d308c3455126b5dfedb93c38a0afb18344a183e) Thanks [@mmaurello](https://github.com/mmaurello)! - Fix Asset Hub memecoins asset ordering in fee calculation + +## 2.6.2 + +### Patch Changes + +- [#356](https://github.com/moonbeam-foundation/xcm-sdk/pull/356) [`3f22072`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f22072c837a55e9109ad042efa555a46802e6e6) Thanks [@mmaurello](https://github.com/mmaurello)! - Fix TEER configuration in Integritee + +## 2.6.1 + +### Patch Changes + +- Updated dependencies []: + - @moonbeam-network/xcm-builder@2.5.1 + - @moonbeam-network/xcm-types@2.4.1 + ## 2.6.0 ### Minor Changes diff --git a/packages/config/package.json b/packages/config/package.json index cc1b4228..1ce7d523 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "2.6.0", + "version": "2.6.3", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index dd34a33f..3f8f8598 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -585,7 +585,14 @@ export const hydrationAlphanet = new Parachain({ }); export const integritee = new Parachain({ - assets: [ChainAsset.fromAsset(teer, { decimals: 12 })], + assets: [ + ChainAsset.fromAsset(teer, { + decimals: 12, + ids: { + id: teer.originSymbol, + }, + }), + ], ecosystem: Ecosystem.Kusama, genesisHash: '0xcdedc8eadbfa209d3f207bba541e57c3c58a667b05a2e1d1e86353c9000758da', diff --git a/packages/config/src/xcm-configs/polkadotAssetHub.ts b/packages/config/src/xcm-configs/polkadotAssetHub.ts index d344f61b..facd4686 100644 --- a/packages/config/src/xcm-configs/polkadotAssetHub.ts +++ b/packages/config/src/xcm-configs/polkadotAssetHub.ts @@ -92,9 +92,10 @@ export const polkadotAssetHubRoutes = new ChainRoutes({ chain: moonbeam, balance: BalanceBuilder().substrate().assets().account(), fee: { - amount: FeeBuilder() - .xcmPaymentApi() - .xcmPaymentFee({ isAssetReserveChain: false }), + amount: FeeBuilder().xcmPaymentApi().xcmPaymentFee({ + isAssetReserveChain: false, + shouldTransferAssetPrecedeAsset: true, + }), asset: usdt, }, }, @@ -122,9 +123,10 @@ export const polkadotAssetHubRoutes = new ChainRoutes({ chain: moonbeam, balance: BalanceBuilder().substrate().assets().account(), fee: { - amount: FeeBuilder() - .xcmPaymentApi() - .xcmPaymentFee({ isAssetReserveChain: false }), + amount: FeeBuilder().xcmPaymentApi().xcmPaymentFee({ + isAssetReserveChain: false, + shouldTransferAssetPrecedeAsset: true, + }), asset: usdt, }, }, @@ -182,9 +184,10 @@ export const polkadotAssetHubRoutes = new ChainRoutes({ chain: moonbeam, balance: BalanceBuilder().substrate().assets().account(), fee: { - amount: FeeBuilder() - .xcmPaymentApi() - .xcmPaymentFee({ isAssetReserveChain: false }), + amount: FeeBuilder().xcmPaymentApi().xcmPaymentFee({ + isAssetReserveChain: false, + shouldTransferAssetPrecedeAsset: true, + }), asset: usdt, }, }, @@ -214,7 +217,10 @@ export const polkadotAssetHubRoutes = new ChainRoutes({ fee: { amount: FeeBuilder() .xcmPaymentApi() - .xcmPaymentFee({ isAssetReserveChain: false }), + .xcmPaymentFee({ + isAssetReserveChain: false, + shouldTransferAssetPrecedeAsset: true, + }), asset: usdt, }, }, diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index de4df9d6..8474e34d 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,29 @@ # @moonbeam-network/xcm-sdk +## 2.6.3 + +### Patch Changes + +- Updated dependencies [[`5d308c3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5d308c3455126b5dfedb93c38a0afb18344a183e)]: + - @moonbeam-network/xcm-config@2.6.3 + +## 2.6.2 + +### Patch Changes + +- Updated dependencies [[`3f22072`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f22072c837a55e9109ad042efa555a46802e6e6)]: + - @moonbeam-network/xcm-config@2.6.2 + +## 2.6.1 + +### Patch Changes + +- Updated dependencies [[`4be5659`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4be5659c05fe2487dd6f440c833fdf7cdc369917)]: + - @moonbeam-network/xcm-utils@2.2.0 + - @moonbeam-network/xcm-builder@2.5.1 + - @moonbeam-network/xcm-types@2.4.1 + - @moonbeam-network/xcm-config@2.6.1 + ## 2.6.0 ### Minor Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 968e7782..6794b3bc 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "2.6.0", + "version": "2.6.3", "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", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 7339a40d..ddcb6d5b 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonbeam-network/xcm-types +## 2.4.1 + +### Patch Changes + +- Updated dependencies [[`4be5659`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4be5659c05fe2487dd6f440c833fdf7cdc369917)]: + - @moonbeam-network/xcm-utils@2.2.0 + ## 2.4.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 8109c3f5..c10e0996 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-types", - "version": "2.4.0", + "version": "2.4.1", "description": "Moonbeam XCM Types", "scripts": { "build": "tsup", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 3e6b6321..602bb966 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-utils +## 2.2.0 + +### Minor Changes + +- [#353](https://github.com/moonbeam-foundation/xcm-sdk/pull/353) [`4be5659`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4be5659c05fe2487dd6f440c833fdf7cdc369917) Thanks [@mmaurello](https://github.com/mmaurello)! - Release minor version for xcm-utils with isHexString + ## 2.1.7 ### Patch Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index febd2d9c..1e955efa 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-utils", - "version": "2.1.7", + "version": "2.2.0", "description": "Moonbeam XCM utilities", "scripts": { "build": "tsup",