Repository navigation
Description
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.
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
PaymentPooldeployment names its adapter and bridge as immutables.
To add a bridge, deploy a new adapter on the governance chain and a
PaymentPoolvariant for that bridge on the payment chain.FeeRouterdoes 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 inpending.PaymentPoolBase.sweepandPaymentPool._sendSweep: batch up to 32 operators and call CCTP V2depositForBurnWithHookat Standard finality. Messenger, receiver and destination domain are immutable.CctpSweepReceiver.receiveSweep: receives the transfer and deposits each operator's share into the bridge-neutralFeeRouter.deposit.crates/cli/src/commands/sweep.rsandsweep/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
- Keep direct CCTP. Maintain Circle-specific contracts, attestation handling and upgrade/migration runbooks within deCDN.
- 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.
- 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.mdif operating procedures change. - Separate devops follow-ups for deployed configuration, alerts and dashboards; deployment automation belongs in
decdn/devops.
Primary references
- CCIP native-USDC architecture
- CCIP architecture and stable Router
- CCIP verifier trust responsibilities
- CCIP manual execution
- CCIP fees and billing
- Circle CCTP migration guide
Verify current documentation against the selected deployed lane/version before drawing implementation conclusions.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsBacklog
Activity