Skip to content

Commit

Permalink
add canto testnet (7701) (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
tster authored May 2, 2023
1 parent 544e1c6 commit baf549e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
contractFetchAddress: "https://tuber.build/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"7701": {
// Canto Testnet
supported: true,
monitored: false,
contractFetchAddress: "https://testnet.tuber.build/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"99": {
// POA Network Core
supported: true,
Expand Down
18 changes: 17 additions & 1 deletion test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,23 @@ describe("Test Supported Chains", function () {
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);

// Canto Testnet
verifyContract(
"0x37e12c98b4663DcE9ab1460073D9Fe82A7bFD0d8",
"7701",
"Canto Testnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0x652785B4512F7e664448708852e59eF256D3f478",
"7701",
"Canto Testnet",
["uint256"],
[7700],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);
// POA Network Core
verifyContract(
"0x3b2e3383AeE77A58f252aFB3635bCBd842BaeCB3",
Expand Down

0 comments on commit baf549e

Please sign in to comment.