Skip to content

Commit

Permalink
Unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
asdacap committed Oct 16, 2024
1 parent a154208 commit e5adcef
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/Nethermind/Nethermind.Runner.Test/Ethereum/ContextWithMocks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,25 +114,6 @@ public static NethermindApi ContextWithoutContainer()
ReceiptMonitor = Substitute.For<IReceiptMonitor>(),
BadBlocksStore = Substitute.For<IBlockStore>(),
BackgroundTaskScheduler = Substitute.For<IBackgroundTaskScheduler>(),

ApiWithNetworkServiceContainer = new ContainerBuilder()
.AddSingleton(Substitute.For<IDiscoveryApp>())
.AddSingleton(Substitute.For<ISyncModeSelector>())
.AddSingleton(Substitute.For<ISynchronizer>())
.AddSingleton(Substitute.For<ISyncPeerPool>())
.AddSingleton(Substitute.For<IPivot>())
.AddSingleton(Substitute.For<IPeerDifficultyRefreshPool>())
.AddSingleton(Substitute.For<IBetterPeerStrategy>())
.AddSingleton(Substitute.For<ISyncServer>())
.AddSingleton(Substitute.For<IRlpxHost>())
.AddSingleton(Substitute.For<ISessionMonitor>())
.AddSingleton(Substitute.For<IEthSyncingInfo>())
.AddSingleton(Substitute.For<IStaticNodesManager>())
.AddSingleton(Substitute.For<IProtocolsManager>())
.AddSingleton(Substitute.For<IPeerManager>())
.AddSingleton(Substitute.For<IPeerPool>())
.AddSingleton(Substitute.For<INodeStatsManager>())
.Build(),
};

api.WorldStateManager = new ReadOnlyWorldStateManager(api.DbProvider, Substitute.For<IReadOnlyTrieStore>(), LimboLogs.Instance);
Expand Down

0 comments on commit e5adcef

Please sign in to comment.