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

fix: showing allocations for registered ops #272

Merged

Conversation

shrimalmadhur
Copy link
Collaborator

@shrimalmadhur shrimalmadhur commented Dec 18, 2024

Fixes # .

What Changed?

  • Fix a case where operator is deregistered and the contract API doesn't return the slashable shares as the operator is deregistered. But protocol still has magnitude allocated (which is no unused) for that case. So in order to show that we make a map of deregistered and show that. We change the order of execution so if don't execute rest of operations if opset is deregistered
  • There's a comment there on how to change order of iteration which will make more sense. We will do it in subsequent PR.
  • Fix a bug where we forgot to pass operator address to eigensdk.

@shrimalmadhur shrimalmadhur merged commit 34d9897 into madhur/slashing-allocations Dec 18, 2024
6 checks passed
@shrimalmadhur shrimalmadhur deleted the madhur/fix-deregistered-ops branch December 18, 2024 00:56
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