-
Notifications
You must be signed in to change notification settings - Fork 43
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
ODHack: Modular integration tests #95
Comments
Hi @tensojka can I work on this? Using this steps you have already mentioned, I would quickly execute the test within a time frame of 3 days. |
Yes you can, assigning you @Iwueseiter |
thank you @tensojka |
Hi @Iwueseiter any update on this issue ? |
@ptisserand I'm working on it. I will create a PR soon. |
Hey @Iwueseiter still on the issue? |
@od-hunter yes. |
@ptisserand You are now assigned as @Iwueseiter hasn't posted a draft PR. |
Hi @tensojka sorry I didn't have time before to work on this issue before. I have look at fn deploy_governance(classhash: ClassHash, voting_token_class: ClassHash, floating_token_class: ClassHash, token_recipient: ContractAddress) -> ContractAddress; instead of fn deploy_governance(classhash: ClassHash, token_recipient: ContractAddress) -> ContractAddress; Are you agree? |
We need to add modular integration tests for Konoha that can be used to test deployed instances. This will make it easier for the protocols using it to verify Konoha is working correctly and to gain confidence upgrading it.
Tasks
tests/integration_tests.cairo
with the following functions:deploy_governance(classhash, token_recipient)
: Deploys the governance contractupgrade(gov_address, tokenholders, new_classhash)
: Upgrades a governance contract to a new classhashhealthcheck(gov_address, tokenholders)
: Runs a series of checks on a deployed governance contracttests/integration_test_runner.cairo
that uses the above functions to test upgrading the current Konoha Sepolia deployment to the latest masterPseudocode
tests/integration_tests.cairo
:tests/integration_test_runner.cairo
:See the Contributor Guidelines for how to get started working on this issue.
The text was updated successfully, but these errors were encountered: