feat(ctp): fix erc721 bridge related contracts#3376
feat(ctp): fix erc721 bridge related contracts#3376sam-goldman wants to merge 17 commits intoethereum-optimism:developfrom
Conversation
🦋 Changeset detectedLatest commit: 6f94bf2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hey @sam-goldman! This PR has merge conflicts. Please fix them before continuing review. |
| function safeMint(address _to, uint256 _tokenId) external virtual onlyBridge { | ||
| _safeMint(_to, _tokenId); |
There was a problem hiding this comment.
Not necessarily opposed, but I don't see anything about safeMint in the report?
There was a problem hiding this comment.
I thought it was in scope for L-08, where they mention the ERC721 bridges not using safeTransferFrom
|
My concern with I agree that refactoring to reduce the amount of duplicated code is worthwhile down the line, but I don't think we should do it now. |
|
|
|
The |
Ohh... I see. Why not just make it possible for L2 native NFTs to be bridged to L1 in that case? That would also put it more in line with the |
|
@maurelian and I thought it'd be best to keep the scope limited to L1 native NFTs at this point (slack conversation). We can definitely add support for L2 native NFTs later. |
|
@sam-goldman we've (very) recently had a discussion in which we agreed to move towards smaller PRs which are easier to review. I realize that it was precisely my request to combine these into one larger PR, but I think it would help to get this through if you could break this up into a few smaller ones with changes that are logically grouped together. |
Done. Closed in favor of the smaller PRs in this repo. |
Contains all of the fixes for the ERC721 bridge from the OpenZeppelin audit. Bumps the semver version to 1.0.0.