Skip to content

Commit

Permalink
Fix EthereumRunner tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo committed Oct 28, 2024
1 parent cafd42b commit 0a4d115
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions src/Nethermind/Nethermind.Runner.Test/EthereumRunnerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,16 @@
using System.Threading;
using System.Threading.Tasks;
using Nethermind.Api;
using Nethermind.Blockchain.Synchronization;
using Nethermind.Config;
using Nethermind.Core.Test.IO;
using Nethermind.Db.Rocks.Config;
using Nethermind.EthStats;
using Nethermind.JsonRpc;
using Nethermind.JsonRpc.Modules;
using Nethermind.KeyStore.Config;
using Nethermind.Logging;
using Nethermind.Network.Config;
using Nethermind.Runner.Ethereum;
using Nethermind.Db.Blooms;
using Nethermind.Runner.Ethereum.Api;
using Nethermind.TxPool;
using NUnit.Framework;
using Nethermind.Hive;

namespace Nethermind.Runner.Test;

Expand Down Expand Up @@ -98,21 +93,9 @@ public async Task Smoke_cancel((string file, ConfigProvider configProvider) test

private static async Task SmokeTest(ConfigProvider configProvider, int testIndex, int basePort, bool cancel = false)
{
Type type1 = typeof(ITxPoolConfig);
Type type2 = typeof(INetworkConfig);
Type type3 = typeof(IKeyStoreConfig);
Type type4 = typeof(IDbConfig);
Type type7 = typeof(IEthStatsConfig);
Type type8 = typeof(ISyncConfig);
Type type9 = typeof(IBloomConfig);

Console.WriteLine(type1.Name);
Console.WriteLine(type2.Name);
Console.WriteLine(type3.Name);
Console.WriteLine(type4.Name);
Console.WriteLine(type7.Name);
Console.WriteLine(type8.Name);
Console.WriteLine(type9.Name);
#pragma warning disable CS0168 // Variable is declared but never used
IHiveConfig hiveConfigRef;
#pragma warning restore CS0168 // Variable is declared but never used

var tempPath = TempPath.GetTempDirectory();
Directory.CreateDirectory(tempPath.Path);
Expand Down

0 comments on commit 0a4d115

Please sign in to comment.