Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement StakeManager #549

Open
aloknerurkar opened this issue Dec 30, 2024 · 0 comments · May be fixed by #597
Open

Implement StakeManager #549

aloknerurkar opened this issue Dec 30, 2024 · 0 comments · May be fixed by #597
Assignees

Comments

@aloknerurkar
Copy link
Collaborator

Similar to the current DepositManager, which is used by the provider to check balance of bidders, we also need a StakeManager which tracks the stake of providers.

The StakeManager needs to do the following:

  1. Get minimum stake in the start and track if this value changes using events
  2. Respond to GetStake queries to other packages without querying the RPC but by tracking ProviderStake and Slash events. This would prevent the additional RPC call and also allow us to generate events when provider stake becomes low.
@aloknerurkar aloknerurkar self-assigned this Dec 30, 2024
@aloknerurkar aloknerurkar linked a pull request Feb 11, 2025 that will close this issue
2 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant