Ohshii Labs has drawn attention to similarities between a recent ICPSwap fix and previously reported rounding issues in the MULTI/DEX codebase, raising questions about how zero-value settlements are handled in decentralised exchange systems.
The company said the underlying bug pattern involves transactions in which one side of a settlement is rounded or floored down to zero, while the other side can still transfer value.
According to Ohshii Labs, a related issue was flagged by developer andreij6 in the dfinity/public-multidex repository on 2 August, under issue #15. The report concerned a netting leg in which the cash amount could fall to zero while the other side of the settlement still proceeded.
The company said it reported a matching-engine version of the issue in repository discussion #54 on 1 September. The reported behaviour involved trades being completed with zero cost. According to Ohshii Labs, DFINITY developer Dominic Williams addressed the issue by introducing a safeguard that stops execution when the calculated cost equals zero.
Ohshii Labs compared that safeguard with a recent ICPSwap change that rejects swaps producing zero output. It argues that both cases involve the same underlying truncation pattern, in which rounding calculations can produce zero-value results while other parts of a transaction continue.
The company described the earlier MULTI/DEX cases as latent or limited to very small, dust-level amounts.
The comparison highlights the importance of handling rounding and minimum-value checks consistently in decentralised exchange settlement systems, where even small calculation differences can affect how transactions are processed.
However, the reported similarities do not by themselves establish that the ICPSwap and MULTI/DEX issues have identical causes, consequences or security impact. The announcement did not provide details of financial losses or affected users.
Dear Reader,
Ledger Life is an independent platform dedicated to covering the Internet Computer (ICP) ecosystem and beyond. We focus on real stories, builder updates, project launches, and the quiet innovations that often get missed.
We’re not backed by sponsors. We rely on readers like you.
If you find value in what we publish—whether it’s deep dives into dApps, explainers on decentralised tech, or just keeping track of what’s moving in Web3—please consider making a donation. It helps us cover costs, stay consistent, and remain truly independent.
Your support goes a long way.
🧠 ICP Principal: ins6i-d53ug-zxmgh-qvum3-r3pvl-ufcvu-bdyon-ovzdy-d26k3-lgq2v-3qe
🧾 ICP Address: f8deb966878f8b83204b251d5d799e0345ea72b8e62e8cf9da8d8830e1b3b05f
Every contribution helps keep the lights on, the stories flowing, and the crypto clutter out.
Thank you for reading, sharing, and being part of this experiment in decentralised media.
—Team Ledger Life





Community Discussion