Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA MitigationConfirmed #12

Open
code423n4 opened this issue Jul 18, 2023 · 1 comment
Open

QA MitigationConfirmed #12

code423n4 opened this issue Jul 18, 2023 · 1 comment
Labels
mitigation-confirmed MR-QA satisfactory satisfies C4 submission criteria; eligible for awards

Comments

@code423n4
Copy link
Contributor

Lines of code

Vulnerability details

The sponsor addressed various QA / low severity findings and performed a few other minor changes:

  • Sanity checks for the array length were added
  • Functions were converted to pure when possible
  • Named imports are now used in many places
  • Events were indexed
  • A few wrong comments were changed
  • The guardian is now allowed to reduce the rate in the Savings contract
  • Savings.setSurplusManager now emits an event
  • The license of DiamondProxy was changed
  • oracleQuoteType and OracleTargetType were removed, there is now only OracleReadType. This data structure change also resulted in a few code changes
  • The implementation address is now exposed to Etherscan for a better UX there
  • The unnecessary Chainlink roundId > answeredInRound check was removed
  • LibWhitelist now also supports querying external contracts

These changes introduced no new vulnerabilities.

@c4-judge
Copy link

hansfriese marked the issue as satisfactory

@c4-judge c4-judge added the satisfactory satisfies C4 submission criteria; eligible for awards label Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mitigation-confirmed MR-QA satisfactory satisfies C4 submission criteria; eligible for awards
Projects
None yet
Development

No branches or pull requests

2 participants