If an auction has been dealt and tick is called after but in the same block, there's some residue left in storage (end in Flipper and Flapper, end and lot in Flopper ).
Adding a require(bids[id].guy != address(0), "Fl*pper/auction-not-active"); to the top of tick fixes this.
Not an issue now, but we want to be good citizens and not bloat state.
If an auction has been
dealt andtickis called after but in the same block, there's some residue left in storage (endinFlipperandFlapper,endandlotinFlopper).Adding a
require(bids[id].guy != address(0), "Fl*pper/auction-not-active");to the top oftickfixes this.Not an issue now, but we want to be good citizens and not bloat state.