Hunt prep
Before you test veRWA
What 11 disclosed reports say about veRWA: 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 | 8 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| DoS 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.
-
User doesn’t have to deposit for a week into the market to get their weekly reward from the LendingLedger
Reward calculation was changed to be based on a time-weighted balance.
Disclosed
-
lack of access control in LendingLedger.sol#checkpoint_lender and function checkpoint_market
The code was fixed before the audit by only updating the stored epoch when the new value is greater than the last one.
Disclosed
-
Upon IncreaseAmount the lock may not align to the nearest weekly increment
The issue was fixed before the audit contest by ensuring the lock end time is aligned to the nearest weekly increment.
Disclosed
-
Users may be forced into long lock times to be able to undelegate back to themselves
The check should be modified to allow delegation to self regardless of lock end, so users can undelegate without extending their lock.
Disclosed
-
Voters from VotingEscrow can vote infinite times in vote for gauge_weights() of GaugeController
The voting power should be fetched from n blocks in the past, and a predefined voting window should be scheduled to prevent replay after n blocks.
Disclosed
-
When adding a gauge, its initial value has to be set by an admin or all voting power towards it will be lost
Upon adding a gauge, the code should call change_gauge_weight to set its initial weight to zero.
Disclosed
-
Delegated votes are locked when owner lock is expired
The code should be refactored to skip the lock expiry check when a user is undelegating.
Disclosed
-
Replace old_sum_bias by old_bias
The line was changed to use `old_sum_bias` as the floor, and the project says it was fixed before the auditing contest.
Disclosed
-
If governance removes a gauge, user’s voting power for that gauge will be lost
The report recommends allowing zero-weight votes on removed gauges so users can clear their allocation, and optionally adding a function to remove votes or vote for multiple gauges in one transaction.
Disclosed