From bbcb0d54321f977321fe59c991c9ec9da9a9b59b Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 10 Dec 2024 16:38:08 +0100 Subject: [PATCH] Increase WithdrawDelegatorReward gas to 500k --- lib/txMsgHelpers.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/txMsgHelpers.ts b/lib/txMsgHelpers.ts index 97f84aae..8055fb40 100644 --- a/lib/txMsgHelpers.ts +++ b/lib/txMsgHelpers.ts @@ -22,7 +22,9 @@ const gasOfMsg = (msgType: MsgTypeUrl): number => { case MsgTypeUrls.SetWithdrawAddress: return 100_000; case MsgTypeUrls.WithdrawDelegatorReward: - return 100_000; + // On the Hub we now claim so many coins at once that this operation can become gas expensive. + // See e.g. https://www.mintscan.io/cosmos/tx/EA7EC3F6F08DA4E6D419359F264B34AB27D2AAE7FF40267E7E760927475157B3 + return 500_000; // Vesting case MsgTypeUrls.CreateVestingAccount: return 100_000;