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 cleanup: before, snapshots, multisig and validator utils #193

Merged
merged 9 commits into from
Mar 18, 2024

Conversation

m-chrzan
Copy link
Contributor

Description

Started doing some cleanup on the unit tests.

  • There were inconsistencies in the use of before, beforeEach, and snapshots.
    • Now all unit test suites do all their top-level setup in a before
    • and use hardhat snapshots (in before/afterEach) to reset between unit tests.
  • the test-ts/utils.ts file has become a monolith, started splitting it up into domain-specific files.

Other changes

Removed getIndexesOfElectedValidatorGroupMembers, an unused function.

Tested

Unit tests should still be passing.

@m-chrzan m-chrzan requested review from pahor167 and soloseng and removed request for pahor167 March 15, 2024 15:57
@m-chrzan m-chrzan merged commit d24c74a into master Mar 18, 2024
6 checks 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.

2 participants