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(oracle): full refactor of EndBlock UpdateExchangeRates() long function. #1014

Merged
merged 31 commits into from
Nov 10, 2022

Conversation

jgimeno
Copy link
Contributor

@jgimeno jgimeno commented Oct 19, 2022

Description

What does this PR do?

It optimize the function UpdateExchangeRates that was gigantic, also removed some loops.

Purpose

Why is this PR important?

Helps readability and reduces bigO of the rutine.

@jgimeno jgimeno changed the title refactor(oracle): first audit and refactor of oracle. refactor(oracle): full refactor of EndBlock UpdateExchangeRates() long function. Nov 6, 2022
@jgimeno jgimeno marked this pull request as ready for review November 6, 2022 22:59
@jgimeno jgimeno requested a review from a team as a code owner November 6, 2022 22:59
@jgimeno jgimeno enabled auto-merge (squash) November 6, 2022 22:59
Makefile Show resolved Hide resolved
x/oracle/keeper/reward_test.go Show resolved Hide resolved
@jgimeno jgimeno requested review from NibiruHeisenberg and a team November 7, 2022 12:45
@jgimeno jgimeno merged commit b376759 into master Nov 10, 2022
@jgimeno jgimeno deleted the feat/oracle-clean branch November 10, 2022 13:20
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