The Auction::whenActive()
modifier incorrectly checks if the auction has started by using the >
operator instead of >=
. This means that the auction is not considered active at the exact starting time, leading to a one-second delay before users can participate in the auction, causing the actual starting price to be lower than expected. As a result, users cannot buy ZENO
tokens at the exact initial price because the price starts to decrease immediately after the auction begins.
Low. This issue prevents users from buying ZENO
tokens at the exact initial price, but it does not lead to any loss of funds.
Low. The issue only affects the initial price of the auction, making it unlikely to be noticed unless the auction duration is extremely short.
To execute this proof of concept integrate foundry by running the following commands in your terminal, in the project's root directory:
Next, configure foundry by adding the following settings to foundry.toml
:
After that, create a foundry/
directory inside the test/
directory. Inside foundry/
, create the following file:
ZenoModule.t.sol
And then paste the following code to ZenoModule.t.sol
:
Modify the Auction::whenActive()
modifier to consider the first second of the auction as active
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.