From 69973b28d78da71cdef2657412ac5e5b9e12d387 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 12 Feb 2024 14:41:00 -0600 Subject: [PATCH] misc --- tests/contracts/deployment.nim | 1 - tests/contracts/testDeployment.nim | 13 +++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) 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()