From 0f7ecbd7dd6262df989f552d6d7f3f614b046de9 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 5 Dec 2024 07:53:21 +0300 Subject: [PATCH 1/2] resurrector.ts --- src/worker/bridgeExecutor/monitor/resurrector.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/worker/bridgeExecutor/monitor/resurrector.ts b/src/worker/bridgeExecutor/monitor/resurrector.ts index f3060a7..40531dd 100644 --- a/src/worker/bridgeExecutor/monitor/resurrector.ts +++ b/src/worker/bridgeExecutor/monitor/resurrector.ts @@ -13,7 +13,7 @@ const MAX_RESURRECT_SIZE = 100 export class Resurrector { private db: DataSource unconfirmedTxs: UnconfirmedTxEntity[] = [] - proccessedTxsNum: number + processedTxsNum: number isRunning = true helper: MonitorHelper = new MonitorHelper() @@ -39,9 +39,9 @@ export class Resurrector { { processed: true } ) - this.proccessedTxsNum++ + this.processedTxsNum++ this.logger.info( - `[updateProcessed - ${this.name()}] Resurrected failed tx sequence ${unconfirmedTx.sequence} current processed txs: ${this.proccessedTxsNum} / ${this.unconfirmedTxs.length}` + `[updateProcessed - ${this.name()}] Resurrected failed tx sequence ${unconfirmedTx.sequence} current processed txs: ${this.processedTxsNum} / ${this.unconfirmedTxs.length}` ) } @@ -130,7 +130,7 @@ export class Resurrector { public async resurrect(): Promise { this.unconfirmedTxs = await this.getUnconfirmedTxs() - this.proccessedTxsNum = 0 + this.processedTxsNum = 0 if (this.unconfirmedTxs.length === 0) { this.logger.info(`[resurrect - ${this.name()}] No unconfirmed txs found`) From 527fa02ab724be74b6e8bf17c0a94bd604d6bebd Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 5 Dec 2024 07:59:07 +0300 Subject: [PATCH 2/2] l1.ts --- src/worker/bridgeExecutor/monitor/l1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/bridgeExecutor/monitor/l1.ts b/src/worker/bridgeExecutor/monitor/l1.ts index 2546f1b..356228b 100644 --- a/src/worker/bridgeExecutor/monitor/l1.ts +++ b/src/worker/bridgeExecutor/monitor/l1.ts @@ -248,7 +248,7 @@ export class L1Monitor extends Monitor { await this.executorL2.transaction(msgs) this.logger.info( - `[proccessMsgs - ${this.name()}] Succeeded to submit tx in height: ${this.currentHeight} Msgs length: ${msgs.length}` + `[processMsgs - ${this.name()}] Succeeded to submit tx in height: ${this.currentHeight} Msgs length: ${msgs.length}` ) } catch (err) { const errMsg = this.helper.extractErrorMessage(err)