Increase gas values for Undelegate and BeginRedelegate
All checks were successful
/ test (push) Successful in 1m16s
/ lint (push) Successful in 1m20s
/ build (push) Successful in 2m2s

400 was insufficient for a simple Undelegate with only one reward token
This commit is contained in:
Simon Warta 2025-01-16 13:23:41 +01:00
parent 721ba1bf75
commit 989ffb629d
No known key found for this signature in database

View File

@ -13,9 +13,9 @@ const gasOfMsg = (msgType: MsgTypeUrl): number => {
// a lot of auto-claims. See https://github.com/cosmos/cosmos-multisig-ui/issues/177.
return 400_000;
case MsgTypeUrls.Undelegate:
return 400_000;
return 600_000;
case MsgTypeUrls.BeginRedelegate:
return 400_000;
return 600_000;
// Distribution
case MsgTypeUrls.FundCommunityPool:
return 100_000;