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

Add new sourcify networks; fix problem with beam testnet #6182

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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