Skip to content

Conversation

@gzalz
Copy link
Contributor

@gzalz gzalz commented Jun 30, 2025

Problem
There is an edge case where validators with 10_000 commission bps are not able to have their claims process due to arithmetic calculations performed in the Tip Router program when the reward router claim is processed first.

Solution

  • Guarantee the processing of validator claims before reward router claims
  • While unprocessed validator claims are non-empty, keep processing those claims
  • Only when no remaining validator claims need to be processed, process non-validator claims

@gzalz gzalz force-pushed the fix/claim-ordering branch from 3ef5dd6 to e8f70ea Compare June 30, 2025 23:01
Copy link
Collaborator

@ebatsell ebatsell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gzalz gzalz merged commit fa111b8 into master Jul 1, 2025
6 checks passed
@gzalz gzalz deleted the fix/claim-ordering branch July 1, 2025 22:41
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