Skip to content

Commit

Permalink
Fix new_eoa now doesn't send funds
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Aug 28, 2024
1 parent b3847fa commit 3055f3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/end_to_end/Solmate/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions tests/end_to_end/test_kakarot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3055f3d

Please sign in to comment.