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: reentrant guards #1107

Merged
merged 4 commits into from
Feb 14, 2025
Merged

Conversation

8sunyuan
Copy link
Collaborator

Motivation:

Concerns about reentrancy in the DelegationManager and interactions of completed withdrawals which can call untrusted ERC20 transfers

Modifications:

Added reentrant guards across external functions

Result:

Preventing cross-function reentrancy in the DelegationManager

@8sunyuan 8sunyuan changed the title Fix/reentrant guards fix: reentrant guards Feb 14, 2025
Copy link
Member

@0xClandestine 0xClandestine left a comment

Choose a reason for hiding this comment

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

LGTM!

@wadealexc wadealexc force-pushed the fix/reentrant-guards branch from 7a9e3ec to 00c4dc5 Compare February 14, 2025 19:50
@wadealexc wadealexc merged commit 81fef63 into slashing-magnitudes-fixes Feb 14, 2025
11 checks passed
@wadealexc wadealexc deleted the fix/reentrant-guards branch February 14, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants