Coin Brief ENDE

No error was reported: the week's bugs that returned a result instead of failing

Several of this week's items describe the same uncomfortable kind of fault: nothing stopped, nothing logged an error, and the result looked like a normal one. The Solidity team's description of the bug fixed in 0.8.39 ends its explanation with the sentence that no error was reported. Copying a recursive struct over a location that contained it left nested elements lost and later members at zero, a state a contract would go on using.

In xrpl.js the gap sat between a type and the server. rippled leaves ten ledger fields out of its JSON when they are zero, while the library declared them always present. A check such as loan.PaymentRemaining === 0 compiled cleanly and could never be true on a repaid loan, so code written to detect a finished loan quietly never fired. In Agave, a 32 GiB preallocation limit looked like a cap per snapshot file but applied to each collection separately, which let nested collections allocate far more in total; pull request #16946 replaces it with per-file limits sized from a real mainnet snapshot.

Kraken's Canadian-dollar market adds a market version of the same story. Bitcoin traded at C$24,250, the exchange says orders were processed correctly and found no breach, and the trades stand: by its own account the system worked as designed while producing prices far from the rest of the market.

No error was reported: the week's bugs that returned a result instead of failing
No error was reported: the week's bugs that returned a result instead of failing — Coin Brief

Why it matters

A crash or a revert gets noticed; a plausible wrong value does not. The fixes this week share a method - make the hidden case explicit, through a runtime overlap check, an optional type or a limit tied to real data - and that is worth copying wherever code accepts a result without asking whether it could be the silent failure.

Written by Victoria Shinder.