From 2bec0a2b607a46701d84d4f22f17215d7c18dc82 Mon Sep 17 00:00:00 2001 From: Bogdan Opanchuk Date: Thu, 3 Jun 2021 15:36:29 -0700 Subject: [PATCH] A fix for CI failure due to updated py-evm, taken from #2719 --- tests/contracts/main/worklock/test_worklock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/contracts/main/worklock/test_worklock.py b/tests/contracts/main/worklock/test_worklock.py index 57a0abdb1..3d6a8b824 100644 --- a/tests/contracts/main/worklock/test_worklock.py +++ b/tests/contracts/main/worklock/test_worklock.py @@ -861,7 +861,7 @@ def test_verifying_correctness(testerchain, token_economics, escrow, deploy_cont # Set gas only for one check tx = worklock.functions.verifyBiddingCorrectness(gas_to_save_state)\ - .transact({'gas': gas_to_save_state + 30000, 'gas_price': 0}) + .transact({'gas': gas_to_save_state + 35000, 'gas_price': 0}) testerchain.wait_for_receipt(tx) assert worklock.functions.nextBidderToCheck().call() == 1 @@ -1051,7 +1051,7 @@ def test_force_refund(testerchain, token_economics, deploy_contract, worklock_fa # But can verify only one of them assert worklock.functions.nextBidderToCheck().call() == 0 tx = worklock.functions.verifyBiddingCorrectness(gas_to_save_state)\ - .transact({'gas': gas_to_save_state + 30000, 'gas_price': 0}) + .transact({'gas': gas_to_save_state + 35000, 'gas_price': 0}) testerchain.wait_for_receipt(tx) assert worklock.functions.nextBidderToCheck().call() == 1