Skip to content

Conversation

@gzalz
Copy link
Contributor

@gzalz gzalz commented Jul 1, 2025

Problem
The amount to pay out to vote account claimants is not calculated correctly when total_fees exceed total_tips. This scenario manifests when validator commission bps on tip distributions is set to 10_000.

Solution

  • Subtract protocol fees from vote account claimant payouts when total fees exceed total tips
  • Test case for 10_000 bps commission on tip distribution
  • Test case for legacy calculation (feature gated at epoch 815)

@gzalz gzalz merged commit d3b5106 into master Jul 1, 2025
6 checks passed
@gzalz gzalz deleted the fix/operator-validator-amount branch July 1, 2025 23:47
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.

3 participants