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

test: make max MP test stronger #90

Merged
merged 1 commit into from
Dec 5, 2024
Merged

test: make max MP test stronger #90

merged 1 commit into from
Dec 5, 2024

Conversation

0x-r4bbit
Copy link
Collaborator

As mentioned in #82, increasing currentTime by 1 second isn't enough to actually create new MPs, so the test could return false positives.

This change increases the time between checks arbritraryly longer, such that MPs would actually be created if the max MP wasn't reached.

Closes #82

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Added natspec comments?
  • Ran pnpm adorno?
  • Ran pnpm verify?

As mentioned in #82, increasing `currentTime` by 1 second isn't enough
to actually create new MPs, so the test could return false positives.

This change increases the time between checks arbritraryly longer, such
that MPs would actually be created if the max MP wasn't reached.

Closes #82
@0x-r4bbit 0x-r4bbit merged commit 6814995 into main Dec 5, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Weak test on test_StakeOneAccountReachingMPLimit
2 participants