Summary
When the indexer updates the price snapshot after a trade, a structured log entry makes it easy to confirm prices are being written correctly without querying the database directly.
Scope
- Emit a structured debug log after each price snapshot write with fields:
creator_id, new_price, previous_price, ledger_sequence, written_at
- Log only fires on successful write, not on failure
- Failure to write the snapshot should emit a separate error-level log
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
When the indexer updates the price snapshot after a trade, a structured log entry makes it easy to confirm prices are being written correctly without querying the database directly.
Scope
creator_id,new_price,previous_price,ledger_sequence,written_atAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram