ethereum-optimism/ethereum-optimism.github.io

Incorrect baseBridgeAddress for DAI

AlexBHarley opened this issue · 3 comments

Describe the bug

This repository claims the baseBridgeAddress for DAI is 0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b.

This is neither the L1StandardBridge address specified in the Base documentation nor is it the address called via bridge.base.org when depositing DAI.

If bridges are done programmatically via 0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b I believe they will fail on the L2 side and funds will be lost.

I believe the baseBridgeAddress should be 0x3154Cf16ccdb4C6d922629664174b904d80F2C35 (per the docs) and 0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b is simply a mislabelled pgnBridgeAddress.

I've written a script to verify each side of the connection is pointing at the right things, ie

  • l1 token > l1 bridge > l2 bridge
  • l2 token > l2 bridge > l1 token

If there's interest I can clean it up and make a PR here. It just gets a little messy with things like SNX, DAI, ECO, dForce, etc

This issue has been automatically marked as stale and will be closed in 7 days if no updates

This issue was closed as stale. Please reopen if this is a mistake