This commit is contained in:
Ben 2024-10-03 12:34:09 +02:00
parent fbf71e9fe8
commit d726da5228
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B
1 changed files with 2 additions and 20 deletions

View File

@ -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);