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

Refactor market price #135

Merged
merged 11 commits into from
Oct 21, 2024
Merged

Refactor market price #135

merged 11 commits into from
Oct 21, 2024

Conversation

Rubilmax
Copy link
Collaborator

No description provided.

BREAKING CHANGE: The `price` property of the `Market` class is now optional. It is undefined when the market's oracle is undefined or reverts.
@Rubilmax Rubilmax requested a review from oumar-fall October 21, 2024 08:09
@Rubilmax Rubilmax self-assigned this Oct 21, 2024
@Rubilmax Rubilmax changed the base branch from main to next October 21, 2024 08:09
@Rubilmax Rubilmax marked this pull request as ready for review October 21, 2024 08:54
@Rubilmax Rubilmax force-pushed the refactor/market-price branch from a633833 to b468055 Compare October 21, 2024 09:26
Copy link
Contributor

@oumar-fall oumar-fall left a comment

Choose a reason for hiding this comment

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

I can't settle on whether it's a good thing that we don't notify the error except for having priceundefined :/

@Rubilmax Rubilmax merged commit 962e513 into next Oct 21, 2024
18 checks passed
@Rubilmax Rubilmax deleted the refactor/market-price branch October 21, 2024 15:11
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.

2 participants