Submitted by cmichel
The treasury implements a max contract balance check in the deposit function:
A whale can stop anyone from depositing by front-running a users deposit with a deposit that pushes the contract balance to the maxContractBalance limit first. The users deposit will then fail in the check. Afterwards, the whale can withdraw again.
Any users can be blocked from depositing which prevents them from renting cards.
This allows an attacker to manipulate the outcome of a market in their favor by strategically preventing other competitors to bid on their cards (causing forfeiture due to a low deposit balance).
Recommend removing the contract limit or at least set the limit very high if it keeps happening.
mcplums (Reality Cards) acknowledged:
