File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
packages/contract-helpers/src
governance-v3/delegate-helper Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff line change @@ -121,24 +121,24 @@ export class MetaDelegateHelperService {
121121 const typeData = {
122122 domain : {
123123 name : governanceTokenName ,
124- version : '2' ,
124+ version : governanceTokenName === 'Aave Ethereum AAVE' ? '1' : '2' ,
125125 chainId : connectedChainId ,
126126 verifyingContract : underlyingAsset ,
127127 } ,
128128 types : isAllDelegate
129129 ? {
130- ...eIP712DomainType ,
131- Delegate : [ ...sigParametersType , ...sigBaseType ] ,
132- }
130+ ...eIP712DomainType ,
131+ Delegate : [ ...sigParametersType , ...sigBaseType ] ,
132+ }
133133 : {
134- ...eIP712DomainType ,
134+ ...eIP712DomainType ,
135135
136- DelegateByType : [
137- ...sigParametersType ,
138- ...sigDelegationTypeType ,
139- ...sigBaseType ,
140- ] ,
141- } ,
136+ DelegateByType : [
137+ ...sigParametersType ,
138+ ...sigDelegationTypeType ,
139+ ...sigBaseType ,
140+ ] ,
141+ } ,
142142 primaryType : isAllDelegate ? 'Delegate' : 'DelegateByType' ,
143143 message : isAllDelegate
144144 ? { ...typesData }
You can’t perform that action at this time.
0 commit comments