From 572328476a3726c1f6af79612e5324e5daa7f5fe Mon Sep 17 00:00:00 2001 From: ilitteri Date: Wed, 31 Jan 2024 18:14:39 -0300 Subject: [PATCH] Fix --- l1-contracts/contracts/zksync/facets/Executor.sol | 2 +- l1-contracts/hardhat.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l1-contracts/contracts/zksync/facets/Executor.sol b/l1-contracts/contracts/zksync/facets/Executor.sol index 39679edf9c05..87d1371eeb8f 100644 --- a/l1-contracts/contracts/zksync/facets/Executor.sol +++ b/l1-contracts/contracts/zksync/facets/Executor.sol @@ -125,7 +125,7 @@ contract ExecutorFacet is Base, IExecutor { // See SystemLogKey enum in Constants.sol for ordering. uint256 processedLogs; - // #if VALIDIUM_MODE == true + // #if VALIDIUM_MODE == false bytes32 providedL2ToL1PubdataHash = keccak256(_newBatch.totalL2ToL1Pubdata); // #endif diff --git a/l1-contracts/hardhat.config.ts b/l1-contracts/hardhat.config.ts index 1f2f8fb007f1..2839950a4eac 100644 --- a/l1-contracts/hardhat.config.ts +++ b/l1-contracts/hardhat.config.ts @@ -93,7 +93,7 @@ export default { return { ...systemParams, ...defs, - VALIDIUM_MODE: process.env.VALIDIUM_MODE === "true", + VALIDIUM_MODE: process.env.VALIDIUM_MODE == "true", }; })(), },