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

TESTCOV: Sputnik Factory: DAO Code Metadata #123

Open
6 tasks
TrevorJTClarke opened this issue Feb 25, 2022 · 0 comments
Open
6 tasks

TESTCOV: Sputnik Factory: DAO Code Metadata #123

TrevorJTClarke opened this issue Feb 25, 2022 · 0 comments
Labels
C-Testing Unit testing / integration testing P-Medium Priority: Medium

Comments

@TrevorJTClarke
Copy link
Contributor

Create test coverage for the following:

Ownership

Adding Code Metadata

  • Can add metadata for an existing set of Sputnik DAO Code (code_hash is available only upon storage of contract inside factory)
  • Can set the code_hash as default
  • Metadata version and other params meet types & spec standards
  • Fails to add code metadata if code_hash doesn't exist
  • Can remove code metadata if called by owner
  • Fails to remove code metadata if metadata by code_hash doesn't exist
@TrevorJTClarke TrevorJTClarke added P-Medium Priority: Medium C-Testing Unit testing / integration testing labels Feb 25, 2022
@TrevorJTClarke TrevorJTClarke moved this to Ready For Dev in Sputnik Core Feb 25, 2022
This was referenced Mar 22, 2022
@nninkovicSQA nninkovicSQA linked a pull request Mar 22, 2022 that will close this issue
@nninkovicSQA nninkovicSQA removed a link to a pull request Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Testing Unit testing / integration testing P-Medium Priority: Medium
Projects
Status: Ready For Dev
Development

No branches or pull requests

1 participant