Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase WithdrawDelegatorReward gas to 500k #253

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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