A fix for CI failure due to updated py-evm, taken from #2719

pull/2612/head
Bogdan Opanchuk 2021-06-03 15:36:29 -07:00
parent f1503e74ac
commit 2bec0a2b60
1 changed files with 2 additions and 2 deletions

View File

@ -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