Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jan 1st 24 distribution miscalculation: nuInT earnings during transition period #123

Closed
manumonti opened this issue Jan 15, 2024 · 0 comments · Fixed by #122
Closed

Jan 1st 24 distribution miscalculation: nuInT earnings during transition period #123

manumonti opened this issue Jan 15, 2024 · 0 comments · Fixed by #122
Assignees

Comments

@manumonti
Copy link
Member

manumonti commented Jan 15, 2024

In addition to #120, another miscalculation in the Jan 1st distribution has been detected. This relates to whether or not the staked legacy Nu is eligible for rewards during the transition period.

Context

At 2023-11-22T04:06:11.000Z the support of legacy Keep and Nu staking was dropped as announced in TIP-063. This date is the start of the transition process, where stakes with legacy staking can migrate their legacy tokens (Keep & Nu) to Threshold Network tokens (T). This process is described in the Transition Guide.

During the transition period, the release of rewards for legacy stakes has been frozen since these are eligible for rewards depending on whether they complete the migration in time.

On Dec 8th, the migration period for legacy Nu stakes ended, so on Jan 1st, 2024 distribution, the rewards associated with legacy Nu stakes were released.

It is worth noting that the staking rewards have two sources: tBTC rewards and PRE/TACo rewards.

The issue

For the calculation of the legacy Nu rewards during the transition period, we considered the following mechanism (as stated in #116):

If a staker completes the transition process in time, the rewards are calculated based on the re-staked amount. So, for example, if the stake had 1000 NuInT, and after deactivation, it re-stake 500T, only 500T will be considered as staked during the period between legacy deactivation and re-staking.

This is not correct, since the rewards should be calculated based on the original amount of NuInT, in the example, 1000T.

The fix

The remaining rewards will be distributed in future rewards distributions.

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 a pull request may close this issue.

1 participant