Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Jan 22, 2025
1 parent 6f0c5f4 commit c102c55
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/processOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
8 changes: 4 additions & 4 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ export async function quoteOrders(
orderDetails: BundledOrders[][],
rpcs: string[],
blockNumber?: bigint,
gas?: bigint,
// gas?: bigint,
multicallAddressOverride?: string,
): Promise<BundledOrders[][]> {
let quoteResults: any[] = [];
Expand All @@ -770,7 +770,7 @@ export async function quoteOrders(
targets,
rpc,
blockNumber,
gas,
// gas,
multicallAddressOverride,
);
break;
Expand Down Expand Up @@ -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++) {
Expand All @@ -844,7 +844,7 @@ export async function quoteSingleOrder(
] as any as QuoteTarget[],
rpc,
blockNumber,
gas,
// gas,
multicallAddressOverride,
)
)[0];
Expand Down

0 comments on commit c102c55

Please sign in to comment.