From ae80e7184bf70ac3e21240ad1d1fe91cbd888ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Walczak?= Date: Tue, 28 Jan 2025 15:39:02 +0100 Subject: [PATCH] chore: add TODO for handling payload loss in Mirror Node errors (#2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MichaƂ Walczak --- .../transaction-checker/src/services/mirror-worker.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/evm-compatibility/transaction-checker/src/services/mirror-worker.service.ts b/scripts/evm-compatibility/transaction-checker/src/services/mirror-worker.service.ts index 225222675..b7fd7c8c2 100644 --- a/scripts/evm-compatibility/transaction-checker/src/services/mirror-worker.service.ts +++ b/scripts/evm-compatibility/transaction-checker/src/services/mirror-worker.service.ts @@ -18,6 +18,7 @@ export function mirrorWorker(id: number) { } catch (error) { console.error(`Mirror Worker ${id} failed to get the status of transaction ${payload.transactionId}: ${error}`); await sendAndLogToFile(payload, '', `Error getting status from node, transaction failed or not executed (mirror node): ${error}`); + // TODO: Implement error handling to prevent payload loss when Mirror Node is unavailable. } } }