From a6f5622a02b38a4d989ab45d3fadfe748c28e0ea Mon Sep 17 00:00:00 2001 From: Thibault Jaillard Date: Mon, 14 Aug 2023 08:11:47 -0400 Subject: [PATCH] Increase gas for getAllRewards --- src/utils/client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/client.ts b/src/utils/client.ts index f3793b6..271577f 100644 --- a/src/utils/client.ts +++ b/src/utils/client.ts @@ -645,7 +645,7 @@ class WalletClient { // Define fees const fee = { amount: [{ denom: LumConstants.MicroLumDenom, amount: '25000' }], - gas: '140000', + gas: '200000', }; // Fetch account number and sequence and chain id @@ -693,12 +693,12 @@ class WalletClient { const messages = []; const limit = fromWallet.isNanoS ? 6 : undefined; - let gas = 140000; + let gas = 200000; for (const [index, valAdd] of validatorsAddresses.entries()) { messages.push(LumMessages.BuildMsgWithdrawDelegatorReward(fromWallet.getAddress(), valAdd)); if (index > 0) { - gas += 80000; + gas += 100000; } if (limit && index + 1 === limit) break; }