Skip to content

feat(solana-tx-landing): expose slot delta column + rewrite content - #117

Merged
Flotapponnier merged 1 commit into
mainfrom
feat/solana-landing-slot-delta-column
May 23, 2026
Merged

feat(solana-tx-landing): expose slot delta column + rewrite content#117
Flotapponnier merged 1 commit into
mainfrom
feat/solana-landing-slot-delta-column

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Why

Validation experimentale a confirmé que Solana confirmation est slot-level: quand un slot atteint supermajority, toutes les txs dans ce slot deviennent confirmed au même instant. Si 3 services delivrent leur tx dans le même slot, leurs wall-clock ms sont identiques (artefact de mesure) alors que slot_delta capture la vraie inclusion.

slot_delta est sponsor-proof:

  • RTT-independent (un service ne peut pas argumenter 'vos ms sont biaisés par votre réseau')
  • Lu directement du signatureNotification.context.slot
  • C'est ce que la chaîne enregistre

ms reste publié à côté pour l'intuition (trader pense en secondes pas en slots) mais slot_delta est la métrique citable en audit.

Changes

  • Schema: optional slot_p50 / slot_p99 queries per provider
  • spec.ts: fetch slot queries when present, attach slots: {p50, p99} to ProviderResult
  • ledger-table: conditional 'Slot delta' column rendering p50 / p99 in compact mono cell
  • types/benchmark.ts: slots?: { p50: number; p99: number } field
  • YAML solana-tx-landing-latency:
    • Added slot_p50 / slot_p99 queries for all 4 active providers (jito, helius-sender, astralane, nozomi)
    • Full content rewrite of abstract, methodology, findings, FAQ
    • Headline = slot delta (canonical), ms = derived (intuition)
    • New FAQ entries explaining: why slot delta is canonical, what '1 slot' means in time, how signatureSubscribe observes confirmation

Test plan

  • pnpm validate (18 specs OK)
  • pnpm typecheck clean
  • pnpm build clean
  • After deploy, check /benchmarks/solana-tx-landing-latency renders Slot delta column with p50/p99 values
  • Other benches (not solana-tx-landing) should still render exactly as before (no slots field = no column)

solana confirmation is slot-level: when a slot reaches supermajority,
every tx in it becomes confirmed at the same instant. wall-clock ms
between services that landed in the same slot differs only by goroutine
startup variance and RTT, not by actual routing quality. slot_delta is
what the chain records and is sponsor-proof (RTT-independent).

changes:
- schema: optional slot_p50 / slot_p99 query fields per provider
- spec.ts: fetch slot queries when present, attach slots: {p50,p99} to
  ProviderResult
- ledger-table: conditional 'Slot delta' column showing p50 / p99 slots
  when any provider declares slots; renders as compact mono cell
- solana-tx-landing-latency.yml: add slot_p50 / slot_p99 queries for the
  4 active providers; full rewrite of abstract, methodology, findings,
  faq to lead with slot delta as the canonical metric and explain ms as
  derived. new faq entries for slot definition + signatureSubscribe path.
@Flotapponnier
Flotapponnier merged commit e540ef3 into main May 23, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the feat/solana-landing-slot-delta-column branch May 25, 2026 13:45
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.

1 participant