diff --git a/codex/market.nim b/codex/market.nim index 59be0de6..248d15a7 100644 --- a/codex/market.nim +++ b/codex/market.nim @@ -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.} = diff --git a/tests/codex/testproving.nim b/tests/codex/testproving.nim index 46908892..acce15b9 100644 --- a/tests/codex/testproving.nim +++ b/tests/codex/testproving.nim @@ -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 diff --git a/tests/integration/testproofs.nim b/tests/integration/testproofs.nim index 5ef4ae48..748440ed 100644 --- a/tests/integration/testproofs.nim +++ b/tests/integration/testproofs.nim @@ -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