diff --git a/yarn-project/aztec-node/src/aztec-node/config.ts b/yarn-project/aztec-node/src/aztec-node/config.ts index d4c71c30421..dba7d824025 100644 --- a/yarn-project/aztec-node/src/aztec-node/config.ts +++ b/yarn-project/aztec-node/src/aztec-node/config.ts @@ -26,7 +26,7 @@ export type AztecNodeConfig = ArchiverConfig & * @returns A valid aztec node config. */ export function getConfigEnvVars(): AztecNodeConfig { - const { SEQ_DISABLED, PROVER_DISABLED, ARCHIVER_URL } = process.env; + const { SEQ_DISABLED, PROVER_DISABLED = '', ARCHIVER_URL } = process.env; const allEnvVars: AztecNodeConfig = { ...getSequencerVars(), @@ -36,7 +36,7 @@ export function getConfigEnvVars(): AztecNodeConfig { ...getProverEnvVars(), disableSequencer: !!SEQ_DISABLED, archiverUrl: ARCHIVER_URL, - disableProver: PROVER_DISABLED === '1', + disableProver: ['1', 'true'].includes(PROVER_DISABLED), }; return allEnvVars; diff --git a/yarn-project/prover-client/src/config.ts b/yarn-project/prover-client/src/config.ts index 6d840cac681..0b8f7cce6ea 100644 --- a/yarn-project/prover-client/src/config.ts +++ b/yarn-project/prover-client/src/config.ts @@ -42,6 +42,6 @@ export function getProverEnvVars(): ProverConfig { bbBinaryPath: BB_BINARY_PATH, bbWorkingDirectory: BB_WORKING_DIRECTORY, proverAgents, - realProofs: PROVER_REAL_PROOFS === '1', + realProofs: ['1', 'true'].includes(PROVER_REAL_PROOFS), }; }