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

Commit

Permalink
Merge pull request #6182 from trufflesuite/sourciserver
Browse files Browse the repository at this point in the history
Add new sourcify networks; fix problem with beam testnet
  • Loading branch information
haltman-at committed Sep 5, 2023
2 parents 705ec7e + 10c4161 commit 24fa718
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
10 changes: 8 additions & 2 deletions packages/source-fetcher/lib/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ export const networkNamesById: { [id: number]: string } = {
335: "testnet-dfk-avalance",
432204: "dexalot-avalanche",
432201: "testnet-dexalot-avalanche",
4337: "beam-avalanche",
13337: "testnet-beam-avalanche",
2037: "kiwi-avalanche",
78430: "amplify-avalanche",
78431: "bulletin-avalanche",
78432: "conduit-avalanche",
40: "telos",
41: "testnet-telos",
8: "ubiq",
Expand Down Expand Up @@ -131,8 +137,8 @@ export const networkNamesById: { [id: number]: string } = {
22776: "map",
212: "makalu-map",
2021: "edgeware",
//beam doesn't appear to have a mainnet yet?
13337: "testnet-beam"
333000333: "meld",
222000222: "kanazawa-meld"
//I'm not including crystaleum as it has network ID different from chain ID
//not including kekchain for the same reason
//not including ethereum classic for same reason
Expand Down
11 changes: 9 additions & 2 deletions packages/source-fetcher/lib/sourcify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
"testnet-dfk-avalanche",
"dexalot-avalanche",
"testnet-dexalot-avalanche",
"beam-avalanche",
"testnet-beam-avalanche",
"kiwi-avalanche",
"amplify-avalanche",
"bulletin-avalanche",
"conduit-avalanche",
"telos",
"testnet-telos",
"ubiq",
Expand Down Expand Up @@ -154,8 +160,9 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
"map",
"makalu-map",
"fantom",
"beam",
"edgeware"
"edgeware",
"meld",
"kanazawa-meld"
//I'm excluding crystaleum as it has network ID different from chain ID
//excluding kekchain for the same reason
//excluding ethereum classic for same reason
Expand Down

0 comments on commit 24fa718

Please sign in to comment.