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

Information on the best validator for the no-transaction epoch #223

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Aug 11, 2024

Issue

At the moment, if we call /epoch/:index, then in case of no transactions for the epoch period, we get a number of fields that are null, although they should be either 0 or contain some other value with information about the epoch

Things done

Default values for properties in the EpochData object have been added.
The database query has been modified to retrieve the best validator even in a non-transactional epochs

Copy link

vercel bot commented Aug 11, 2024

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

Name Status Preview Comments Updated (UTC)
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 13, 2024 11:59am

@owl352 owl352 self-assigned this Aug 11, 2024
@owl352 owl352 added the backend Related to backend (API) label Aug 11, 2024
@owl352 owl352 marked this pull request as ready for review August 11, 2024 16:20
@owl352 owl352 requested a review from pshenmic August 12, 2024 17:51
@pshenmic pshenmic merged commit d593ee5 into master Aug 14, 2024
8 checks passed
@owl352 owl352 deleted the feat/epochs-fix branch November 23, 2024 01:02
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