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

feat: query tick accumulator trackers (APR #4) #5368

Merged
merged 4 commits into from
May 31, 2023
Merged

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented May 31, 2023

Closes: #XXX

What is the purpose of the change

Data team needs to track 4 things to be able to do that:

  1. Spread reward and uptime accumulator tick updates in events (refactor: emit tick spread factor reward and uptime reward events when tick is crossed (APR calc #1) #5366)
  2. Query pool spread rewards accumulator (feat: query pool accumulator rewards (APR #2 and 3) #5367)
  3. Query pool uptime accumulator (feat: query pool accumulator rewards (APR #2 and 3) #5367)
  4. Query reward accumulators for each individual tick (this PR)

Testing and Verifying

This change is a trivial rework / code cleanup without any test coverage.

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

  • Specification (x/{module}/README.md)
  • Osmosis documentation site
  • Code comments?
  • N/A

@p0mvn p0mvn added V:state/compatible/no_backport State machine compatible PR, depends on prior breaks A:no-changelog labels May 31, 2023
@p0mvn p0mvn marked this pull request as ready for review May 31, 2023 03:00
@p0mvn p0mvn requested a review from czarcas7ic as a code owner May 31, 2023 03:00
Copy link
Member

@mattverse mattverse left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from roman/query-pool-rewards to main May 31, 2023 17:26
@p0mvn p0mvn merged commit 4e436ea into main May 31, 2023
@p0mvn p0mvn deleted the roman/query-tick-accums branch May 31, 2023 21:04
pysel pushed a commit that referenced this pull request Jun 6, 2023
* feat: query pool accumulator rewards (APR #2 and 3)

* feat: query tick accumulator trackers (APR #4)

* updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants