Skip to content

Commit

Permalink
Merge pull request #48 from curvefi/fix/gas-limit
Browse files Browse the repository at this point in the history
fix: increase gasLimit for arbitrum
  • Loading branch information
fedorovdg authored Feb 3, 2025
2 parents 5946ef2 + 72a953d commit c768dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@curvefi/lending-api",
"version": "2.4.3",
"version": "2.4.4",
"description": "JavaScript library for Curve Lending",
"main": "lib/index.js",
"author": "Macket",
Expand Down
2 changes: 1 addition & 1 deletion src/lending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class Lending implements ILending {
console.log("CURVE-LENDING-JS IS CONNECTED TO NETWORK:", { name: network.name.toUpperCase(), chainId: Number(this.chainId) });

if(this.chainId === 42161) {
this.constantOptions = { gasLimit: 32000000 }
this.constantOptions = { gasLimit: 1125899906842624 } // https://arbiscan.io/chart/gaslimit
}

this.constants.NETWORK_NAME = NETWORK_CONSTANTS[this.chainId].NAME;
Expand Down

0 comments on commit c768dcb

Please sign in to comment.