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(vpool): remove GetUnderlyingPrice method #901

Merged
merged 7 commits into from
Sep 15, 2022

Conversation

NibiruHeisenberg
Copy link
Contributor

Description

Removes the GetUnderlyingPrice() method in VpoolKeeper since it's a shallow method that just proxies to PricefeedKeeper. Callers can just use PricefeedKeeper.GetCurrentPrice() instead.

Purpose

Reduce unnecessary methods.

@NibiruHeisenberg NibiruHeisenberg requested a review from a team as a code owner September 14, 2022 05:01
@NibiruHeisenberg NibiruHeisenberg self-assigned this Sep 14, 2022
@NibiruHeisenberg NibiruHeisenberg added this to the Testnet V1 milestone Sep 14, 2022
@NibiruHeisenberg NibiruHeisenberg enabled auto-merge (squash) September 14, 2022 05:02
@NibiruHeisenberg NibiruHeisenberg changed the title refactor(vpool): remove GetUnderlyingPrice method refactor(vpool): remove GetUnderlyingPrice method Sep 14, 2022
@AgentSmithMatrix
Copy link
Contributor

Some conflicts needs to be solved

@NibiruHeisenberg
Copy link
Contributor Author

Some conflicts needs to be solved

Done.

@NibiruHeisenberg NibiruHeisenberg merged commit b42fb33 into master Sep 15, 2022
@NibiruHeisenberg NibiruHeisenberg deleted the refactor/remove-underlying-price branch September 15, 2022 19: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