From 4f038a8f79bea5c7d447bfe795a1988c9452ffd9 Mon Sep 17 00:00:00 2001 From: romsters Date: Thu, 12 Dec 2024 22:34:49 +0200 Subject: [PATCH] fix: typo --- e2e-tests/test/zks-apis.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/test/zks-apis.test.ts b/e2e-tests/test/zks-apis.test.ts index 8cc05ba4..ebaf6a19 100644 --- a/e2e-tests/test/zks-apis.test.ts +++ b/e2e-tests/test/zks-apis.test.ts @@ -171,7 +171,7 @@ describe("zks_getAllAccountBalances", function () { const account = RichAccounts[0].Account; const expectedBalance = ethers.parseEther("1000000000000"); // 1_000_000_000_000 ETH const ethAddress = "0x000000000000000000000000000000000000800a"; - await provider.send("hardhat_setBalance", [account, expectedBalance._hex]); + await provider.send("hardhat_setBalance", [account, ethers.toBeHex(expectedBalance)]); // Act const balances = await provider.send("zks_getAllAccountBalances", [account]);