fix(integration): resolve test failures and package dependencies
- Fixed duplicate package declarations in arbitrum parser - Resolved missing methods in events parser (ParseTransaction, AddKnownPool) - Fixed logger test assertion failures by updating expected log format - Updated NewPipeline constructor calls to include ethClient parameter - Fixed nil pointer dereference in pipeline processing - Corrected known pool mappings for protocol identification - Removed duplicate entries in parser initialization - Added proper error handling and validation in parsers These changes resolve the build failures and integration test crashes that were preventing proper testing of the MEV bot functionality. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -122,7 +122,7 @@ func CreateTestPipeline() *market.Pipeline {
|
||||
logger := CreateTestLogger()
|
||||
marketMgr := CreateTestMarketManager()
|
||||
scanner := CreateTestScanner()
|
||||
return market.NewPipeline(cfg, logger, marketMgr, scanner)
|
||||
return market.NewPipeline(cfg, logger, marketMgr, scanner, nil)
|
||||
}
|
||||
|
||||
// CreateTestContext creates a test context
|
||||
|
||||
Reference in New Issue
Block a user