diff --git a/scripts/setup-hyperchain-config.ts b/scripts/setup-hyperchain-config.ts index 6b5870a5da..1685895928 100644 --- a/scripts/setup-hyperchain-config.ts +++ b/scripts/setup-hyperchain-config.ts @@ -4,7 +4,7 @@ import { prompt } from "enquirer"; import * as dotenv from "dotenv"; import { parse as parseConnectionString } from "pg-connection-string"; -const buildAppConfig = (zkSyncEnvs: { [key: string]: string }) => ({ +const buildAppConfig = (zkSyncEnvs: { [key: string]: string }) => ([{ networks: { apiUrl: "http://localhost:3020", verificationApiUrl: zkSyncEnvs.API_CONTRACT_VERIFICATION_URL || "", @@ -19,7 +19,7 @@ const buildAppConfig = (zkSyncEnvs: { [key: string]: string }) => ({ published: true, rpcUrl: zkSyncEnvs.API_WEB3_JSON_RPC_HTTP_URL || "", } -}); +}]); const buildWorkerConfig = (zkSyncEnvs: { [key: string]: string }) => { const dbConfig = parseConnectionString(zkSyncEnvs.DATABASE_URL);