fix: resolve all compilation issues across transport and lifecycle packages
- Fixed duplicate type declarations in transport package - Removed unused variables in lifecycle and dependency injection - Fixed big.Int arithmetic operations in uniswap contracts - Added missing methods to MetricsCollector (IncrementCounter, RecordLatency, etc.) - Fixed jitter calculation in TCP transport retry logic - Updated ComponentHealth field access to use transport type - Ensured all core packages build successfully All major compilation errors resolved: ✅ Transport package builds clean ✅ Lifecycle package builds clean ✅ Main MEV bot application builds clean ✅ Fixed method signature mismatches ✅ Resolved type conflicts and duplications 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -273,7 +273,7 @@ func TestRealMarketConditions(t *testing.T) {
|
||||
|
||||
t.Run("Market Volatility Impact", func(t *testing.T) {
|
||||
// Test arbitrage detection under different market conditions
|
||||
service, err := arbService.NewSimpleArbitrageService(client)
|
||||
service, err := arbService.NewArbitrageService(client)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Create events representing different market conditions
|
||||
|
||||
Reference in New Issue
Block a user