Description
The API server's main.go creates the settlement engine and indexer but assigns them to blank identifiers, meaning they are never actually used:
File: cmd/api/main.go (lines 119, 122)
_ = engine // settlement engine
_ = idx // indexer
Impact
- Settlement engine is never initialized
- Indexer never starts syncing
- These subsystems are completely dead in the API process
Proposed Fix
Wire up the engines properly:
- Initialize settlement engine with required dependencies
- Start indexer as a background goroutine
- Ensure graceful shutdown
Acceptance Criteria
Labels
bug backend
Description
The API server's
main.gocreates the settlement engine and indexer but assigns them to blank identifiers, meaning they are never actually used:File:
cmd/api/main.go(lines 119, 122)Impact
Proposed Fix
Wire up the engines properly:
Acceptance Criteria
Labels
bugbackend