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

Validator rewards statistic #300

Merged
merged 3 commits into from
Nov 18, 2024
Merged

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Oct 27, 2024

Issue

A recent design update added a tab for “Rewards” charts, but the logic for this section was not implemented on the backend

Things done

Added new endpoint for chart data: validator/:hash/rewards/stats?start=:date&end=:date
Added new test for validators
Updated readme.md

Also this endpoint still suppot query in old format (?timespan=)

@owl352 owl352 added the backend Related to backend (API) label Oct 27, 2024
@owl352 owl352 self-assigned this Oct 27, 2024
Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 3:26am
platform-explorer-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 3:26am

pshenmic
pshenmic previously approved these changes Nov 17, 2024
# Conflicts:
#	packages/frontend/src/app/api/content.md
@owl352 owl352 merged commit 2fe3514 into master Nov 18, 2024
9 checks passed
@owl352 owl352 deleted the feat/validator-rewards-statistic branch November 23, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants