Skip to content

V2 phase1 fixes#216

Merged
Joeysantoro merged 27 commits intodevelopfrom
feat/v2-phase1-fixes
Oct 13, 2021
Merged

V2 phase1 fixes#216
Joeysantoro merged 27 commits intodevelopfrom
feat/v2-phase1-fixes

Conversation

@Joeysantoro
Copy link
Contributor

No description provided.

@Joeysantoro Joeysantoro force-pushed the feat/v2-phase1-fixes branch from a4351f1 to 5891f0e Compare October 5, 2021 05:53
@Joeysantoro Joeysantoro changed the title [WIP] v2 phase1 fixes V2 phase1 fixes Oct 11, 2021
@Joeysantoro Joeysantoro marked this pull request as ready for review October 11, 2021 01:26
/// @notice guardian set the cache values on collateralization oracle
/// @param protocolControlledValue new PCV value
/// @param userCirculatingFei new user FEI value
/// @dev make sure to pause the CR oracle wrapper or else the set value would be overwritten on next update
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not add logic in the collateralization oracle and this contract so that if you call setCache, it automatically pauses the collateralization oracle if it is not paused yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good suggestion, I originally didn't want to add complexity. Lets sync on it

@Joeysantoro Joeysantoro merged commit aa3d77e into develop Oct 13, 2021
@Joeysantoro Joeysantoro deleted the feat/v2-phase1-fixes branch October 13, 2021 22:37
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

Successfully merging this pull request may close these issues.

3 participants

Comments