fix(types): add missing types and fix compilation errors - WIP
Fixed compilation errors in integration code: Type System Fixes: - Add types.Logger type alias (*slog.Logger) - Add PoolInfo.LiquidityUSD field - Add ProtocolSushiSwap and ProtocolCamelot constants - Fix time.Now() call in arbiscan_validator.go Pool Discovery Fixes: - Change cache from *cache.PoolCache to cache.PoolCache (interface) - Add context.Context parameters to cache.Add() and cache.Count() calls - Fix protocol type from string to ProtocolType Docker Fixes: - Add .dockerignore to exclude test files and docs - Add go mod tidy step in Dockerfile - Add //go:build examples tag to example_usage.go Still Remaining: - Arbitrage package needs similar interface fixes - SwapEvent.TokenIn/TokenOut field name issues - More cache interface method calls need context Progress: Parser and pool discovery packages now compile correctly. Integration code (main.go, sequencer, pools) partially working. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
54
.dockerignore
Normal file
54
.dockerignore
Normal file
@@ -0,0 +1,54 @@
|
||||
# Exclude V1 codebase (not needed in V2 container)
|
||||
orig/
|
||||
|
||||
# Exclude build artifacts
|
||||
bin/
|
||||
build/
|
||||
dist/
|
||||
*.exe
|
||||
|
||||
# Exclude logs
|
||||
logs/
|
||||
*.log
|
||||
|
||||
# Exclude temporary files
|
||||
tmp/
|
||||
temp/
|
||||
*.tmp
|
||||
|
||||
# Exclude test coverage
|
||||
*.out
|
||||
coverage.html
|
||||
|
||||
# Exclude IDE files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
|
||||
# Exclude git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# Exclude documentation (not needed at runtime)
|
||||
docs/
|
||||
*.md
|
||||
|
||||
# Exclude environment files (passed at runtime)
|
||||
.env
|
||||
.env.*
|
||||
|
||||
# Exclude Docker/k8s files
|
||||
docker-compose.yml
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
|
||||
# Exclude test files
|
||||
*_test.go
|
||||
example_usage.go
|
||||
examples_test.go
|
||||
|
||||
# Exclude scripts (not needed in container)
|
||||
scripts/
|
||||
|
||||
# Exclude config (provisioned externally)
|
||||
config/
|
||||
Reference in New Issue
Block a user