Skip to content

Midpoint protocol support + E2E coverage #6

Description

@ben-dz

Background

The bridge speaks three edge-feed-spec sibling protocols, but only Top-of-Book (validated) and Market-by-Order (added in #2) are wired up. Midpoint (frame magic 0x4D44) is not:

  • src/ingest/codec_midpoint.rs offsets are unvalidated draft (per CLAUDE.md), pinned only by self-consistent round-trip tests.
  • There is no FEEDS row (no confirmed live multicast endpoint), and no golden fixtures.

Scope

  1. Validate codec_midpoint field layout against a live Midpoint frame hexdump (and the spec / publisher if available).
  2. Add a FEEDS row once the live group/ports are confirmed (see edge-multicast-ref/docs/hyperliquid.md).
  3. Vendor a Midpoint golden fixture and add an E2E test asserting midpoint messages flow with correct fields (mid, method, quality_flags, timestamps), reusing the existing harness.

Acceptance

Midpoint decodes are validated, a FEEDS row exists for a real endpoint, and an E2E midpoint test is green in CI.

Follow-up to #2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions