From dfe17823f73ceac4904c2c375446466fec02d987 Mon Sep 17 00:00:00 2001 From: Iain Nash Date: Tue, 20 Jun 2023 10:04:32 -0400 Subject: [PATCH] Add zora chain mainnet 7777777 (#1064) * add zora chain mainnet * re-add console.log messages --- src/sourcify-chains.ts | 7 +++++++ test/chains/chain-tests.js | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/sourcify-chains.ts b/src/sourcify-chains.ts index e19f9a997..47d6666b8 100644 --- a/src/sourcify-chains.ts +++ b/src/sourcify-chains.ts @@ -832,6 +832,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = { supported: true, monitored: false, }, + "7777777": { + // ZORA + supported: true, + monitored: false, + contractFetchAddress: "https://explorer.zora.co/" + BLOCKSCOUT_SUFFIX, + txRegex: getBlockscoutRegex(), + }, }; const sourcifyChainsMap: SourcifyChainMap = {}; diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index 39157aa00..9e80e8765 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -872,6 +872,16 @@ describe("Test Supported Chains", function () { ["shared/1_Storage.sol"], "shared/1_Storage.metadata.json" ); + + // ZORA Mainnet + verifyContract( + "0x090734f94FA67590702421A9B61892509b7CE80A", + "7777777", + "ZORA MAinnet", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" + ); + // Finally check if all the "supported: true" chains have been tested it("should have tested all supported chains", function (done) { if (newAddedChainId) {