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

Add invariant tests #23

Open
PJColombo opened this issue Apr 11, 2023 · 0 comments
Open

Add invariant tests #23

PJColombo opened this issue Apr 11, 2023 · 0 comments
Labels
📜 contract Smart contracts related stuff

Comments

@PJColombo
Copy link
Contributor

PJColombo commented Apr 11, 2023

Some interesting invariant tests we could add:

  • Check that the sum of all participants' support equals the total support of a specific project.
  • Check that the sum of all participants' support equals the total participant support.
  • Check that the sum of all projects' total support equals the pool's total support.
@PJColombo PJColombo added the 📜 contract Smart contracts related stuff label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 contract Smart contracts related stuff
Projects
None yet
Development

No branches or pull requests

1 participant