-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add an increment example which can be paused by a dependency #342
Conversation
940c27d
to
103a4b7
Compare
103a4b7
to
a659396
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure i'm totally qualified to review all of this PR lol. It looks good from what i can tell, though. Follows the testing guides you've written nicely. Thanks a bunch!!
I disabled status checks on |
What
Add an increment example which can be paused by a dependency
Why
For use in examples I'm working on for a blog post and how-to guides on testing.
Testing with dependencies is a topic that needs covering, and a dependency that controls whether a contract is paused is a simple way to introduce a dependency without needing to focus on the dependencies logic and behavior too much.