Skip to content

Commit

Permalink
fix: backendURL
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdt committed Aug 13, 2024
1 parent e4ce32f commit 19a9a0f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contracts/script/deploy-local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,17 @@ async function main() {

console.log("Funding L2 done...");

const BACKEND_URL = process.env.BACKEND_URL ?? 'http://locahost:1234'
if (!process.env.BACKEND_URL) {
console.warn('[deploy-local.ts] No BACKEND_URL defined. Might be expected for default deployments and CI. Using localhost.')
}
const baseDeployVars = {
...process.env,
PRIVATE_KEY: deployKey,
BUNDLER_ADDR: bundlerAddr,
HC_SYS_OWNER: ha1Owner,
DEPLOY_ADDR: deployAddr,
BACKEND_URL: process.env.BACKEND_URL,
BACKEND_URL,
};

await execPromise(
Expand Down

0 comments on commit 19a9a0f

Please sign in to comment.