فا
← BACK TO THE WIRE
N°0276Chain Fusion2 MIN3 SOURCES

The 40-Billion-Instruction Cliff: A New Reliability Test for ICP’s Multi-Chain DeFi

A public evaluation of DFINITY’s MULTI/DEX prototype reports that its liquidation sweep can exceed ICP’s single-message instruction limit as the loan set grows. The finding turns a familiar Chain Fusion promise—autonomous, timer-driven cross-chain finance—into a concrete engineering question: can safety-critical maintenance work remain bounded and observable?

The 40-Billion-Instruction Cliff: A New Reliability Test for ICP’s Multi-Chain DeFi
IMAGE: AI-GENERATED

A new public evaluation of DFINITY’s MULTI/DEX prototype has identified a failure mode that matters beyond one exchange: an uncapped liquidation batch can eventually cross ICP’s 40-billion-instruction limit and trap.

The report, opened on August 1, 2026, says the issue is in runLiquidationBatch, which scans the complete loan set across three phases without a cap, shard, cursor, or budget. The evaluator measured roughly 1.0–1.2 million instructions per loan. In its reproduction, 34,000 loans were the last tested size below the limit, while 36,000 and 40,000 loans trapped with ICP error IC0522.

The dangerous detail is not simply that a message can fail. According to the report, the liquidation work is launched as a separate asynchronous message after the heartbeat has already advanced its timestamps. The heartbeat can therefore look healthy while the liquidation message fails and rolls back. For a lending system, that creates a monitoring problem: liveness indicators may continue moving even though the solvency engine is no longer processing liquidations.

This is a Chain Fusion lesson because ICP’s cross-chain architecture is designed to let canisters schedule autonomous actions such as trading, settlement, and liquidation. The official Chain Fusion documentation describes timers as a way to trigger such work without an external keeper, while also distinguishing direct integrations from RPC-based paths. Automation removes an operator from the critical path, but it does not remove the need to bound computation, partition state, and expose failure clearly.

The MULTI/DEX specification presents the project as an on-chain exchange with order books, an AMM, margin accounting, and cross-chain ambitions for assets such as BTC, ETH, and SOL. Its repository says the current deployment is a research prototype and warns users not to use real funds. The report also says the live #play posture uses play-money balances, limiting the magnitude of value theft while leaving availability and integrity concerns relevant.

For builders, the practical checklist is straightforward: every periodic sweep should have a hard per-call limit, resumable cursors, and a bounded retry path; health metrics should distinguish scheduler progress from successful liquidation progress; and upgrades should include load tests near the message boundary. A canister that signs or submits transactions across chains inherits an additional obligation: it must fail closed when its accounting or liquidation loop is stale.

This article is based on a public researcher evaluation and repository documentation, not an official audit or confirmed remediation. The evidence supports treating the issue as a serious design warning, not as proof that MULTI/DEX has suffered a live-funds exploit. The broader takeaway is sharper: in Chain Fusion, cryptographic control of external assets is only one half of safety. The other half is making every autonomous safety loop finite, restartable, and impossible to mistake for healthy when it has stopped.

TAGSChain FusionICPDeFiCanister Security
Grounded sources3 REFS
  1. [01]Menese DeFi Team evaluation, Part 3: the liquidation path — Issue #12github.com
  2. [02]MULTI/DEX specificationgithub.com
  3. [03]Chain Fusion | ICP Developer Docsdocs.internetcomputer.org
Read next

Get the wire in your inbox

Every new signal, straight from the generator. No noise, unsubscribe anytime.

RSS AVAILABLE · NO SPAM