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: delegate shares #1045

Open
wants to merge 39 commits into
base: slashing-magnitudes-fixes
Choose a base branch
from

Conversation

eigenmikem
Copy link

No description provided.

@eigenmikem eigenmikem changed the base branch from dev to slashing-magnitudes-fixes January 22, 2025 22:12
wadealexc

This comment was marked as outdated.

@0xClandestine 0xClandestine changed the title Delegate shares fix fix: delegate shares Feb 3, 2025
Comment on lines 497 to 499
if (depositSharesToWithdraw[i] == sharesAfter) {
_depositScalingFactor[staker][strategies[i]].reset();
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this right? I thought it should be sharesAfter == 0?

Copy link
Author

Choose a reason for hiding this comment

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

This is WIP sorry I'm trying to make sure the integration test breaks properly

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.

4 participants