A function deletes or rewrites every element of a growing storage array in one call. Past a certain size the operation cannot fit in a block, so it can never complete — the state becomes permanently unmanageable.
// reset() { delete bigArray; } // O(n) storage writes // once bigArray has ~thousands of entries, reset() exceeds block gas // -> the protocol can never be reset.
// process in bounded chunks across multiple transactions
function clear(uint256 n) external { for (uint i; i<n && arr.length>0; ++i) arr.pop(); }
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0241 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.