From d9485446bc08be56e2cd1cec23c4abc276094d56 Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Mon, 13 Jan 2025 21:20:47 +0000 Subject: [PATCH] fix --- src/modes/interOrderbook.ts | 8 ++++---- src/modes/intraOrderbook.ts | 8 ++++---- src/modes/routeProcessor.ts | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/modes/interOrderbook.ts b/src/modes/interOrderbook.ts index c1e3503a..ec753a1f 100644 --- a/src/modes/interOrderbook.ts +++ b/src/modes/interOrderbook.ts @@ -135,8 +135,8 @@ export async function dryrun({ gasPrice: estimation.gasPrice.toString(), ...(config.isSpecialL2 ? { - l1GasPrice: estimation.l1Cost.toString(), - l1Cost: estimation.l1GasPrice.toString(), + l1Cost: estimation.l1Cost.toString(), + l1GasPrice: estimation.l1GasPrice.toString(), } : {}), }, @@ -208,8 +208,8 @@ export async function dryrun({ gasPrice: estimation.gasPrice.toString(), ...(config.isSpecialL2 ? { - l1GasPrice: estimation.l1Cost.toString(), - l1Cost: estimation.l1GasPrice.toString(), + l1Cost: estimation.l1Cost.toString(), + l1GasPrice: estimation.l1GasPrice.toString(), } : {}), }, diff --git a/src/modes/intraOrderbook.ts b/src/modes/intraOrderbook.ts index 43224a3e..bb2b3512 100644 --- a/src/modes/intraOrderbook.ts +++ b/src/modes/intraOrderbook.ts @@ -127,8 +127,8 @@ export async function dryrun({ gasPrice: estimation.gasPrice.toString(), ...(config.isSpecialL2 ? { - l1GasPrice: estimation.l1Cost.toString(), - l1Cost: estimation.l1GasPrice.toString(), + l1Cost: estimation.l1Cost.toString(), + l1GasPrice: estimation.l1GasPrice.toString(), } : {}), }, @@ -210,8 +210,8 @@ export async function dryrun({ gasPrice: estimation.gasPrice.toString(), ...(config.isSpecialL2 ? { - l1GasPrice: estimation.l1Cost.toString(), - l1Cost: estimation.l1GasPrice.toString(), + l1Cost: estimation.l1Cost.toString(), + l1GasPrice: estimation.l1GasPrice.toString(), } : {}), }, diff --git a/src/modes/routeProcessor.ts b/src/modes/routeProcessor.ts index 39c96edb..38d775fa 100644 --- a/src/modes/routeProcessor.ts +++ b/src/modes/routeProcessor.ts @@ -199,8 +199,8 @@ export async function dryrun({ gasPrice: estimation.gasPrice.toString(), ...(config.isSpecialL2 ? { - l1GasPrice: estimation.l1Cost.toString(), - l1Cost: estimation.l1GasPrice.toString(), + l1Cost: estimation.l1Cost.toString(), + l1GasPrice: estimation.l1GasPrice.toString(), } : {}), }, @@ -274,8 +274,8 @@ export async function dryrun({ gasPrice: estimation.gasPrice.toString(), ...(config.isSpecialL2 ? { - l1GasPrice: estimation.l1Cost.toString(), - l1Cost: estimation.l1GasPrice.toString(), + l1Cost: estimation.l1Cost.toString(), + l1GasPrice: estimation.l1GasPrice.toString(), } : {}), },