Skip to content

Conversation

@riemannulus
Copy link
Contributor

… handling

  • Introduced accumulatedDust variable to track precision loss in rewards distribution.
  • Added withdrawDust() function for owners to withdraw accumulated dust.
  • Implemented critical checks to prevent reward token changes while unclaimed rewards exist.
  • Updated upgrade script to enhance logging and verify contract state post-upgrade.
  • Added tests for precision loss scenarios to ensure accurate reward distribution.

… handling

- Introduced `accumulatedDust` variable to track precision loss in rewards distribution.
- Added `withdrawDust()` function for owners to withdraw accumulated dust.
- Implemented critical checks to prevent reward token changes while unclaimed rewards exist.
- Updated upgrade script to enhance logging and verify contract state post-upgrade.
- Added tests for precision loss scenarios to ensure accurate reward distribution.
@riemannulus riemannulus merged commit 860480e into main Oct 23, 2025
1 check failed
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