Hunt prep
Before you test MANTRA Chain
What 8 disclosed reports say about MANTRA Chain: 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 | 4 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Misconfiguration lesson | 2 | 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.
-
Multiplier is calculated using denom and not coin.Denom
The multiplier lookup should use the coin's own denom instead of the target denom.
Disclosed
-
Resolver is not initialized in the protocol’s keeper
The resolver should be initialised in the feemarket keeper so the custom conversion logic is used.
Disclosed
-
Block gas utilization is slightly lower than the actual gas utilization due to the gas snapshot being taken too early, resulting in an inaccurate base fee calculation
The snapshot should be taken right before calling state.Update().
Disclosed
-
Fee market post handler misses to account for gas consumed after taking the gas snapshot, leading to higher refunds and unpaid gas
The code should define a gas constant for the burn and refund operations and charge the user for that gas.
Disclosed
-
Refunding the full gas fee tip allows inflating the transaction priority and filling up the block gas limit, effectively DoSing the network
Only partially refund the gas fee tip to disincentivize overpaying.
Disclosed
-
xfeemarket module is not wired up, resulting in non-working CLI commands, message server, genesis export
The module should be wired up in app/app.go by adding its store key, keeper, module, and genesis order entries.
Disclosed