This commit is contained in:
Eric Mastro 2023-04-13 15:21:30 +10:00 committed by benbierens
parent 377b926af2
commit 1f02bb501e
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
3 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,7 @@ type
method getSigner*(market: Market): Future[Address] {.base, async.} =
raiseAssert("not implemented")
method isMainnet*(market: Market): Future[bool] {.async.} =
method isMainnet*(market: Market): Future[bool] {.base, async.} =
raiseAssert("not implemented")
method periodicity*(market: Market): Future[Periodicity] {.base, async.} =

View File

@ -1,7 +1,6 @@
import std/sequtils
import pkg/asynctest
import pkg/chronos
import pkg/chronicles # DELETE ME
import pkg/codex/proving
import ./helpers/mockmarket
import ./helpers/mockclock

View File

@ -100,11 +100,14 @@ twonodessuite "Proving integration test", debug1=false, debug2=false:
# TODO: waiting on validation work to be completed before these tests are possible
# 1. instantiate node manually (startNode) with --simulate-failed-proofs=3
# 2. check that the number of expected proofs are missed
check 1 == 1
test "does not simulate invalid proof when --simulate-failed-proofs is 0":
# 1. instantiate node manually (startNode) with --simulate-failed-proofs=0
# 2. check that the number of expected missed proofs is 0
check 1 == 1
test "does not simulate invalid proof when chainId is 1":
# 1. instantiate node manually (startNode) with --simulate-failed-proofs=3
# 2. check that the number of expected missed proofs is 0
check 1 == 1