This commit is contained in:
Eric 2023-09-14 15:11:04 +10:00
parent 52b907e52e
commit fd012196f8
No known key found for this signature in database
3 changed files with 2 additions and 19 deletions

View File

@ -79,10 +79,7 @@ namespace DistTestCore.Codex
{
AddEnvVar("CODEX_SIMULATE_PROOF_FAILURES", config.SimulateProofFailures.ToString()!);
}
// if (config.EnableValidator == true)
// {
// AddEnvVar("CODEX_VALIDATOR", "true");
// }
if (config.MarketplaceConfig != null)
{
var gethConfig = startupConfig.Get<GethStartResult>();
@ -103,9 +100,6 @@ namespace DistTestCore.Codex
AddEnvVar("CODEX_VALIDATOR", "true");
}
}
// if (config.MarketplaceConfig != null) {
// AddEnvVar("CODEX_PERSISTENCE", "true");
// }
if(!string.IsNullOrEmpty(config.NameOverride)) {
AddEnvVar("CODEX_NODENAME", config.NameOverride);

View File

@ -28,10 +28,6 @@ namespace DistTestCore
/// Provides an invalid proof every N proofs
/// </summary>
ICodexSetup WithSimulateProofFailures(uint failEveryNProofs);
/// <summary>
/// Enables the validation module in the node
/// </summary>
// ICodexSetup WithValidator();
}
public class CodexSetup : CodexStartupConfig, ICodexSetup
@ -112,7 +108,7 @@ namespace DistTestCore
public ICodexSetup EnableMarketplace(TestToken initialBalance, Ether initialEther)
{
return EnableMarketplace(initialBalance, initialEther, false);
return EnableMarketplace(initialBalance, initialEther, false);
}
public ICodexSetup EnableMarketplace(TestToken initialBalance, Ether initialEther, bool isValidator)
@ -127,12 +123,6 @@ namespace DistTestCore
return this;
}
// public ICodexSetup WithValidator()
// {
// EnableValidator = true;
// return this;
// }
public string Describe()
{
var args = string.Join(',', DescribeArgs());

View File

@ -4,7 +4,6 @@ namespace DistTestCore.Marketplace
{
public class CodexContractsContainerRecipe : DefaultContainerRecipe
{
public const string DockerImage = "codexstorage/dist-tests-codex-contracts-eth:sha-b4e4897";
public const string MarketplaceAddressFilename = "/hardhat/deployments/codexdisttestnetwork/Marketplace.json";
public const string MarketplaceArtifactFilename = "/hardhat/artifacts/contracts/Marketplace.sol/Marketplace.json";