Skip to content

Conversation

@RonTuretzky
Copy link
Contributor

No description provided.

Copy link
Contributor

@hudsonhrh hudsonhrh left a comment

Choose a reason for hiding this comment

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

Should call _mint(receiver, amount), val does not exist in this function

also should probably use custom error instead of require revert for consistency.

EDIT: ended up removing require completely because safeTransferFrom reverts already if fails

Copy link

@bagelface bagelface left a comment

Choose a reason for hiding this comment

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

imo we shouldn't be adding anything like this without also adding tests for it

@hudsonhrh hudsonhrh requested a review from bagelface February 4, 2025 00:32
@RonTuretzky
Copy link
Contributor Author

@bagelface we good?

Copy link

@bagelface bagelface left a comment

Choose a reason for hiding this comment

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

lgtm

@RonTuretzky RonTuretzky merged commit 974ed29 into main Feb 4, 2025
1 check failed
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.

5 participants