-
Notifications
You must be signed in to change notification settings - Fork 70
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
Allow risk authority to change rate limiter config in the lending market #167
Conversation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## upcoming #167 +/- ##
============================================
+ Coverage 83.62% 83.66% +0.04%
============================================
Files 50 50
Lines 18704 18764 +60
============================================
+ Hits 15641 15699 +58
- Misses 3063 3065 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
} | ||
|
||
lending_market.whitelisted_liquidator = whitelisted_liquidator; | ||
if !signer_info.is_signer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slight preference for this to be near the top of constraints rather than bottom, and rename variable to like market_change_authority (just to not mix up to concept of it being a signer)
d81f85d
to
d900356
Compare
* oracle price multiplier (#174) * oracle price multiplier * changing added price weight to be i64 * rename added price weight * Allow risk authority to change rate limiter config in the lending market (#167) * account for risk authority in set lending market owner and config * PR fixes * only let risk authority disable outflows * Optional, extra oracle on reserve (#176) * minor refactoring of price fields in reserve * adding extra oracle pubkey and extra market price to reserve * using extra market price everywhere * https://www.youtube.com/watch?v=uLHqpjW3aDs * validate extra_oracle_pubkey in init reserve / update reserve * writing tests * more tests * more refresh reserve checks * adding some unit tests for extra_oracle stuff * test init reserve * clippy * pr fixes * don't care about staleness or variance for the extra oracle * Collateralization Limits Final (#177) * forgot to update smoothed price with price scale in switchboard case * remove redundant multiply * remove clock (#179)
title. only let it disable outflow though