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: address audit findings 4, 8, 10 #1132

Merged
merged 4 commits into from
Jan 7, 2025
Merged

Conversation

smol-ninja
Copy link
Member

This PR addresses the following audit findings:

Note

Regarding 10th finding about MetadataUpdate event, I have removed it from renounce but kept it in _update since transfering stream changes recipient and recipient is a part of stream's metadata.

@PaulRBerg
Copy link
Member

transfering stream changes recipient and recipient is a part of stream's metadata

The recipient per se is not included in the NFT metadata, but it would be helpful to update the metadata when the NFT changes hands so that the new recipient can see the most up-to-date information on marketplaces like OpenSea.

Copy link
Member

@PaulRBerg PaulRBerg left a comment

Choose a reason for hiding this comment

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

feedback below

.gitignore Show resolved Hide resolved
src/SablierLockup.sol Show resolved Hide resolved
src/SablierLockup.sol Show resolved Hide resolved
src/interfaces/ISablierLockupBase.sol Outdated Show resolved Hide resolved
@smol-ninja
Copy link
Member Author

Incorporated all your suggestions @PaulRBerg.

Copy link
Member

@andreivladbrg andreivladbrg left a comment

Choose a reason for hiding this comment

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

LGTM👍

Copy link
Member

@PaulRBerg PaulRBerg left a comment

Choose a reason for hiding this comment

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

LFG

@andreivladbrg andreivladbrg merged commit 47c52ec into staging Jan 7, 2025
8 checks passed
@andreivladbrg andreivladbrg deleted the shub/audit-fixes branch January 7, 2025 22:37
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.

3 participants