Skip to content

Commit

Permalink
-wip-
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Nov 20, 2024
1 parent b4e9992 commit c4efd36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/config/src/configs/moonbeam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,9 @@ export const moonbeamConfig = new ChainConfig({
destination: polkadotAssetHub,
destinationFee: {
amount: 0.2,
asset: usdt,
asset: dot,
balance: BalanceBuilder().substrate().assets().account(),
destinationBalance: BalanceBuilder().substrate().system().account(),
},
fee: {
asset: glmr,
Expand All @@ -457,11 +458,11 @@ export const moonbeamConfig = new ChainConfig({
contract: ContractBuilder().Xtokens().transferMultiCurrencies(),
destination: polkadotAssetHub,
destinationFee: {
amount: 0.2,
asset: usdt,
amount: 0.1,
asset: dot,
balance: BalanceBuilder().substrate().assets().account(),
// TODO uncomment when we apply dot as payment asset
// destinationBalance: BalanceBuilder().substrate().system().account(),
destinationBalance: BalanceBuilder().substrate().system().account(),
},
fee: {
asset: glmr,
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/getTransferData/getTransferData.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export function validateSovereignAccountBalances({
) {
return;
}
console.log('sovereignAccountBalances', destination.sovereignAccountBalances);

Check warning on line 129 in packages/sdk/src/getTransferData/getTransferData.utils.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
const { feeAssetBalance, transferAssetBalance } =
destination.sovereignAccountBalances;

Expand Down

0 comments on commit c4efd36

Please sign in to comment.