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

Market CF Integration Tests #218

Open
ElliotFriedman opened this issue Jun 13, 2024 · 1 comment
Open

Market CF Integration Tests #218

ElliotFriedman opened this issue Jun 13, 2024 · 1 comment

Comments

@ElliotFriedman
Copy link
Collaborator

Create an integration test that runs after proposals on both Base and Moonbeam which

  • fetches the list of all current mTokens
  • iterates over each mToken
  • queries the comptroller to see each mToken's CF, ensures it is within sane bounds, checks other key system parameters like the close factor
  • queries the MultiRewardDistributor to see the reward speed per second, ensures that no reward borrow speeds are 0, ensures that both supply and borrow speeds in any given token are below sane upper bounds.
  • queries the safety module to ensure the reward per second is below a sane upper bound.
@anajuliabit
Copy link
Collaborator

add to LiveSystemDeploy.t..sol

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