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

Feat governance gas tests #27

Merged
merged 5 commits into from
Aug 23, 2024
Merged

Feat governance gas tests #27

merged 5 commits into from
Aug 23, 2024

Conversation

baroooo
Copy link
Contributor

@baroooo baroooo commented Aug 21, 2024

Description

Creates new fork tests checking the gas usage of governance actions.
We want to test if the rising number of locks causes any DoS for governance or locking.
Setting up the state for this test is quite slow on testnets and also that would not add any benefit imo thats why they are ran only on Celo.
Upper gas limits are decided considering the base gas usage of the actions

Other changes

Test accounts approves Locking contract for unlimited amount of mento transfers

Related issues

@baroooo baroooo marked this pull request as ready for review August 21, 2024 14:47
@baroooo baroooo requested review from a team, bowd and denviljclarke and removed request for a team and bowd August 21, 2024 14:47
@baroooo baroooo assigned bayological and baroooo and unassigned bayological Aug 21, 2024
@baroooo baroooo requested a review from bayological August 21, 2024 14:48
Copy link

@RyRy79261 RyRy79261 left a comment

Choose a reason for hiding this comment

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

Tested locally, all passes

Copy link
Contributor

@philbow61 philbow61 left a comment

Choose a reason for hiding this comment

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

Nice one 👍

@baroooo baroooo merged commit 9c9a1a0 into main Aug 23, 2024
1 check 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.

4 participants