In SpiceAuction::setAuctionConfig
, it checks if current auction is active and if so reverts because, in accordance with the docs, it cannot set config for ongoing auctions. However, setAuctionConfig
sets the configuration for the next epoch so it should not revert.
When setAuctionConfig
is invoked, the configuration for the next epoch (i.e. auctionConfigs[_currentEpochId + 1]
is set). There is no reason to revert this function if the current auction is active.
Reverts a function call impeding setting the next epoch auction configuration when there is no need for it.
Manual review
No need to revert if current auction is 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.