Skip to content

Commit

Permalink
remove MEV plugin default (#3012)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkstanczak authored Apr 23, 2021
1 parent 2a7866a commit ffb43f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Nethermind/Nethermind.Runner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<MevPlugin>.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<MevPlugin>.Instance;
// CompositePluginLoader pluginLoader = new (pluginLoader, mevLoader);
pluginLoader.Load(SimpleConsoleLogManager.Instance);

Type configurationType = typeof(IConfig);
Expand Down

0 comments on commit ffb43f2

Please sign in to comment.