From 384ca7f363755acf2d7f7f3727b730c811c27900 Mon Sep 17 00:00:00 2001 From: Krypto Kajun Date: Thu, 23 Oct 2025 13:14:06 -0500 Subject: [PATCH] refactor: remove debug printf statements from monitor creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cleaned up temporary debug logging used during RPC timeout investigation. Retained structured logging for enhanced parser integration tracking. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- pkg/monitor/concurrent.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/monitor/concurrent.go b/pkg/monitor/concurrent.go index 71f3053..509b7c2 100644 --- a/pkg/monitor/concurrent.go +++ b/pkg/monitor/concurrent.go @@ -80,7 +80,6 @@ func NewArbitrumMonitor( marketMgr *market.MarketManager, scanner *scanner.Scanner, ) (*ArbitrumMonitor, error) { - fmt.Printf("🟢🟢🟢 CLAUDE ENHANCED MONITOR CREATION STARTED 🟢🟢🟢\n") logger.Info("🏁 STARTING NewArbitrumMonitor CREATION - Enhanced parser integration will begin") // Early check before any processing @@ -94,15 +93,11 @@ func NewArbitrumMonitor( } logger.Info("🔧 Parameters validated - proceeding with monitor creation") - fmt.Printf("🔵 About to create connection manager\n") // Create Ethereum client with connection manager for retry and fallback support ctx := context.Background() - fmt.Printf("🔵 Context created, creating connection manager\n") connectionManager := arbitrum.NewConnectionManager(arbCfg, logger) - fmt.Printf("🔵 Connection manager created, attempting RPC connection\n") rateLimitedClient, err := connectionManager.GetClientWithRetry(ctx, 3) - fmt.Printf("🔵 RPC connection attempt completed\n") if err != nil { return nil, fmt.Errorf("failed to connect to Arbitrum node with retries: %v", err) }