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

Improve gov contract #325

Merged
merged 9 commits into from
May 21, 2024
Merged

Improve gov contract #325

merged 9 commits into from
May 21, 2024

Conversation

SegueII
Copy link
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
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
5 checks passed
@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