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: thorchain lp consistent base values over percent change #6012

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Jan 16, 2024

Description

Makes sure we use the same reference data points for base (a.k.a absolute, current, now), making data more accurate, and consequently percent change as well.

Pull Request Type

  • πŸ› Bug fix (Non-breaking Change: Fixes an issue)
  • πŸ› οΈ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • πŸ’… New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

follows-up closed #5939

Risk

Overfetching, which will need to be tackled holistically

Testing

  • Base and percent change values for pools still look sane

Engineering

  • ☝🏽

Operations

  • ☝🏽

Screenshots (if applicable)

  • THORYield
image
  • Develop
image
  • This diff - note how 24h volume now matches THORYield's one very closely because of the same actual 24h window used vs. "since midnight"
image

Copy link
Contributor Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

}

if (timeframe === 'all') {
const genesis = '1647907200'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gomesalexandre gomesalexandre marked this pull request as ready for review January 16, 2024 09:54
@gomesalexandre gomesalexandre requested a review from a team as a code owner January 16, 2024 09:54
Copy link
Contributor

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

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

24h volume now matches THORYield πŸ‘Œ

@0xApotheosis 0xApotheosis merged commit 35398de into develop Jan 17, 2024
7 checks passed
@0xApotheosis 0xApotheosis deleted the feat_consistent_base_values branch January 17, 2024 00:29
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.

Display Thorchain LP Positions
2 participants