Skip to content

design: evaluate Chainlink CCIP against direct CCTP #2911

Open

Description

@altanoruc

Kind of gap

Decision not recorded: evaluate Chainlink CCIP as an alternative to the direct CCTP integration. This is an evaluation task, not approval to change the settlement or governance architecture.

Related: #2904, #2899.

ADRs and sections affected

  • ADR 003: payment settlement and protocol-share sweeps.
  • ADR 016: bridge adapters, contract interactions and deployment boundaries.
  • ADR 036: served-bytes voting-weight ingestion and recovery.
  • Governance-chain/payment-chain admission appendix.
  • docs/runbook.md: sweeping, receiving and bridge outage recovery.

What the ADR says

ADR 016, Bridge adapters:

Each PaymentPool deployment names its adapter and bridge as immutables.

To add a bridge, deploy a new adapter on the governance chain and a PaymentPool variant for that bridge on the payment chain. FeeRouter does not change, and no governance action is needed.

The decision to evaluate is whether a stable CCIP integration provides enough maintenance, verification and execution benefits to justify the additional dependency, authority and cost.

Current implementation boundary

The design in merged #2904 uses:

  • PaymentPoolBase.redeemMany: pays the local operator share and accrues the remainder in pending.
  • PaymentPoolBase.sweep and PaymentPool._sendSweep: batch up to 32 operators and call CCTP V2 depositForBurnWithHook at Standard finality. Messenger, receiver and destination domain are immutable.
  • CctpSweepReceiver.receiveSweep: receives the transfer and deposits each operator's share into the bridge-neutral FeeRouter.deposit.
  • crates/cli/src/commands/sweep.rs and sweep/iris.rs: operator-run sweep/receive commands and Iris attestation handling. The CLI documents that no daemon task performs these calls.
  • DecdnGovernor: derives weights from FeeRouter accounting and executes governance through its timelock.

CCIP adapters, a cross-chain governance sender and a remote governance receiver are evaluation/prototype work, not components assumed to exist.

Options

  1. Keep direct CCTP. Maintain Circle-specific contracts, attestation handling and upgrade/migration runbooks within deCDN.
  2. Use CCIP for native USDC plus the accounting payload. Evaluate managed execution and a stable Router integration. On CCTP-enabled native-USDC routes, CCIP still uses CCTP; this option adds Chainlink verification/routing rather than removing Circle.
  3. Use CCIP for authenticated messages only, with asset transfers handled separately. Evaluate only if bridge-independent accounting or remote governance execution is required. Treat reconciliation and the separate asset bridge as additional design, not a drop-in substitute.

Do not conflate CCIP message transport with a Functions/CRE oracle that computes or certifies a discretionary weight list. No weight-oracle change is implied by this task.

Evaluation questions

Trust, authority and governance

  • Identify the exact supported lanes, CCIP version, token pools, required verifiers, finality policy and upgrade/configuration authorities.
  • Compare safety benefits from additional verification with new liveness gates, emergency stops and configuration risks. More dependencies do not automatically mean less security.
  • If remote governance is included, specify the path from DecdnGovernor/timelock to the CCIP sender and authenticated remote executor. Check source chain/sender authentication, replay protection and every alternate owner/module/admin path.
  • Keep ordinary fee/weight ingestion separate from discretionary treasury actions. Do not require an expiring electorate to approve the next electorate's weights.
  • Preserve funded weight accounting, arrival-epoch snapshot semantics, capacity clamps and duplicate-credit protection, or document and justify each change.

Maintenance, failure and recovery

  • Determine which Circle contract/API changes CCIP can absorb behind its stable Router without a deCDN pool redeployment, and which still require application changes. Use the CCTP V1-to-V2 migration as a concrete case study, not an assumed guarantee.
  • Distinguish source-call failure, unburned pending funds, a successful burn awaiting attestation, and a failed destination callback.
  • Distinguish Circle compatibility changes from unavailable Circle attestation/minting. CCIP maintenance does not itself guarantee recovery of burned funds.
  • Distinguish executor failure, missing required verifier attestations and an emergency stop. Demonstrate what permissionless/manual execution can and cannot recover.
  • Specify fallback/migration procedures for accrued fees, in-flight transfers, receiver failure and permanent route withdrawal. Keep local operator redemption and owner reclaim independent of a bridge-only outage.
  • Identify who monitors, funds, retries and reconciles transfers under each option. Assess operator rebates and voting-weight continuity during extended delays.

Cost, complexity and legal/control implications

  • Compare identical single-operator and maximum-batch workloads using current route quotes and reproducible testnet/fork measurements. Separate source gas, destination accounting gas, bridge/CCIP fees, callback gas headroom and ongoing operations.
  • Inventory custom contracts, configuration, manifests, CLI/config changes, monitoring and maintained dependencies. Evaluate reduction in deCDN-owned maintenance separately from growth in upstream trust surface.
  • Determine whether custody, recipient control, recovery authority or service arrangements change. Do not assume outsourcing messaging transfers legal responsibility or provides an indemnity/recovery guarantee.

Acceptance criteria

  • Produce a decision record comparing direct CCTP with a precisely specified CCIP configuration, including a recommendation and reasons to reject the other options.
  • Provide a trust/authority map and failure matrix, including in-flight burns and missing verifier attestations.
  • Run a bounded prototype that transfers a representative batch to funded FeeRouter ingestion; record actual fees, gas, finality and retry behavior. Keep prototype work outside the production path until the decision is approved.
  • Exercise destination failure/retry, duplicate delivery and executor unavailability; document simulations versus live/fork observations and untested provider-wide failures.
  • If message-only accounting is proposed, specify funding reconciliation, epoch attribution and replay/duplicate-credit invariants. If remote governance is proposed, demonstrate authenticated governor/timelock-only authority and identify bypass/recovery paths.
  • Document upgrade ownership, application redeployment triggers and recovery limits. Do not claim loss insurance or automatic rescue without verified support.
  • Record the required downstream changes and follow-up implementation tasks. Retaining direct CCTP is a valid outcome.

Downstream that must follow the decision

  • Affected ADRs and adr/architecture.md.
  • Contracts, deploy scripts and deployment manifests if the integration changes.
  • CLI/config and docs/runbook.md if operating procedures change.
  • Separate devops follow-ups for deployed configuration, alerts and dashboards; deployment automation belongs in decdn/devops.

Primary references

Verify current documentation against the selected deployed lane/version before drawing implementation conclusions.

Activity

  1. added
    design:adr
    on Nov 17, 2026
  2. added theissue type on Nov 17, 2026
  3. added
    area:contracts
    area:payments
    on Nov 17, 2026
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

    area:contractsarea:paymentsdesign:adr

    Type

    Fields

    Priority

    None yet

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions