From d587fc756b3e1709e61b1d364b4c83b9b9c32053 Mon Sep 17 00:00:00 2001 From: Nikita P Date: Tue, 12 Nov 2024 18:39:24 +0000 Subject: [PATCH] fix: not enough eth to make transaction --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 922e2263..111798ad 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -29,7 +29,7 @@ def shared_setup(fn_isolation): @pytest.fixture(scope="session", autouse=True) def network_gas_price(): - network.gas_price("2 gwei") + network.gas_price("99999999 gwei") @pytest.fixture(scope="function") def deployer(): @@ -260,7 +260,7 @@ def add_balance_check_middleware(): # TODO: Such implicit manipulation of the balances may lead to hard-debugging errors in the future. # Better to return back balance after request is done. def ensure_balance(address): - if web3.eth.get_balance(address) < ETH(1): + if web3.eth.get_balance(address) < ETH(1000000): set_balance(address, 1000000) def balance_check_middleware(make_request, web3):