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

​The submitted repository must include tests #10

Open
5 tasks
anastasiabusygina opened this issue Nov 24, 2022 · 0 comments
Open
5 tasks

​The submitted repository must include tests #10

anastasiabusygina opened this issue Nov 24, 2022 · 0 comments
Assignees

Comments

@anastasiabusygina
Copy link
Member

​The submitted repository must include Tests demonstrating the behaviors checked by our example Collateral plugin test, which we encourage you to use as a starting template for your own testing. Particular behaviors must include:

  • Deployment.
  • Issuance, appreciation, and redemption of an RToken with this Collateral in its basket.
  • Claiming rewards (or, if no rewards are available for this token, tests demonstrating that the claim-reward functions do nothing and don't revert)
  • Correct behavior for price() when any price sources return invalid values.
  • Correctly changing status() whenever that's needed in order to flag sudden or impending default.
utgarda added a commit that referenced this issue Dec 10, 2022
@utgarda utgarda self-assigned this Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants