Skip to content

Fix incorrect protocol examples - #755

Closed
parvahuja wants to merge 2 commits into
mainfrom
parv/fix-protocol-code-examples
Closed

Fix incorrect protocol examples#755
parvahuja wants to merge 2 commits into
mainfrom
parv/fix-protocol-code-examples

Conversation

@parvahuja

@parvahuja parvahuja commented Jul 28, 2026

Copy link
Copy Markdown
Member

What

  • Align fee calculation, routing, and distribution examples with the current protocol.
  • Document the current transaction wire formats, signing hashes, WebAuthn checks, access-key rules, and fork-aware gas costs.
  • Match the current block header, DEX tick/event, and consensus RPC surfaces.
  • Remove obsolete pseudo-APIs and fixed gas formulas that no longer describe executable behavior.

Why

Protocol reference pages should describe the bytes, methods, and calculations that current nodes accept. Removed methods and historical fixed values can produce invalid implementations even when the snippets look plausible.

The replacement text stays concise: it gives exact stable rules and points readers to gas estimation or upgrade specifications where totals depend on the active fork.

Impact

  • Updates eight protocol reference pages.
  • Removes 362 more lines than it adds.
  • Changes documentation only; no site configuration or runtime code.

Checks

  • pnpm build — 463 files generated
  • CI=true pnpm test — 20 files, 301 tests passed
  • git diff --check
  • Edited claims checked against Tempo source at 72ec381685403266c70fd3eba7cc012848688b45

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jul 28, 2026 3:00am

Request Review

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