From 15ea13593198d5bb2f729c456b6d9ca9941732e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Fri, 10 Feb 2023 15:54:41 +0100 Subject: [PATCH 1/2] chain-tests: Add Oasis Sapphire Testnet --- test/chains/chain-tests.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index 8c6667c09..1e9772069 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -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 // From 4af0f46205f74fa509d20361a7dabf0f58a1094a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Fri, 10 Feb 2023 15:56:32 +0100 Subject: [PATCH 2/2] sourcify-chains: Add Oasis Sapphire Testnet --- services/core/src/sourcify-chains.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/core/src/sourcify-chains.ts b/services/core/src/sourcify-chains.ts index 1e66cef0a..0f2c7ff38 100644 --- a/services/core/src/sourcify-chains.ts +++ b/services/core/src/sourcify-chains.ts @@ -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,