Skip to content

docs(adr): genericize incidental Arbitrum references; consolidate in ADR 021 - #335

Merged
alpergundogdu merged 3 commits into
mainfrom
docs/adr-arbitrum-cleanup-334
Apr 27, 2026
Merged

alpergundogdu merged 3 commits into
mainfrom
docs/adr-arbitrum-cleanup-334

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

ADR 021 is the source of truth for L2 selection. Other ADRs were naming Arbitrum incidentally — for gas costs, block times, and infrastructure — as if those values were protocol invariants. This pass cleans that up.

Genericized

ADRs 001, 003, 004, 012, 014, 019, 024 — incidental "Arbitrum / Arbitrum L2 / Arbitrum Sepolia" references rewritten as "the canonical L2 (per ADR 021)" or similar.

Consolidated in ADR 021

The concrete chain-specific values now live in one place — extended Chain-Specific Constants with:

  • Block time (~250 ms)
  • RIP-7212 Ed25519 precompile status (not deployed, verified 2026-04)
  • Testnet sibling (Arbitrum Sepolia)
  • Reference gas price (early 2026)

Out of scope

  • ADR 021 itself — its purpose is to name Arbitrum
  • architecture.md — cites the ADR 021 decision, refs are correct as-is
  • ADR 018 — Balancer Router/Vault addresses are deployment-specific
  • ADR 007 — sequencer-censorship logic is L2-mechanism-specific
  • ADR 010 — already chain-agnostic

Side effect

Anchor links updated where the gas-section heading was renamed (#gas-cost-breakdown-arbitrum → #gas-cost-breakdown).

Closes #334

Test plan

  • markdownlint passes
  • No semantic changes — only doc clarity
  • All non-scoped ADRs left untouched

alpergundogdu and others added 2 commits April 27, 2026 09:24
…ADR 021

ADR 021 is the source of truth for L2 selection. Other ADRs were naming
Arbitrum incidentally for gas costs, block times, and infrastructure —
treating chain-specific values as if they were protocol invariants.

This pass:
- Replaces incidental references in ADRs 001, 003, 004, 012, 014, 019,
  024 with abstractions like "the canonical L2 (per ADR 021)".
- Extends ADR 021's Chain-Specific Constants table with the now-relocated
  values: block time (~250 ms), RIP-7212 status (not deployed), testnet
  sibling (Arbitrum Sepolia), reference gas price.
- Adjusts anchor links broken by the gas-section heading rename
  (#gas-cost-breakdown-arbitrum → #gas-cost-breakdown).

No semantic changes — every fact still holds; the indirection just makes
the dependency on ADR 021 explicit.

Closes #334

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
The first pass mechanically swapped "Arbitrum" for "the canonical L2
(per ADR 021)" everywhere, which read like a verbal tic.

This pass collapses the substitution where the L2 reference was just
supporting context for a different point:

- "Sub-second L2 block times keep the staleness window small" instead
  of citing the chain when the actual claim is about staleness.
- "at typical L2 gas prices" instead of "on the canonical L2 (per
  ADR 021)" when the claim is about cost.
- "economically unviable for routine slashing" — drops the chain
  reference entirely; the cost ratio holds on any EVM L2.
- "A voucher signed for one chain cannot be replayed on another" —
  generic example replaces the specific testnet→mainnet wording.

ADR 021 links remain where the claim is genuinely tied to the selected
chain (gas-price reference table, RIP-7212 deployment status).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request generalizes the project's documentation by replacing hardcoded references to Arbitrum and Arbitrum Sepolia with the concept of a "canonical L2" as defined in ADR 021. These updates span multiple Architecture Decision Records (ADRs) covering networking, payments, tokenomics, and node onboarding. One review comment points out a mathematical inconsistency regarding the reference gas price added to ADR 021, which does not align with the estimates provided in the linked ADRs.

Comment thread adr/021-l2-chain-selection.md Resolved
The original "~\$0.05/tx for ~150k gas" snapshot implied ~\$0.33/M gas,
which contradicts ADR 004's table (e.g. 200k → \$0.10 = \$0.50/M gas).
Replace with the underlying rate (\$0.50/M gas) so the math is
self-consistent and other ADRs can derive their own estimates from a
single source of truth.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@alpergundogdu
alpergundogdu merged commit 8c82fb0 into main Apr 27, 2026
8 checks passed
@alpergundogdu
alpergundogdu deleted the docs/adr-arbitrum-cleanup-334 branch April 27, 2026 16:35
thiras added a commit that referenced this pull request Apr 29, 2026
…pecs

Aligns the v2 tokenomics specs with the convention introduced in #335:
ADR 021 is the source of truth for L2 selection, so other docs cite it
rather than naming the chain incidentally.

- Acceptance criteria #1 (both specs): "local Arbitrum fork" →
  "local fork of the canonical L2 (per ADR 021)".
- Gauge-boost spec open question #7: "$8–$1500/yr in gas on Arbitrum" →
  "$8–$1500/yr at typical L2 gas prices" — the claim is about cost, not
  the chain.

No semantic changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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.

Genericize incidental Arbitrum references; consolidate chain-specifics in ADR 021

1 participant