From 087b4d9a32f55d88c7b1b66b8367c0cca13bd2a6 Mon Sep 17 00:00:00 2001 From: tkstanczak Date: Thu, 22 Apr 2021 23:34:01 +0100 Subject: [PATCH] remove MEV plugin default --- src/Nethermind/Nethermind.Runner/Program.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Nethermind/Nethermind.Runner/Program.cs b/src/Nethermind/Nethermind.Runner/Program.cs index 1d1cc9fa73e..15db1141b9a 100644 --- a/src/Nethermind/Nethermind.Runner/Program.cs +++ b/src/Nethermind/Nethermind.Runner/Program.cs @@ -95,10 +95,11 @@ private static void Run(string[] args) AppDomain.CurrentDomain.ProcessExit += CurrentDomainOnProcessExit; IFileSystem fileSystem = new FileSystem(); - PluginLoader filePluginLoader = new("plugins", fileSystem, typeof(CliquePlugin), typeof(EthashPlugin), typeof(NethDevPlugin)); - IPluginLoader mevLoader = SinglePluginLoader.Instance; + PluginLoader pluginLoader = new("plugins", fileSystem, typeof(CliquePlugin), typeof(EthashPlugin), typeof(NethDevPlugin)); - CompositePluginLoader pluginLoader = new (filePluginLoader, mevLoader); + // leaving here as an example of adding Debug plugin + // IPluginLoader mevLoader = SinglePluginLoader.Instance; + // CompositePluginLoader pluginLoader = new (pluginLoader, mevLoader); pluginLoader.Load(SimpleConsoleLogManager.Instance); Type configurationType = typeof(IConfig);