Skip to content

Omega Audit Fixes #757

Merged
fabianschu merged 2 commits intoInverterNetwork:feat/funding-potfrom
33Audits:feat/funding-pot
Jun 3, 2025
Merged

Omega Audit Fixes #757
fabianschu merged 2 commits intoInverterNetwork:feat/funding-potfrom
33Audits:feat/funding-pot

Conversation

@zzzuhaibmohd
Copy link

@zzzuhaibmohd zzzuhaibmohd commented May 30, 2025

This PR addresses the following three issues reported in the Omega audit:

  1. Renamed MAX_ACCESS_CRITERIA_ID to MAX_ACCESS_CRITERIA_TYPE for better clarity and alignment with its usage.
  2. Removed the redundant use of the unchecked block where no arithmetic operations were involved.
  3. Optimized gas usage by simplifying the assignment: lastSeenRoundId = currentProcessingRoundId.
  4. set batchSize_ to contributorCount instead of reverting if batchSize_ > contributorCount

@fabianschu fabianschu merged commit b519b35 into InverterNetwork:feat/funding-pot Jun 3, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants