Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit df41cc9

Browse files
committed
Add Sourcify networks for July 2022
1 parent d30ce8f commit df41cc9

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

packages/source-fetcher/lib/networks.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const networkNamesById: { [id: number]: string } = {
2525
43113: "fuji-avalanche",
2626
11111: "wagmi-avalanche",
2727
53935: "dfk-avalanche",
28+
432201: "dexalot-avalanche",
2829
335: "testnet-dfk-avalance",
2930
40: "telos",
3031
41: "testnet-telos",
@@ -64,7 +65,12 @@ export const networkNamesById: { [id: number]: string } = {
6465
534: "candle",
6566
192837465: "gather",
6667
486217935: "devnet-gather",
67-
356256156: "testnet-gather"
68+
356256156: "testnet-gather",
69+
246: "energyweb",
70+
73799: "volta-energyweb",
71+
71402: "godwoken", //not presently supported by either fetcher, but...
72+
71401: "testnet-godwoken"
73+
//I'm not including crystaleum as it has network ID different from chain ID
6874
};
6975

7076
export const networksByName: Types.SupportedNetworks = Object.fromEntries(

packages/source-fetcher/lib/sourcify.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
3636

3737
private static readonly supportedNetworks = new Set([
3838
"mainnet",
39-
"ropsten",
40-
"kovan",
39+
"ropsten", //can no longer verify but can still fetch existing
40+
"kovan", //can no longer verify but can still fetch existing
4141
"rinkeby",
4242
"goerli",
4343
"kovan",
@@ -61,6 +61,7 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
6161
"wagmi-avalanche",
6262
"dfk-avalanche",
6363
"testnet-dfk-avalanche",
64+
"dexalot-avalanche",
6465
"telos",
6566
"testnet-telos",
6667
"ubiq",
@@ -89,7 +90,12 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
8990
"candle",
9091
"gather",
9192
"devnet-gather",
92-
"testnet-gather"
93+
"testnet-gather",
94+
"energyweb",
95+
"volta-energyweb",
96+
//sourcify does *not* support godwoken mainnet...?
97+
"testnet-godwoken"
98+
//I'm excluding crystaleum as it has network ID different from chain ID
9399
]);
94100

95101
constructor(networkId: number) {

0 commit comments

Comments
 (0)