From 3e82016a2a57fd52def22b0ed5c03a00dae83947 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Thu, 19 Sep 2024 02:02:51 +0200 Subject: [PATCH] -wip- apply to manta routes --- packages/config/src/configs/mantaParachain.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/config/src/configs/mantaParachain.ts b/packages/config/src/configs/mantaParachain.ts index 7d84709a..b7066daf 100644 --- a/packages/config/src/configs/mantaParachain.ts +++ b/packages/config/src/configs/mantaParachain.ts @@ -16,7 +16,9 @@ export const mantaParachainConfig = new ChainConfig({ balance: BalanceBuilder().substrate().system().account(), destination: moonbeam, destinationFee: { - amount: FeeBuilder().assetManager().assetTypeUnitsPerSecond(), + amount: FeeBuilder() + .xcmPaymentApi() + .xcmPaymentFee({ isAssetReserveChain: false }), asset: manta, balance: BalanceBuilder().substrate().system().account(), }, @@ -27,7 +29,9 @@ export const mantaParachainConfig = new ChainConfig({ balance: BalanceBuilder().substrate().assets().account(), destination: moonbeam, destinationFee: { - amount: 0.01, + amount: FeeBuilder() + .xcmPaymentApi() + .xcmPaymentFee({ isAssetReserveChain: true }), asset: glmr, balance: BalanceBuilder().substrate().assets().account(), },