Skip to content

Commit 46752b0

Browse files
fix(frontend): Message ran out of gas error during payPriorityFees message (#676)
1 parent 9dd131b commit 46752b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/frontend/src/features/swap/hooks/vara/use-pay-fees-with-await.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function usePayFeesWithAwait({ fee, priorityFee, shouldPayBridgingFee, shouldPay
8080
const { transaction } = await payPriorityFees.prepareTransactionAsync({
8181
args: [requestBridgingBlockHash, nonce],
8282
value: priorityFee,
83+
gasLimit: { increaseGas: 10 }, // may require higher gas after bridging fee payment is made, initial estimate done without it
8384
});
8485

8586
extrinsics.push(transaction.extrinsic);

0 commit comments

Comments
 (0)