You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2025. It is now read-only.
In the current contract, there is a race condition when placing a bid. The contract will attempt to repay the previous bidder, but the previous bidder can change within a block. The current design will only allow one bid per block.
Solution
Rather than immediately repaying the previous bidder, this functionality should be implemented as a separate method. Below is an example implementation of this.