15,000 USDC
View results
Submission Details
Severity: low

Invariant tests are failing for protocol core invariants

Description

When running forge test we see that that 2 invariant tests are failing

Running 2 tests for test/fuzz/Invariants.t.sol:Invariants
...
invariant_gettersCantRevert() (runs: 41, calls: 5212, reverts: 1)
...
invariant_protocolMustHaveMoreValueThanTotalSupply() (runs: 41, calls: 5212, reverts: 1)

Invariant tests are:

// 1. The total supply of DSC should be less than the total value of collateral
// 2. Getter view functions should never revert <- evergreen invariant

Recommend Mitigation

Resolve the issues. Marking issue as low as the first invariant was discussed in another issue and the second one is not of a higher value

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.