From a13cff4c4a0fbc70405237d5c521ca617adf46a9 Mon Sep 17 00:00:00 2001 From: PhilippeR26 Date: Thu, 20 Nov 2025 09:40:54 +0100 Subject: [PATCH 1/2] chore: replace typ error by a warning --- src/provider/modules/tip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/provider/modules/tip.ts b/src/provider/modules/tip.ts index fb6dd4d3f..762e56708 100644 --- a/src/provider/modules/tip.ts +++ b/src/provider/modules/tip.ts @@ -384,7 +384,7 @@ async function getTipStatsSequential( // Handle insufficient transaction data if (allTips.length < minTxsNecessary) { - logger.error( + logger.warn( `Insufficient transaction data: found ${allTips.length} V3 transactions with tips in ${blocksAnalyzed} blocks ` + `(block range: ${Math.max(0, startingBlockNumber - maxBlocks + 1)}-${startingBlockNumber}). ` + `Required: ${minTxsNecessary} transactions. Consider reducing minTxsNecessary or increasing maxBlocks.` From 1db744f43c107142cee862c53818101c793dff82 Mon Sep 17 00:00:00 2001 From: PhilippeR26 Date: Thu, 20 Nov 2025 10:08:32 +0100 Subject: [PATCH 2/2] fix: corrected also in getTipStatsParallel --- src/provider/modules/tip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/provider/modules/tip.ts b/src/provider/modules/tip.ts index 762e56708..5006dfe49 100644 --- a/src/provider/modules/tip.ts +++ b/src/provider/modules/tip.ts @@ -316,7 +316,7 @@ async function getTipStatsParallel( // Handle insufficient transaction data if (allTips.length < minTxsNecessary) { - logger.error( + logger.warn( `Insufficient transaction data: found ${allTips.length} V3 transactions with tips in ${analyzedBlocks} blocks ` + `(block range: ${Math.max(0, startingBlockNumber - maxBlocks + 1)}-${startingBlockNumber}). ` + `Required: ${minTxsNecessary} transactions. Consider reducing minTxsNecessary or increasing maxBlocks.`