adds <<return>> after forcing integration test to fail preliminarily

This commit is contained in:
Marcin Czenko 2024-10-22 04:26:55 +02:00
parent 77bbae8388
commit c5c2cdc7d1
No known key found for this signature in database
GPG Key ID: 33DEA0C8E30937C0
1 changed files with 4 additions and 0 deletions

View File

@ -179,12 +179,14 @@ marketplacesuite "Validation":
# if purchase state is not "started", it does not make sense to continue
without purchaseState =? client0.getPurchase(purchaseId).?state:
fail()
return
debug "validation suite", purchaseState = purchaseState
echo fmt"{purchaseState = }"
if purchaseState != "started":
fail()
return
discard await ethProvider.send("evm_mine")
currentTime = await ethProvider.currentTime()
@ -264,12 +266,14 @@ marketplacesuite "Validation":
# if purchase state is not "started", it does not make sense to continue
without purchaseState =? client0.getPurchase(purchaseId).?state:
fail()
return
debug "validation suite", purchaseState = purchaseState
echo fmt"{purchaseState = }"
if purchaseState != "started":
fail()
return
# extra block just to make sure we have one that separates us
# from the block containing the last (past) SlotFilled event