Skip to content

Conversation

@zzzuhaibmohd
Copy link

@zzzuhaibmohd zzzuhaibmohd commented Jun 18, 2025

This PR addresses the following issues reported in the audit: #741

  1. Removed the redundant if check for MAX_ACCESS_CRITERIA_TYPE, as it is not required for accessCriteriaId.
  2. Updated the error string from Module__LM_PC_FundingPot__InvalidAccessCriteriaId to Module__LM_PC_FundingPot__InvalidAccessCriteriaType.
  3. Added support for the removedAddresses_ parameter in the setAccessCriteria() function.
  4. Enforced that unspentPersonalRoundCaps must reference rounds prior to the given roundId_.
  5. Implemented a fix to prevent the personal cap of previous rounds from being reused repeatedly.

Note: This update also includes corresponding changes in unit tests to ensure the fix is properly validated.

@0xNuggan 0xNuggan deleted the branch InverterNetwork:feat/funding-pot September 17, 2025 07:04
@0xNuggan 0xNuggan closed this Sep 17, 2025
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.

3 participants