Skip to content

adr: ADR 021 — Production L2 chain selection (Arbitrum One) - #193

Merged
thiras merged 3 commits into
mainfrom
adr/021-l2-selection
Apr 8, 2026
Merged

thiras merged 3 commits into
mainfrom
adr/021-l2-selection

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

Resolves the explicit L2 deferral in ADR 004 and formalises Arbitrum One assumptions already embedded in ADRs 004, 007, and 018.

Closes the "Production L2 chain selection" gap from issue #190.

Changes

  • adr/021-l2-chain-selection.md — new ADR:

    • Selects Arbitrum One (chain ID 42161) as the canonical production chain
    • Comparison table: Arbitrum One vs Base vs OP Mainnet
    • Chain-specific constants (native USDC, Balancer V3 Vault/Router addresses)
    • Re-evaluation triggers (gas cost spikes, fraud-proof vulnerabilities, sequencer censorship)
    • Notes cross-ADR consistency with ADRs 004, 007, 018
  • adr/architecture.md:

    • Added ADR 021 index entry after ADR 018
    • Marked "Production L2 choice" as decided in the What Is Not Decided Yet section

Resolves the explicit L2 deferral from ADR 004 and formalises the
Arbitrum One assumptions already embedded in ADRs 004, 007, and 018.

- Chain ID 42161, native USDC 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
- Comparison table: Arbitrum One vs Base vs OP Mainnet
- Chain-specific constants (Balancer V3 Vault/Router addresses)
- Re-evaluation triggers for gas spikes, fraud-proof vulns, censorship
- architecture.md: add ADR 021 index entry; mark L2 choice as decided

Co-authored-by: Copilot <[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 introduces ADR 021, which formally selects Arbitrum One as the production L2 chain for the deCDN protocol, and updates the architecture documentation accordingly. The review feedback suggests improving clarity by explicitly labeling the native USDC address in the ADR table and ensuring consistent link formatting for the new ADR reference in the architecture document.

Comment thread adr/021-l2-chain-selection.md Outdated
|----------|-------|--------|
| Chain ID | **42161** | Arbitrum One |
| Native token (gas) | ETH | — |
| Native USDC address | `0xaf88d065e77c8cC2239327C5EDb3A432268e5831` | Circle CCTP on Arbitrum One |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The USDC address 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 is the native USDC contract on Arbitrum One. However, for clarity and to prevent potential confusion with bridged USDC.e, it is recommended to explicitly label this as 'Native USDC (CCTP)' in the table to align with the warning in the address verification section.

References
  1. When documenting technical designs, maintain consistent terminology and be precise about the function of each component to ensure clarity.

Comment thread adr/architecture.md
## What Is Not Decided Yet

- Production L2 choice (Arbitrum One, Base, or other) — gated on PoC validation. Sequencer censorship mitigation for the dispute window is addressed in [ADR 007](007-watchtower.md#l2-sequencer-censorship) (PoC: 48h default; production: forced-inclusion deadline extension); the extension's detection logic depends on the L2 chosen
- ~~Production L2 choice~~: decided — [ADR 021](021-l2-chain-selection.md) selects Arbitrum One (chain ID 42161). Sequencer censorship mitigation uses Arbitrum's 24h forced-inclusion path; see [ADR 007](007-watchtower.md#l2-sequencer-censorship)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The link to ADR 021 in the 'What Is Not Decided Yet' section should be consistent with the link format used in other ADR references in this file. Ensure the link target 021-l2-chain-selection.md is correct and accessible from the root directory where architecture.md resides.

References
  1. Maintaining consistent terminology and formatting across all Architecture Decision Records (ADRs) is prioritized to ensure document cohesion.

alpergundogdu and others added 2 commits April 8, 2026 14:03
Distinguish clearly from bridged USDC.e, consistent with the warning
note below the table and the CCTP label in the comparison table.

Co-authored-by: Copilot <[email protected]>
@thiras
thiras merged commit be7d3f1 into main Apr 8, 2026
@thiras
thiras deleted the adr/021-l2-selection branch April 8, 2026 23:17
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