Skip to content

Commit

Permalink
MEX-523: fix update farm energy gas computation
Browse files Browse the repository at this point in the history
Signed-off-by: Claudiu Lataretu <[email protected]>
  • Loading branch information
claudiulataretu committed Oct 18, 2024
1 parent 575f888 commit 930f221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
"addKnownTokens": 10000000
},
"energyUpdate": {
"updateFarmsEnergyForUser": 15000000
"updateFarmsEnergyForUser": 17000000
},
"tokenUnstake": {
"claimUnlockedTokens": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class UserEnergyTransactionService {
sender: userAddress,
gasLimit:
gasConfig.energyUpdate.updateFarmsEnergyForUser *
endpointArgs.length,
farmAddresses.length,
function: 'updateFarmsEnergyForUser',
arguments: endpointArgs,
}),
Expand Down

0 comments on commit 930f221

Please sign in to comment.