Skip to content

Commit b4c97a6

Browse files
committed
fix: gas limits
1 parent f4da374 commit b4c97a6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/contract-helpers/src/commons/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ export enum ProtocolAction {
179179
umbrellaStakeGatewayRedeem = 'umbrellaStakeGatewayRedeem',
180180
umbrellaStakeGatewayRedeemATokens = 'umbrellaStakeGatewayRedeemATokens',
181181
umbrellaStakeGatewayRedeemNativeTokens = 'umbrellaStakeGatewayRedeemNativeTokens',
182+
governanceDelegate = 'governanceDelegate',
183+
governanceRevoke = 'governanceRevoke',
182184
}
183185

184186
export enum GovernanceVote {

packages/contract-helpers/src/commons/utils.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@ export const gasLimitRecommendations: GasRecommendationType = {
230230
limit: '310000',
231231
recommended: '310000',
232232
},
233+
[ProtocolAction.governanceDelegate]: {
234+
limit: '200000',
235+
recommended: '200000',
236+
},
237+
[ProtocolAction.governanceRevoke]: {
238+
limit: '400000',
239+
recommended: '400000',
240+
},
233241
};
234242

235243
export const mintAmountsPerToken: Record<string, string> = {

0 commit comments

Comments
 (0)