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

Improving Identity staking rewards distribution #3082

Open
wants to merge 20 commits into
base: dev
Choose a base branch
from

Conversation

silva-fj
Copy link
Contributor

@silva-fj silva-fj commented Sep 23, 2024

This is the identity staking rewards distribution follow up. The main logic is as follows:

  • An event is emitted to trigger the rewards distribution on each round
  • The TEE Worker gets the staking amount for each account stored in Scores and calls the distribute_rewards for each account
  • Then TEE Worker calls complete_rewards_distribution to indicate that the distribution for the round to all users is completed

@silva-fj silva-fj requested review from Kailai-Wang and a team September 23, 2024 13:31
@silva-fj silva-fj requested review from felixfaisal and a team September 27, 2024 15:10
Copy link
Collaborator

@BillyWooo BillyWooo left a comment

Choose a reason for hiding this comment

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

Please, hold on until new release goes out.

@BillyWooo BillyWooo dismissed their stale review September 30, 2024 14:20

Release went out. Please proceed.

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