Skip to content

Improve gov contract#325

Merged
SegueII merged 9 commits intomainfrom
gov-pruning
May 21, 2024
Merged

Improve gov contract#325
SegueII merged 9 commits intomainfrom
gov-pruning

Conversation

@SegueII
Copy link
Copy Markdown
Contributor

@SegueII SegueII commented May 20, 2024

No description provided.

@SegueII SegueII added enhancement New feature or request contracts Contracts update audit_issue_fix labels May 20, 2024
for (uint256 i = undeletedProposalStart; i < proposalID; i++) {
delete proposalData[i];
delete proposalInfos[i];
delete votes[i];
Copy link
Copy Markdown
Contributor

@ryanmorphl2 ryanmorphl2 May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EnumerableSet need clear. But there is no official clear method.

@SegueII SegueII merged commit 3541697 into main May 21, 2024
@SegueII SegueII deleted the gov-pruning branch May 21, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit_issue_fix contracts Contracts update enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants