Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Sep 30, 2024
2 parents 43e38bb + 242c274 commit 2814784
Show file tree
Hide file tree
Showing 12 changed files with 94 additions and 16 deletions.
8 changes: 8 additions & 0 deletions packages/builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonbeam-network/xcm-builder",
"version": "2.5.0",
"version": "2.5.1",
"description": "Moonbeam XCM builder",
"scripts": {
"build": "tsup",
Expand Down
20 changes: 20 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
9 changes: 8 additions & 1 deletion packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
26 changes: 16 additions & 10 deletions packages/config/src/xcm-configs/polkadotAssetHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down Expand Up @@ -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,
},
},
Expand Down Expand Up @@ -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,
},
},
Expand Down Expand Up @@ -214,7 +217,10 @@ export const polkadotAssetHubRoutes = new ChainRoutes({
fee: {
amount: FeeBuilder()
.xcmPaymentApi()
.xcmPaymentFee({ isAssetReserveChain: false }),
.xcmPaymentFee({
isAssetReserveChain: false,
shouldTransferAssetPrecedeAsset: true,
}),
asset: usdt,
},
},
Expand Down
24 changes: 24 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonbeam-network/xcm-types",
"version": "2.4.0",
"version": "2.4.1",
"description": "Moonbeam XCM Types",
"scripts": {
"build": "tsup",
Expand Down
6 changes: 6 additions & 0 deletions packages/utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonbeam-network/xcm-utils",
"version": "2.1.7",
"version": "2.2.0",
"description": "Moonbeam XCM utilities",
"scripts": {
"build": "tsup",
Expand Down

0 comments on commit 2814784

Please sign in to comment.