Hunt prep
Before you test Covalent contest
What 5 disclosed reports say about Covalent contest: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 3 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
unstake should update exchange rates first
The exchange rates should be updated before computing the shares to remove, by moving the update calls to the beginning of the function.
Disclosed
-
Incorrect updateGlobalExchangeRate implementation
The issue was manually handled according to the project team, but a proper fix would be to ensure totalGlobalShares never becomes zero or to handle the zero case correctly.
Disclosed
-
Usage of an incorrect version of Ownbale library can potentially malfunction all onlyOwner functions
The issue was fixed by using the upgradeable Ownable library and calling its initializer in the initialize function.
Disclosed
-
Validator can fail to receive commission reward in redeemAllRewards
The function should call redeemRewards internally or limit the commissionRate to a value that does not cause the issue.
Disclosed
-
reward tokens could get lost due to rounding down
The report recommends adding checks that amounts are exact multiples of the per-epoch allocation in the deposit, withdrawal and rate-setting functions, and handling the staking initialisation case.
Disclosed