We hardcoded a gas limit. It was fine until it wasn’t.
The withdrawal function shipped eleven months ago. Thousands of successful withdrawals. Then one user could not withdraw, ever, and no amount of retrying helped. Here is roughly what we had: solidity function withdraw() external { uint256 amount = balances[msg.sender]; require(amount > 0, "nothing…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-12 11:50 · DEV Community — AI
We hardcoded a gas limit. It was fine until it wasn’t.