Skip to content

Commit

Permalink
Add zora chain mainnet 7777777 (#1064)
Browse files Browse the repository at this point in the history
* add zora chain mainnet

* re-add console.log messages
  • Loading branch information
iainnash authored Jun 20, 2023
1 parent b22dfab commit dfe1782
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down
10 changes: 10 additions & 0 deletions test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dfe1782

Please sign in to comment.