-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get sovereign account balance in destination and KSM in Kusama Asset …
…Hub (#339) * -wip- initial commit get sovereign account balances and validate transfer amount * add variable names to alert message * consider if destination is relay or not to use corresponding sovereign account address * add destinationFee in source config return to use it in sovereign balance validation * do validation only for asset hub and remove logs * remove comment * add isRelay flag * Update packages/sdk/src/getTransferData/getTransferData.utils.ts Co-authored-by: elmar <[email protected]> * add flag for checking sovereign account balances * update snapshots * add changeset * change back DED fee token * add KSM to AssetHub configuration * update changeset * update snaps --------- Co-authored-by: elmar <[email protected]>
- Loading branch information
Showing
14 changed files
with
331 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@moonbeam-network/xcm-config': minor | ||
'@moonbeam-network/xcm-types': minor | ||
'@moonbeam-network/xcm-sdk': minor | ||
'@moonbeam-network/xcm-builder': patch | ||
--- | ||
|
||
Add sovereign account balance checking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.