diff --git a/tests/contracts/deployment.nim b/tests/contracts/deployment.nim index 272ed07d..f62bb1be 100644 --- a/tests/contracts/deployment.nim +++ b/tests/contracts/deployment.nim @@ -20,4 +20,3 @@ proc address*(_: type Marketplace, dummyVerifier = false): Address = hardhatMarketWithDummyVerifier else: hardhatMarketAddress - diff --git a/tests/contracts/testDeployment.nim b/tests/contracts/testDeployment.nim index bacd50b8..4101b71a 100644 --- a/tests/contracts/testDeployment.nim +++ b/tests/contracts/testDeployment.nim @@ -13,10 +13,19 @@ method getChainId*(provider: MockProvider): Future[UInt256] {.async.} = return provider.chainId proc configFactory(): CodexConf = - CodexConf(cmd: noCommand, nat: ValidIpAddress.init("127.0.0.1"), discoveryIp: ValidIpAddress.init(IPv4_any()), metricsAddress: ValidIpAddress.init("127.0.0.1")) + CodexConf( + cmd: StartUpCmd.persistence, + nat: ValidIpAddress.init("127.0.0.1"), + discoveryIp: ValidIpAddress.init(IPv4_any()), + metricsAddress: ValidIpAddress.init("127.0.0.1")) proc configFactory(marketplace: Option[EthAddress]): CodexConf = - CodexConf(cmd: noCommand, nat: ValidIpAddress.init("127.0.0.1"), discoveryIp: ValidIpAddress.init(IPv4_any()), metricsAddress: ValidIpAddress.init("127.0.0.1"), marketplaceAddress: marketplace) + CodexConf( + cmd: StartUpCmd.persistence, + nat: ValidIpAddress.init("127.0.0.1"), + discoveryIp: ValidIpAddress.init(IPv4_any()), + metricsAddress: ValidIpAddress.init("127.0.0.1"), + marketplaceAddress: marketplace) asyncchecksuite "Deployment": let provider = MockProvider()