Skip to content

Commit

Permalink
Merge pull request #913 from matevz/add-chain-23295
Browse files Browse the repository at this point in the history
Add Oasis Sapphire Testnet chain again
  • Loading branch information
marcocastignoli authored Feb 13, 2023
2 parents c92259c + 4af0f46 commit 6b51815
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/core/src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,13 @@ const sourcifyChains: SourcifyChainsObject = {
contractFetchAddress: "https://testnet.explorer.emerald.oasis.dev/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"23295": {
// Oasis Sapphire Testnet
supported: true,
monitored: false,
contractFetchAddress: "https://testnet.explorer.sapphire.oasis.dev/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
"19": {
// Songbird Canary Network
supported: true,
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 @@ -1266,6 +1266,24 @@ describe("Test Supported Chains", function () {
"shared/withImmutables.metadata.json"
);

// Oasis Sapphire Testnet
verifyContract(
"0xFBcb580DD6D64fbF7caF57FB0439502412324179",
"23295",
"Oasis Sapphire Testnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0x5a1C04012bc233c898aebb8BB4353F80D96f3dD2",
"23295",
"Oasis Sapphire Testnet",
["uint256"],
[123],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);


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

0 comments on commit 6b51815

Please sign in to comment.