Use web3 url instead of hard-coded localhost
@@ -49,7 +49,7 @@ async function prepareForcedExitRequestAccount() {
const forcedExitAccount = process.env.FORCED_EXIT_REQUESTS_SENDER_ACCOUNT_ADDRESS as string;
// This is the private key of the first test account
- const ethProvider = new ethers.providers.JsonRpcProvider('http://localhost:8545');
+ const ethProvider = new ethers.providers.JsonRpcProvider(process.env.ETH_CLIENT_WEB3_URL);
const ethRichWallet = new ethers.Wallet('0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110');
const mainZkSyncContract = new ethers.Contract(
