Skip to content

Commit

Permalink
Merge pull request #912 from BoThe1K/add-chain-2047
Browse files Browse the repository at this point in the history
add-chain-2047
  • Loading branch information
marcocastignoli authored Feb 14, 2023
2 parents 0f90896 + 66b26c9 commit 247cdc7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions services/core/src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,14 @@ const sourcifyChains: SourcifyChainsObject = {
rpc: ["https://flare-api.flare.network/ext/C/rpc"],
txRegex: getBlockscoutRegex(),
},
"2047": {
// Stratos Testnet
supported: true,
monitored: false,
contractFetchAddress: "https://web3-testnet-explorer.thestratos.org/" + BLOCKSCOUT_SUFFIX,
rpc: ["https://web3-testnet-rpc.thestratos.org"],
txRegex: getBlockscoutRegex(),
},
};

export default sourcifyChains;
18 changes: 18 additions & 0 deletions test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,24 @@ describe("Test Supported Chains", function () {
"shared/withImmutables.metadata.json"
);

// Stratos Testnet
verifyContract(
"0x9082db5F71534984DEAC8E4ed66cFe364d77dd36",
"2047",
"Stratos Testnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0xA049F14E503A489E6f72603034CBe4d6835C8393",
"2047",
"Stratos Testnet",
["uint256"],
[101],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);


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

0 comments on commit 247cdc7

Please sign in to comment.