mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-10 19:16:46 +00:00
Merge branch 'master' into feature/labeling-pods
# Conflicts: # DistTestCore/Marketplace/CodexContractsContainerRecipe.cs
This commit is contained in:
commit
9a63a82a49
@ -10,6 +10,7 @@ namespace DistTestCore
|
|||||||
ICodexSetup At(Location location);
|
ICodexSetup At(Location location);
|
||||||
ICodexSetup WithBootstrapNode(IOnlineCodexNode node);
|
ICodexSetup WithBootstrapNode(IOnlineCodexNode node);
|
||||||
ICodexSetup WithStorageQuota(ByteSize storageQuota);
|
ICodexSetup WithStorageQuota(ByteSize storageQuota);
|
||||||
|
ICodexSetup WithBlockTTL(TimeSpan duration);
|
||||||
ICodexSetup EnableMetrics();
|
ICodexSetup EnableMetrics();
|
||||||
ICodexSetup EnableMarketplace(TestToken initialBalance);
|
ICodexSetup EnableMarketplace(TestToken initialBalance);
|
||||||
ICodexSetup EnableMarketplace(TestToken initialBalance, Ether initialEther);
|
ICodexSetup EnableMarketplace(TestToken initialBalance, Ether initialEther);
|
||||||
@ -50,6 +51,12 @@ namespace DistTestCore
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ICodexSetup WithBlockTTL(TimeSpan duration)
|
||||||
|
{
|
||||||
|
BlockTTL = Convert.ToInt32(duration.TotalSeconds);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
public ICodexSetup EnableMetrics()
|
public ICodexSetup EnableMetrics()
|
||||||
{
|
{
|
||||||
MetricsEnabled = true;
|
MetricsEnabled = true;
|
||||||
|
@ -8,7 +8,7 @@ namespace DistTestCore.Marketplace
|
|||||||
public const string MarketplaceArtifactFilename = "/hardhat/artifacts/contracts/Marketplace.sol/Marketplace.json";
|
public const string MarketplaceArtifactFilename = "/hardhat/artifacts/contracts/Marketplace.sol/Marketplace.json";
|
||||||
|
|
||||||
public override string AppName => "codex-contracts";
|
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)
|
protected override void Initialize(StartupConfig startupConfig)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user