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

Commit 746d75a

Browse files
authored
Merge pull request #6027 from trufflesuite/sourcimay
Add new chains for Sourcify for May 2023
2 parents 4c17a8e + 419884f commit 746d75a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

packages/source-fetcher/lib/networks.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export const networkNamesById: { [id: number]: string } = {
8383
50: "xinfin", //not presently supported by either fetcher, but...
8484
51: "apothem-xinfin",
8585
7700: "canto",
86+
7701: "testnet-canto",
8687
592: "astar",
8788
336: "shiden-astar",
8889
8217: "cypress-klaytn",
@@ -99,7 +100,12 @@ export const networkNamesById: { [id: number]: string } = {
99100
2047: "testnet-stratos",
100101
8453: "base", //not presently supported by either fetcher, but...
101102
84531: "goerli-base",
102-
641230: "bear"
103+
641230: "bear",
104+
888: "wanchain",
105+
999: "testnet-wanchain",
106+
7668: "root",
107+
7672: "porcini-root",
108+
295: "hedera"
103109
//I'm not including crystaleum as it has network ID different from chain ID
104110
//not including kekchain for the same reason
105111
};

packages/source-fetcher/lib/sourcify.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
108108
//sourcify does *not* support xinfin mainnet...?
109109
"apothem-xinfin",
110110
"canto",
111+
"testnet-canto",
111112
"astar",
112113
"shiden-astar",
113114
"cypress-klaytn",
@@ -124,7 +125,12 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
124125
"testnet-stratos",
125126
//sourcify does *not* support base mainnet?
126127
"goerli-base",
127-
"bear"
128+
"bear",
129+
"wanchain",
130+
"testnet-wanchain",
131+
"root",
132+
"porcini-root",
133+
"hedera"
128134
//I'm excluding crystaleum as it has network ID different from chain ID
129135
//excluding kekchain for the same reason
130136
]);

0 commit comments

Comments
 (0)