Skip to content

feat: translate slot filters to timestamps#19

Merged
mattevans merged 1 commit intomasterfrom
feat/slot-to-time-req-interceptor
Oct 28, 2025
Merged

feat: translate slot filters to timestamps#19
mattevans merged 1 commit intomasterfrom
feat/slot-to-time-req-interceptor

Conversation

@mattevans
Copy link
Member

Introduce a new wallclock service that calculates slot start times for networks based on genesis time and slot duration. This enables the proxy layer to transparently convert incoming slot_* query parameters into slot_start_date_time_* filters that downstream APIs understand.

  • Add internal/wallclock package backed by ethwallclock
  • Populate wallclocks from cartographoor network metadata
  • Keep wallclocks in sync via cartographoor update notifications
  • Extend proxy to rewrite slot_eq/gte/lte/gt/lt parameters on the fly
  • Wire wallclock service into server startup and graceful shutdown

Introduce a new wallclock service that calculates slot start times for
Ethereum networks based on genesis time and slot duration. This enables
the proxy layer to transparently convert incoming slot_* query
parameters into slot_start_date_time_* filters that downstream APIs
understand.

- Add internal/wallclock package backed by ethwallclock
- Populate wallclocks from cartographoor network metadata
- Keep wallclocks in sync via cartographoor update notifications
- Extend proxy to rewrite slot_eq/gte/lte/gt/lt parameters on the fly
- Wire wallclock service into server startup and graceful shutdown
@mattevans mattevans self-assigned this Oct 28, 2025
@mattevans mattevans merged commit df05d3d into master Oct 28, 2025
3 checks passed
@mattevans mattevans deleted the feat/slot-to-time-req-interceptor branch October 28, 2025 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants