From d726da522890bc6bde40523e240eca5d9c533e0c Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 3 Oct 2024 12:34:09 +0200 Subject: [PATCH] wip --- .../CodexTests/BasicTests/MarketplaceTests.cs | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/Tests/CodexTests/BasicTests/MarketplaceTests.cs b/Tests/CodexTests/BasicTests/MarketplaceTests.cs index 77b5388..461f6d1 100644 --- a/Tests/CodexTests/BasicTests/MarketplaceTests.cs +++ b/Tests/CodexTests/BasicTests/MarketplaceTests.cs @@ -35,10 +35,7 @@ namespace CodexTests.BasicTests var numberOfHosts = 5; var hosts = StartCodex(numberOfHosts, s => s .WithName("Host") - .WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Error, CodexLogLevel.Error, CodexLogLevel.Warn) - { - ContractClock = CodexLogLevel.Trace, - }) + .WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Info, CodexLogLevel.Info, CodexLogLevel.Info)) .WithStorageQuota(11.GB()) .EnableMarketplace(geth, contracts, m => m .WithInitial(10.Eth(), hostInitialBalance) @@ -137,10 +134,7 @@ namespace CodexTests.BasicTests var hosts = StartCodex(numberOfHosts, s => s .WithName("Host") - .WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Error, CodexLogLevel.Error, CodexLogLevel.Warn) - { - ContractClock = CodexLogLevel.Trace, - }) + .WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Info, CodexLogLevel.Info, CodexLogLevel.Trace)) .WithStorageQuota(11.GB()) .EnableMarketplace(geth, contracts, m => m .WithInitial(10.Eth(), hostInitialBalance) @@ -179,18 +173,6 @@ namespace CodexTests.BasicTests return line; }; - var handler = new EventLogginHandler(GetTestLog()); - var chainState = new ChainState(GetTestLog(), contracts, handler, GetTestRunTimeRange().From); - - Task.Run(() => - { - while (true) - { - chainState.Update(); - Thread.Sleep(2000); - } - }); - while (true) { var testFile = CreateFile(fileSize);