diff --git a/DistTestCore/CodexSetup.cs b/DistTestCore/CodexSetup.cs index 8c1a73c..0ffb713 100644 --- a/DistTestCore/CodexSetup.cs +++ b/DistTestCore/CodexSetup.cs @@ -10,6 +10,7 @@ namespace DistTestCore ICodexSetup At(Location location); ICodexSetup WithBootstrapNode(IOnlineCodexNode node); ICodexSetup WithStorageQuota(ByteSize storageQuota); + ICodexSetup WithBlockTTL(TimeSpan duration); ICodexSetup EnableMetrics(); ICodexSetup EnableMarketplace(TestToken initialBalance); ICodexSetup EnableMarketplace(TestToken initialBalance, Ether initialEther); @@ -50,6 +51,12 @@ namespace DistTestCore return this; } + public ICodexSetup WithBlockTTL(TimeSpan duration) + { + BlockTTL = Convert.ToInt32(duration.TotalSeconds); + return this; + } + public ICodexSetup EnableMetrics() { MetricsEnabled = true; diff --git a/DistTestCore/Marketplace/CodexContractsContainerRecipe.cs b/DistTestCore/Marketplace/CodexContractsContainerRecipe.cs index 92a6c81..e382703 100644 --- a/DistTestCore/Marketplace/CodexContractsContainerRecipe.cs +++ b/DistTestCore/Marketplace/CodexContractsContainerRecipe.cs @@ -8,7 +8,7 @@ namespace DistTestCore.Marketplace public const string MarketplaceArtifactFilename = "/hardhat/artifacts/contracts/Marketplace.sol/Marketplace.json"; public override string AppName => "codex-contracts"; - public override string Image => "codexstorage/dist-tests-codex-contracts-eth:sha-9a83699"; + public override string Image => "codexstorage/dist-tests-codex-contracts-eth:sha-d6fbfdc"; protected override void Initialize(StartupConfig startupConfig) {