From c046065027aed152026dc3565ae88c4063c536c9 Mon Sep 17 00:00:00 2001 From: vic-en Date: Sat, 6 Mar 2021 11:23:28 +0100 Subject: [PATCH] (feat) change perpfi gas limit --- src/services/perpetual_finance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/perpetual_finance.js b/src/services/perpetual_finance.js index 79a7f68..7707cec 100644 --- a/src/services/perpetual_finance.js +++ b/src/services/perpetual_finance.js @@ -10,7 +10,7 @@ const ClientBridgeArtifact = require("@perp/contract/build/contracts/ClientBridg const ClearingHouseViewerArtifact = require("@perp/contract/build/contracts/ClearingHouseViewer.json") const TetherTokenArtifact = require("@perp/contract/build/contracts/TetherToken.json") -const GAS_LIMIT = 2000000; // 1,147,912 +const GAS_LIMIT = 2123456; const DEFAULT_DECIMALS = 18; const CONTRACT_ADDRESSES = 'https://metadata.perp.exchange/'; const XDAI_PROVIDER = 'https://dai.poa.network';