Skip to content

fetch validator states POST#2404

Merged
Marketen merged 3 commits intodevelopfrom
marc/improve-consensus-calls
Mar 10, 2026
Merged

fetch validator states POST#2404
Marketen merged 3 commits intodevelopfrom
marc/improve-consensus-calls

Conversation

@Marketen
Copy link
Copy Markdown
Contributor

@Marketen Marketen commented Mar 6, 2026

  • Changed beacon validator requests from querystring GET style to POST body ids, and reduced batch size to stay within client/spec limits (some say limit is 64).
  • Hardened validator processing for edge cases:
    • Dynamic slots-per-epoch from beacon spec (fixes Gnosis epoch math)
    • Single head/epoch fetch per network (avoids per-batch drift - one batch gets X finalized, the next one can get X+1 if enough time has passed)
    • Pubkey deduplication
    • More tolerant timeout (from 5 to 10s, now doable because cards load by network as data comes)
  • Batch resilience with all-settled behavior instead of fail-all
  • Refactored dashboard loading to be progressive per network, so cards render as each network resolves instead of waiting for all.
    • Fixed polling flicker/disappearing cards (cards appear and dissapear during reloads):
    • Removed SWR revalidation gating from global clients loading state
    • Replaced setter-inside-setter loading logic with ref-based first-fetch tracking
  • Kept existing cards visible while refresh updates values in place
    Verified admin UI type safety successfully with a no-emit TypeScript check.

@Marketen Marketen requested a review from a team as a code owner March 6, 2026 07:51
@github-actions github-actions bot temporarily deployed to commit March 6, 2026 07:52 Inactive
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 6, 2026

@github-actions github-actions bot temporarily deployed to commit March 6, 2026 09:03 Inactive
@github-actions github-actions bot temporarily deployed to commit March 10, 2026 07:19 Inactive
@Marketen Marketen merged commit 71ab41e into develop Mar 10, 2026
8 checks passed
@Marketen Marketen deleted the marc/improve-consensus-calls branch March 10, 2026 07:19
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