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

Break lock reentrancy in StateKey registry #67

Merged

Conversation

mzabaluev
Copy link
Collaborator

When removing entries from the StateKey registry,
defer drop to after the lock is released. This should prevent deadlocks seen in movementlabsxyz/movement#576

When removing entries from the registry,
defer drop to after the lock is released.
@mzabaluev mzabaluev changed the title fix(types): break lock reentrancy in StateKey Break lock reentrancy in StateKey registry Sep 19, 2024
@mzabaluev mzabaluev merged commit 1d59009 into movement Sep 20, 2024
@mzabaluev mzabaluev deleted the mikhail/fix-lock-reentrancy-in-state-key-registry branch September 20, 2024 06:12
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