diff --git a/core/tests/ts-integration/src/helpers.ts b/core/tests/ts-integration/src/helpers.ts index d52952ef528..017ffd71b9a 100644 --- a/core/tests/ts-integration/src/helpers.ts +++ b/core/tests/ts-integration/src/helpers.ts @@ -112,6 +112,7 @@ export async function scaledGasPrice(wallet: ethers.Wallet | zksync.Wallet): Pro * @returns Boolean that indicates whether it is Validium mode. */ export async function isValidium(): Promise { + const filePath = `${process.env.ZKSYNC_HOME}/etc/env/dev.env`; try { @@ -126,4 +127,5 @@ export async function isValidium(): Promise { console.error(`Error reading or parsing the config file ${filePath}:`, error); return false; // Return a default value or handle the error as needed } -} +x} +