diff --git a/package-lock.json b/package-lock.json index fdddfcac..e083100b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@opentelemetry/resources": "^1.22.0", "@opentelemetry/sdk-trace-base": "^1.22.0", "@opentelemetry/semantic-conventions": "^1.22.0", - "@rainlanguage/orderbook": "^0.0.1-alpha.6", + "@rainlanguage/orderbook": "^0.0.1-alpha.1", "axios": "^1.3.4", "commander": "^11.0.0", "dotenv": "^16.0.3", @@ -3461,9 +3461,9 @@ "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@rainlanguage/orderbook": { - "version": "0.0.1-alpha.6", - "resolved": "https://registry.npmjs.org/@rainlanguage/orderbook/-/orderbook-0.0.1-alpha.6.tgz", - "integrity": "sha512-qGPzlDh0ZMlkPeHS048k0VlhhVIhrB7Ea/UIAZENBai3AYA394Cl6MWu66JNdia9RhVTCApSqRQwmmwLFxb2DA==", + "version": "0.0.1-alpha.1", + "resolved": "https://registry.npmjs.org/@rainlanguage/orderbook/-/orderbook-0.0.1-alpha.1.tgz", + "integrity": "sha512-t7SYpjASwZEyowXH1rVs6LQPwJGUe5rTHWuHQZJq6eJfjZeDwZi5plxtIAwnMeqKrVSMdbAvPZMn0MpfdpctAQ==", "dependencies": { "buffer": "^6.0.3" }, diff --git a/package.json b/package.json index 39e70ab9..43e665ec 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@opentelemetry/resources": "^1.22.0", "@opentelemetry/sdk-trace-base": "^1.22.0", "@opentelemetry/semantic-conventions": "^1.22.0", - "@rainlanguage/orderbook": "^0.0.1-alpha.6", + "@rainlanguage/orderbook": "^0.0.1-alpha.1", "axios": "^1.3.4", "commander": "^11.0.0", "dotenv": "^16.0.3", diff --git a/src/processOrders.ts b/src/processOrders.ts index 0c8a006c..4107953b 100644 --- a/src/processOrders.ts +++ b/src/processOrders.ts @@ -466,7 +466,7 @@ export async function processPair(args: { orderPairObject, (config as any).isTest ? (config as any).quoteRpc : config.rpc, undefined, - config.quoteGas, + // config.quoteGas, ); if (orderPairObject.takeOrders[0].quote?.maxOutput.isZero()) { result.report = { diff --git a/src/utils.ts b/src/utils.ts index 0670911f..1a2da232 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -751,7 +751,7 @@ export async function quoteOrders( orderDetails: BundledOrders[][], rpcs: string[], blockNumber?: bigint, - gas?: bigint, + // gas?: bigint, multicallAddressOverride?: string, ): Promise { let quoteResults: any[] = []; @@ -770,7 +770,7 @@ export async function quoteOrders( targets, rpc, blockNumber, - gas, + // gas, multicallAddressOverride, ); break; @@ -828,7 +828,7 @@ export async function quoteSingleOrder( orderDetails: BundledOrders, rpcs: string[], blockNumber?: bigint, - gas?: bigint, + // gas?: bigint, multicallAddressOverride?: string, ) { for (let i = 0; i < rpcs.length; i++) { @@ -844,7 +844,7 @@ export async function quoteSingleOrder( ] as any as QuoteTarget[], rpc, blockNumber, - gas, + // gas, multicallAddressOverride, ) )[0];