Hunt prep
Before you test Forgotten Runes Warrior Guild contest
What 6 disclosed reports say about Forgotten Runes Warrior Guild 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 |
| 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.
-
Critical variables shouldn’t be changed after they are set
Each setter should require that the variable is still zero so it can only be set once, and the contract should also require that the lowest price is below the start price.
Disclosed
-
Use of .send() May Revert if The Recipient’s Fallback Function Consumes More Than 2300 Gas
Use .call() with the checks-effects-interactions pattern and careful reentrancy protection instead of .send().
Disclosed
-
The owner can mint all of the NFTs.
The teamSummon function should enforce a maximum number of NFTs the owner can mint, matching the documented limits.
Disclosed
-
Contract may not have enough fund to cover refund
The owner should only be allowed to call withdrawAll after the refund period has ended.
Disclosed
-
Many unbounded and under-constrained variables in the system can lead to unfair price or DoS
The variables should be bounded and constrained, for example by requiring the drop interval to be shorter than the price curve length and by ensuring the sum of phase supplies does not exceed the maximum supply.
Disclosed