Skip to content

Commit

Permalink
fix(Zora): Correct deployment (#580)
Browse files Browse the repository at this point in the history
The Zora SpokePool was affected by the same issue as the Redstone
deployment. Additionally, correct the mainnet contract addresses for
the Zora Adapter deployment. Zora listed both implementation and proxy
addresses on their contracts page. These new addresses have been
manually tested for message delivery, ETH and USDC token bridging.

I additionally took the opportunity here to fix the Blockscout
verification. Blockscout were automagically doing a partial verification
based on similarly to the Redstone SpokePool, and were thus tagging this
deployment as a Redstone_SpokePool instance. This was quite confusing
and misleading. It's possible to force verification via hardhat-verify
from version 2.0.7. Unfortunately this repo is stuck down at 1.x, so the
workaround was just to skip over the "is already verified" check that
hardhat-verify performs prior to attempting verification.
  • Loading branch information
pxrl authored Aug 12, 2024
1 parent d2dabb7 commit 2b2e624
Show file tree
Hide file tree
Showing 7 changed files with 866 additions and 7 deletions.
4 changes: 2 additions & 2 deletions deploy/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export const L1_ADDRESS_MAP: { [key: number]: { [contractName: string]: string }
blastDaiRetriever: "0x98Dd57048d7d5337e92D9102743528ea4Fea64aB",
redstoneCrossDomainMessenger: "0x592C1299e0F8331D81A28C0FC7352Da24eDB444a",
redstoneStandardBridge: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69",
zoraCrossDomainMessenger: "0x363B4B1ADa52E50353f746999bd9E94395190d2C",
zoraStandardBridge: "0xbF6acaF315477b15D638bf4d91eA48FA79b58335",
zoraCrossDomainMessenger: "0xdC40a14d9abd6F410226f1E6de71aE03441ca506",
zoraStandardBridge: "0x3e2Ea9B92B7E48A52296fD261dc26fd995284631",
},
4: {
weth: "0xc778417E063141139Fce010982780140Aa0cD5Ab",
Expand Down
9 changes: 8 additions & 1 deletion deployments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

| Contract Name | Address |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| Redstone_SpokePool | [0x28077B47Cd03326De7838926A63699849DD4fa87](https://explorer.redstone.xyz/address/0x28077B47Cd03326De7838926A63699849DD4fa87) |
| Redstone_SpokePool | [0x13fDac9F9b4777705db45291bbFF3c972c6d1d97](https://explorer.redstone.xyz/address/0x13fDac9F9b4777705db45291bbFF3c972c6d1d97) |
| MulticallHandler | [0x924a9f036260DdD5808007E1AA95f08eD08aA569](https://explorer.redstone.xyz/address/0x924a9f036260DdD5808007E1AA95f08eD08aA569) |

## Scroll mainnet (534352)
Expand All @@ -101,3 +101,10 @@
| ---------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Scroll_SpokePool | [0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96](https://scrollscan.com/address/0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96) |
| MulticallHandler | [0x924a9f036260DdD5808007E1AA95f08eD08aA569](https://scrollscan.com/address/0x924a9f036260DdD5808007E1AA95f08eD08aA569) |

## Zora mainnet (7777777)

| Contract Name | Address |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Zora_SpokePool | [0x13fDac9F9b4777705db45291bbFF3c972c6d1d97](https://zorascan.xyz/address/0x13fDac9F9b4777705db45291bbFF3c972c6d1d97) |
| MulticallHandler | [0x924a9f036260DdD5808007E1AA95f08eD08aA569](https://explorer.redstone.xyz/address/0x924a9f036260DdD5808007E1AA95f08eD08aA569) |
3 changes: 2 additions & 1 deletion deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Blast_DaiRetriever": { "address": "0x98Dd57048d7d5337e92D9102743528ea4Fea64aB", "blockNumber": 20378862 },
"Blast_RescueAdapter": { "address": "0xE5Dea263511F5caC27b15cBd58Ff103F4Ce90957", "blockNumber": 20378872 },
"Redstone_Adapter": { "address": "0x188F8C95B7cfB7993B53a4F643efa687916f73fA", "blockNumber": 20432774 },
"Zora_Adapter": { "address": "0xa27fb9f2A22F8dA4cBF155e9795A43488004AAc3", "blockNumber": 20468487 }
"Zora_Adapter": { "address": "0x024f2fc31cbdd8de17194b1892c834f98ef5169b", "blockNumber": 20512287 }
},
"10": {
"SpokePool": { "address": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", "blockNumber": 93903076 },
Expand Down Expand Up @@ -132,6 +132,7 @@
"MulticallHandler": { "address": "0x924a9f036260DdD5808007E1AA95f08eD08aA569", "blockNumber": 7489978 }
},
"7777777": {
"SpokePool": { "address": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", "blockNumber": 18382867 },
"SpokePoolVerifier": { "address": "0xB4A8d45647445EA9FC3E1058096142390683dBC2", "blockNumber": 18120222 },
"MulticallHandler": { "address": "0x924a9f036260DdD5808007E1AA95f08eD08aA569", "blockNumber": 18119854 }
},
Expand Down
295 changes: 295 additions & 0 deletions deployments/mainnet/Zora_Adapter.json

Large diffs are not rendered by default.

Loading

0 comments on commit 2b2e624

Please sign in to comment.