Skip to content

Commit 5223ee9

Browse files
committed
fix: gas limits
1 parent b4c97a6 commit 5223ee9

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

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

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

186184
export enum GovernanceVote {

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ export const gasLimitRecommendations: GasRecommendationType = {
139139
recommended: '1000000',
140140
},
141141
[ProtocolAction.batchMetaDelegate]: {
142-
limit: '200000',
143-
recommended: '200000',
142+
limit: '400000',
143+
recommended: '400000',
144144
},
145145
[ProtocolAction.updateRepresentatives]: {
146146
limit: '60000',
@@ -230,14 +230,6 @@ 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-
},
241233
};
242234

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

0 commit comments

Comments
 (0)