chore: Remove Optimism_SpokePool & related contracts - #1500
Conversation
Optimism_SpokePool was required as an extension of Ovm_SpokePool in order to support Optimism-specific bridges for early ERC20 tokens - notably DAI and SNX. Both of these tokens have been deprecated by Across and the SpokePool no longer holds any balances for them. Reverting to the OP_SpokePool contract is a simplification in terms of code surface area and deployment overhead.
|
@droplet-rl Verify that there are no storage layout changes by updating the Optimism SpokePool to an OP_SpokePool implementation. Be absolutely critical and justify your conclusion. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7cd339e9df
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Verified: no storage layout changes. 1. Checked-in snapshots match. The deleted 2. Fresh compilation at the merge base ( 3. Compilation at this PR's HEAD. Why this is structurally expected: neither contract declares any storage of its own. What layout equality does not cover — three caveats for the upgrade itself:
Conclusion: upgrading the Optimism SpokePool proxy to an |
Optimism_SpokePool was required as an extension of Ovm_SpokePool in order to support Optimism-specific bridges for early ERC20 tokens - notably DAI and SNX. Both of these tokens have been deprecated by Across and the SpokePool no longer holds any balances for them. Reverting to the OP_SpokePool contract is a simplification in terms of code surface area and deployment overhead.