feat: nft bridge from l1 to optimism#2662
feat: nft bridge from l1 to optimism#2662tynes merged 14 commits intoethereum-optimism:developfrom sam-goldman:feat/nft-bridge
Conversation
🦋 Changeset detectedLatest commit: f6a932d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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. |
packages/contracts-periphery/contracts/L2/messaging/L2StandardERC721Factory.sol
Show resolved
Hide resolved
packages/contracts-periphery/contracts/L2/messaging/L2StandardERC721Factory.sol
Show resolved
Hide resolved
|
It looks like something is wrong with the build, a rebase on |
packages/contracts-periphery/test/contracts/L1/messaging/L1ERC721Bridge.spec.ts
Outdated
Show resolved
Hide resolved
packages/contracts-periphery/test/contracts/L1/messaging/L1ERC721Bridge.spec.ts
Show resolved
Hide resolved
packages/contracts-periphery/test/contracts/L1/messaging/L1ERC721Bridge.spec.ts
Outdated
Show resolved
Hide resolved
packages/contracts-periphery/test/contracts/L1/messaging/L1ERC721Bridge.spec.ts
Show resolved
Hide resolved
packages/contracts-periphery/test/contracts/standards/L2StandardERC721.spec.ts
Show resolved
Hide resolved
packages/contracts-periphery/test/contracts/L2/messaging/L2ERC721Bridge.spec.ts
Outdated
Show resolved
Hide resolved
|
I think generally adding coverage for events that are emitted would be great :) |
|
Hmm not sure why the contracts tests decided to fail here, will investigate |
|
Q: Are there any deployment script written for this yet (or other periphery contracts for that matter)? Also, it looks like the upgrade proxy is still needed here? |
|
Hey @sam-goldman! This PR has merge conflicts. Please fix them before continuing review. |
packages/contracts-periphery/test/contracts/L2/messaging/L2StandardERC721Factory.spec.ts
Outdated
Show resolved
Hide resolved
|
I opened #2727 to fix the broken contracts tests |
packages/contracts-periphery/contracts/L2/messaging/L2StandardERC721Factory.sol
Show resolved
Hide resolved
packages/contracts-periphery/contracts/L1/messaging/L1ERC721Bridge.sol
Outdated
Show resolved
Hide resolved
packages/contracts-periphery/contracts/L2/messaging/L2ERC721Bridge.sol
Outdated
Show resolved
Hide resolved
packages/contracts-periphery/contracts/L2/messaging/L2ERC721Bridge.sol
Outdated
Show resolved
Hide resolved
packages/contracts-periphery/contracts/L1/messaging/L1ERC721Bridge.sol
Outdated
Show resolved
Hide resolved
|
If you rebase on top of latest |
|
Added the deploy scripts! |
maurelian
left a comment
There was a problem hiding this comment.
Looking solid.
One comment.
Closes #2662 The `ReorgTask` already contains the logic for verifying the consistency. I'm reusing it at startup by calling the `handle_l1_reorg` when initializing the l1 watcher.
Description
An ERC721 bridge between Mainnet and Optimism. The issue describing the bridge can be found here.