Skip to content

Use each validator's predicted APR on HyperCore - #967

Merged
DRadmir merged 1 commit into
mainfrom
wt4/hypercore-validator-apr
Aug 25, 2026
Merged

Use each validator's predicted APR on HyperCore#967
DRadmir merged 1 commit into
mainfrom
wt4/hypercore-validator-apr

Conversation

@DRadmir

@DRadmir DRadmir commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Every HyperCore validator showed the same staking rate, so the list could not be compared or sorted by it. Each validator now shows its own rate, and the network rate is used only for a validator that reports no data of its own.

The validator APR already arrives per validator in the same response, but
only its maximum was kept and stamped on every entry. Read it per validator
and fall back to the network rate when a validator reports no stats.
@DRadmir DRadmir self-assigned this Aug 25, 2026
@DRadmir
DRadmir merged commit 12dabeb into main Aug 25, 2026
7 checks passed
@DRadmir
DRadmir deleted the wt4/hypercore-validator-apr branch August 25, 2026 09:05
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.

1 participant