Skip to content

Commit

Permalink
Set validium mode to false when validiumMode is false
Browse files Browse the repository at this point in the history
  • Loading branch information
ilitteri committed Jan 3, 2024
1 parent 3de9457 commit 432c156
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion infrastructure/zk/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ export async function init(initArgs: InitArgs = DEFAULT_ARGS) {
}
await announced('Deploying L1 verifier', contract.deployVerifier([]));
if (validiumMode) {
await announced('Setting up validium mode');
await announced('Setting up validium mode to true');
process.env.ETH_SENDER_SENDER_VALIDIUM_MODE = 'true';
} else {
await announced('Setting up validium mode to false');
process.env.ETH_SENDER_SENDER_VALIDIUM_MODE = 'false';
}
await announced('Reloading env', env.reload());
await announced('Running server genesis setup', server.genesisFromSources());
Expand Down

0 comments on commit 432c156

Please sign in to comment.