Skip to content

Commit

Permalink
Add chain 84531
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed Feb 23, 2023
1 parent a3e01df commit 5a6bcbf
Show file tree
Hide file tree
Showing 2 changed files with 25 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 @@ -683,6 +683,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
rpc: ["https://brnkc-mainnet.bearnetwork.net"],
txRegex: getBlockscoutRegex(),
},
"84531": {
// Base Goerli Testnet
supported: true,
monitored: true,
contractFetchAddress: "https://goerli.basescan.org/" + ETHERSCAN_SUFFIX,
txRegex: ETHERSCAN_REGEX,
},
};

const sourcifyChainsMap: SourcifyChainMap = {};
Expand Down
18 changes: 18 additions & 0 deletions test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,24 @@ describe("Test Supported Chains", function () {
"shared/withImmutables.metadata.json"
);

// Base Goerli Testnet
verifyContract(
"0x8F78b9c92a68DdF719849a40702cFBfa4EB60dD0",
"84531",
"Base Goerli Testnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0xd46fd24ea21F04459407Fb0B518451e54d0b07a1",
"84531",
"Base Goerli Testnet",
["uint256"],
[12345],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);

//////////////////////
// Helper functions //
//////////////////////
Expand Down

0 comments on commit 5a6bcbf

Please sign in to comment.