Skip to content

security(mainnet): harden the CCTP onramp beyond the single 0.1 USDC test burn #157

Description

@akash-mondal

Tracker: #154

Context

The mainnet CCTP onramp is proven by exactly one 0.1 USDC Base→Avalanche burn (settle tx 0xc479b7c8…f8a3); docs/MAINNET_GO_NO_GO.md lists "harden the CCTP onramp beyond the single test burn" as an open post-deploy item. The path spans BenzoCCTPRouter (0x83F2…4caE), the attestation poller, and the gas-sponsored settleDeposit relayer job (delivered in #108#111).

Scope

  • Load testing (concurrent burns/attestations), failure injection (dropped / late / duplicate attestation, RPC flaps), and adversarial cases (wrong token, unregistered recipient, fee shortfall — already Fuji-fork-tested; re-exercise on mainnet-shaped fixtures).
  • Relayer resilience: nonce management under concurrency, gas-sponsorship funding floor + alerting, stuck-submitted reconciliation (cf. [backend] Treasury deposit reconciler: settle stuck 'submitted'-with-hash rows #136), and settleDeposit idempotency.
  • Production SLOs/alerts for the onramp poller (the second backend container) and a rescue runbook (cf. scripts/e2e/cctp-rescue.ts).

Acceptance criteria

  • A documented test matrix (load + failure-injection + adversarial) with results.
  • Relayer funding floor + alerting + nonce/idempotency guarantees specified and, where testable, exercised on the Fuji-fork / testnet tiers.
  • A written onramp incident/rescue runbook.

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions