You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: trim heavy fields from raw_header before storage (#37)
* feat: trim heavy fields from raw_header before storage
Strip dah (73%), validator_set (16%), and commit.signatures (12%) from
Celestia ExtendedHeader JSON before persisting to SQLite. No consumer
reads these fields — ev-node only extracts the timestamp.
Reduces per-header storage from ~87KB to ~2KB (~98% reduction).
Applied to all three ingestion paths: celestia-node JSON-RPC,
celestia-app gRPC, and direct blockstore DB backfill.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address PR review comments
- Move gorilla/websocket to indirect dep (not imported by committed code)
- Propagate marshal error from buildMinimalRawHeader instead of returning nil
- Standardize celestia_app RawHeader to canonical envelope shape matching
celestia_node and backfill sources
- Consolidate TrimRawHeader tests into table-driven structure
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments