Skip to content

Commit

Permalink
feat: add mekong network option (#7212)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Nov 1, 2024
1 parent 99c0dcb commit 794e5ef
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/cli/src/networks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ import * as sepolia from "./sepolia.js";
import * as holesky from "./holesky.js";
import * as chiado from "./chiado.js";
import * as ephemery from "./ephemery.js";
import * as mekong from "./mekong.js";

export type NetworkName = "mainnet" | "dev" | "gnosis" | "sepolia" | "holesky" | "chiado" | "ephemery";
export type NetworkName = "mainnet" | "dev" | "gnosis" | "sepolia" | "holesky" | "chiado" | "ephemery" | "mekong";
export const networkNames: NetworkName[] = [
"mainnet",
"gnosis",
"sepolia",
"holesky",
"chiado",
"ephemery",
"mekong",

// Leave always as last network. The order matters for the --help printout
"dev",
Expand Down Expand Up @@ -70,6 +72,8 @@ export function getNetworkData(network: NetworkName): {
return chiado;
case "ephemery":
return ephemery;
case "mekong":
return mekong;
default:
throw Error(`Network not supported: ${network}`);
}
Expand Down
Loading

0 comments on commit 794e5ef

Please sign in to comment.