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

fix(oracle): require vault conversion not zero #35

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

Rubilmax
Copy link
Contributor

@Rubilmax Rubilmax commented Oct 27, 2023

Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

Perhaps you could link this issue as well? https://github.com/cantinasec/review-morpho-blue-1/issues/71

@Rubilmax Rubilmax marked this pull request as draft October 27, 2023 15:02
@Rubilmax Rubilmax marked this pull request as ready for review October 27, 2023 15:32
src/ChainlinkOracle.sol Outdated Show resolved Hide resolved
MerlinEgalite
MerlinEgalite previously approved these changes Oct 27, 2023
src/ChainlinkOracle.sol Outdated Show resolved Hide resolved
src/ChainlinkOracle.sol Outdated Show resolved Hide resolved
@Rubilmax
Copy link
Contributor Author

Rubilmax commented Nov 2, 2023

@QGarchery so we acknowledge the issue?

@QGarchery
Copy link
Contributor

I'm in favor of acknowledging

and this one can be fixed (no strong opinion here)

MerlinEgalite
MerlinEgalite previously approved these changes Nov 6, 2023
test/ChainlinkOracleTest.sol Outdated Show resolved Hide resolved
@MerlinEgalite MerlinEgalite merged commit a58dc16 into main Nov 8, 2023
2 checks passed
@MerlinEgalite MerlinEgalite deleted the fix/vault-conversion-zero branch November 8, 2023 08:21
@MerlinEgalite
Copy link
Contributor

Shit this branch was not pointing to cantina-review. Anyway that's not a big deal

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.

check vaultConversionSample != 0 at construction
4 participants