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

Apply nonReentrant Modifier to Critical Functions in GroupingModule #342

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

kingster-will
Copy link

Description

This PR updates the GroupingModule contract to apply the nonReentrant modifier to the collectRoyalties(), claimReward(), addIp(), and removeIp() functions. This change is made to prevent reentrancy attacks and ensure the security of these critical functions.

Closes https://github.com/storyprotocol/trust-protocol-contracts-v1/issues/41

Copy link
Member

@sebsadface sebsadface left a comment

Choose a reason for hiding this comment

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

LGTM ;0

@kingster-will kingster-will merged commit 15e75fb into storyprotocol:main Dec 11, 2024
2 checks passed
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