Skip to content

Commit

Permalink
Merge pull request #253 from cosmos/bump-WithdrawDelegatorReward-gas
Browse files Browse the repository at this point in the history
Increase WithdrawDelegatorReward gas to 500k
  • Loading branch information
webmaster128 authored Dec 10, 2024
2 parents adf28ca + bbcb0d5 commit 8247b8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/txMsgHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8247b8f

Please sign in to comment.