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

Set API limit when fetching data for named validators #1673

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

buberdds
Copy link
Contributor

@buberdds buberdds commented Dec 19, 2024

The only change here is limit: API_MAX_TOTAL_COUNT. Without it limit defaults to 100 which means we are not showing names for all validators and we are not able to find them by name.

sample TO row, master
https://explorer.oasis.io/mainnet/consensus/tx/fa2ff37ed0e231ce1845d7f43b8373056907483af8bebdae116c4003d1776e79

vs
https://pr-1673.oasis-explorer.pages.dev/mainnet/consensus/tx/fa2ff37ed0e231ce1845d7f43b8373056907483af8bebdae116c4003d1776e79

Copy link

github-actions bot commented Dec 19, 2024

Deployed to Cloudflare Pages

Latest commit: 991ecf914a861f1dcd7a992117a315b08305c4b7
Status:✅ Deploy successful!
Preview URL: https://61bcb7d3.oasis-explorer.pages.dev
Alias: https://pr-1673.oasis-explorer.pages.dev

@buberdds buberdds force-pushed the mz/validator-names-fix branch from e04755f to 991ecf9 Compare January 7, 2025 06:51
@buberdds buberdds merged commit 1fa52e9 into master Jan 7, 2025
8 checks passed
@buberdds buberdds deleted the mz/validator-names-fix branch January 7, 2025 07:00
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.

2 participants