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

State transition manager test coverage #498

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

neotheprogramist
Copy link
Contributor

What ❔

This PR enhances the test coverage for the StateTransitionManager contract. Specifically, it includes additional unit tests to cover edge cases and scenarios that were previously untested.

Comment on lines 82 to 83
vm.stopPrank();
vm.startPrank(governor);
Copy link
Member

Choose a reason for hiding this comment

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

Why do you use this pattern?

Copy link

Choose a reason for hiding this comment

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

I used this pattern because I did not want to interfere with the tests that were previously created by someone else. However, I made a small modification and now it should be fine.

@tejks tejks force-pushed the test/state-transition-manager branch from c187ac3 to ac523cf Compare June 10, 2024 11:16
@tommysr tommysr force-pushed the test/state-transition-manager branch from ac523cf to aa89a96 Compare October 1, 2024 11:04
@neotheprogramist neotheprogramist changed the base branch from release-v23 to dev October 1, 2024 11:22
@tommysr tommysr force-pushed the test/state-transition-manager branch from 1b9277c to 2a02804 Compare October 1, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants