From 86613df1dd37b1aacff3d2712aeec5484d7f6ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Walter?= Date: Mon, 26 Aug 2024 15:22:42 +0200 Subject: [PATCH] Fix new_eoa now doesn't send funds --- tests/end_to_end/Solmate/conftest.py | 4 ++-- tests/end_to_end/test_kakarot.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/end_to_end/Solmate/conftest.py b/tests/end_to_end/Solmate/conftest.py index 0e27a2a278..10d70306a7 100644 --- a/tests/end_to_end/Solmate/conftest.py +++ b/tests/end_to_end/Solmate/conftest.py @@ -3,9 +3,9 @@ @pytest_asyncio.fixture(scope="module") async def from_wallet(new_eoa): - return await new_eoa() + return await new_eoa(0.1) @pytest_asyncio.fixture(scope="module") async def to_wallet(new_eoa): - return await new_eoa() + return await new_eoa(0.1) diff --git a/tests/end_to_end/test_kakarot.py b/tests/end_to_end/test_kakarot.py index c6c099e302..d592d69ba8 100644 --- a/tests/end_to_end/test_kakarot.py +++ b/tests/end_to_end/test_kakarot.py @@ -394,11 +394,11 @@ async def test_should_raise_when_tx_view_entrypoint(self, kakarot, entrypoint): class TestEthRPCEntrypoints: async def test_should_return_native_balance_of(self, new_eoa): - eoa = await new_eoa() + eoa = await new_eoa(0x1234 / 1e18) balance = ( await call("kakarot", "eth_get_balance", int(eoa.address, 16)) ).balance - assert balance == 50000000000000000000 + assert balance == 0x1234 async def test_should_return_transaction_count(self, new_eoa): eoa = await new_eoa()