mirror of https://github.com/nucypher/nucypher.git
A fix for CI failure due to updated py-evm, taken from #2719
parent
f1503e74ac
commit
2bec0a2b60
|
@ -861,7 +861,7 @@ def test_verifying_correctness(testerchain, token_economics, escrow, deploy_cont
|
||||||
|
|
||||||
# Set gas only for one check
|
# Set gas only for one check
|
||||||
tx = worklock.functions.verifyBiddingCorrectness(gas_to_save_state)\
|
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)
|
testerchain.wait_for_receipt(tx)
|
||||||
assert worklock.functions.nextBidderToCheck().call() == 1
|
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
|
# But can verify only one of them
|
||||||
assert worklock.functions.nextBidderToCheck().call() == 0
|
assert worklock.functions.nextBidderToCheck().call() == 0
|
||||||
tx = worklock.functions.verifyBiddingCorrectness(gas_to_save_state)\
|
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)
|
testerchain.wait_for_receipt(tx)
|
||||||
assert worklock.functions.nextBidderToCheck().call() == 1
|
assert worklock.functions.nextBidderToCheck().call() == 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue