-
Notifications
You must be signed in to change notification settings - Fork 161
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
Epic: Historacle pricing #1521
Comments
I can make this into a submodule of leverage, so the code stays fairly isolated, until we figure out what to do with it. It'll just
That way leverage can, for every (Only difference from issue desc. is the storing of calculated values since they should only change on epoch) |
Ehh now that I think about it, it might be cleaner to do this within the oracle module or as a x/historacle module. Separation of concerns 🤷 @toteki |
@toteki I'm going to make a couple keeper functions for you to call on the oracle side (thinking 30 days now) |
Keeping it in oracle module works, yeah. If the historical price can be kept as a single function (like |
Thinking about just doing a separate module that has hooks into the oracle module to keep the oracle module smaller & migrations cleaner |
@toteki I'm turning this into an epic for @zarazan / @rbajollari to work on, I'll add another task for wiring this to the leverage module |
Spec should be added / created before going into implementation. |
@robert-zaremba I'll add a spec for this today / tomorrow, have just been swamped with PFv2 |
## Description Initial spec for the historacle pricing oracle feature. Please see #1521 for initial discussion --- ### Author Checklist _All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues._ I have... - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [x] added `!` to the type prefix if API or client breaking change - [x] added appropriate labels to the PR - [x] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting)) - [x] provided a link to the relevant issue or specification - [x] added a changelog entry to `CHANGELOG.md` - [x] included comments for [documenting Go code](https://blog.golang.org/godoc) - [x] updated the relevant documentation or specification - [x] reviewed "Files changed" and left comments if necessary - [x] confirmed all CI checks have passed ### Reviewers Checklist _All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items._ I have... - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] confirmed all author checklist items have been addressed - [ ] reviewed state machine logic - [ ] reviewed API design and naming - [ ] reviewed documentation is accurate - [ ] reviewed tests and test coverage - [ ] manually tested (if applicable)
closing out historacle pricing, this came out last year |
Summary
As an addition to the oracle module, we need to:
This should serve as an epic for some smaller tasks:
InitGenesis
#1541grpc_query.go
#1544For Admin Use
The text was updated successfully, but these errors were encountered: