From 511d8625a81e0c1e5343e819036fcf7e2e67e98a Mon Sep 17 00:00:00 2001 From: MarekM25 Date: Wed, 16 Oct 2024 02:17:39 +0200 Subject: [PATCH] cleanup --- .../Json/AbiParameterConverterTests.cs | 2 -- src/Nethermind/Nethermind.Abi/AbiArray.cs | 2 -- src/Nethermind/Nethermind.Abi/AbiDescriptionType.cs | 1 - src/Nethermind/Nethermind.Abi/AbiInt.cs | 1 - .../Nethermind.Api/Extensions/IConsensusPlugin.cs | 2 -- .../Nethermind.Api/Extensions/IConsensusWrapperPlugin.cs | 1 - src/Nethermind/Nethermind.Api/IInitConfig.cs | 1 - src/Nethermind/Nethermind.Api/InitConfig.cs | 1 - src/Nethermind/Nethermind.AuRa.Test/AuRaPluginTests.cs | 1 - .../Contract/TxPriorityContractTests.cs | 1 - .../Transactions/TxCertifierFilterTests.cs | 1 - .../Validators/ContractBasedValidatorTests.cs | 1 - .../BlockchainProcessorTests.cs | 4 ---- .../Consensus/ClefSignerTests.cs | 2 -- .../Consensus/SinglePendingTxSelectorTests.cs | 1 - .../FullPruning/CopyTreeVisitorTests.cs | 3 --- .../FullPruning/FullPruningDiskTest.cs | 1 - .../Producers/BlockProducerBaseTests.FeeCollector.cs | 1 - .../Producers/DevBlockproducerTests.cs | 2 -- .../Receipts/PersistentReceiptStorageTests.cs | 1 - .../Receipts/ReceiptsIteratorTests.cs | 1 - .../Receipts/ReceiptsRecoveryTests.cs | 1 - .../TransactionGasPriceComparisonTests.cs | 1 - .../Utils/LastNStateRootTrackerTests.cs | 1 - .../Validators/BlockValidatorTests.cs | 3 --- .../Visitors/DbBlocksLoaderTests.cs | 2 -- .../Visitors/StartupTreeFixerTests.cs | 3 --- .../BeaconBlockRoot/BeaconBlockRootHandler.cs | 1 - src/Nethermind/Nethermind.Blockchain/BlockhashProvider.cs | 1 - .../Nethermind.Blockchain/Blocks/IBlockhashStore.cs | 1 - .../Nethermind.Blockchain/Data/FileLocalDataSource.cs | 1 - .../Nethermind.Blockchain/FullPruning/FullPruner.cs | 1 - .../Nethermind.Blockchain/FullPruning/PruningStatus.cs | 1 - src/Nethermind/Nethermind.Blockchain/ReadOnlyBlockTree.cs | 1 - .../Nethermind.Blockchain/Receipts/ReceiptsExtensions.cs | 3 --- .../Services/ManualHealthHintService.cs | 2 -- .../SpecificBlockReadOnlyStateProvider.cs | 1 - .../Nethermind.Blockchain/Utils/LastNStateRootTracker.cs | 1 - .../Visitors/StartupBlockTreeFixer.cs | 1 - src/Nethermind/Nethermind.Cli.Test/ProofCliModuleTests.cs | 1 - src/Nethermind/Nethermind.Cli/Modules/EthCliModule.cs | 1 - src/Nethermind/Nethermind.Cli/Program.cs | 1 - .../Nethermind.Clique.Test/CliqueBlockProducerTests.cs | 1 - src/Nethermind/Nethermind.Config/BlocksConfig.cs | 1 - src/Nethermind/Nethermind.Config/ConfigSourceHelper.cs | 1 - .../Nethermind.Consensus.AuRa/AuRaBlockProcessor.cs | 2 -- src/Nethermind/Nethermind.Consensus.AuRa/AuRaPlugin.cs | 1 - .../InitializationSteps/StartBlockProducerAuRa.cs | 1 - .../InitializationSteps/TxAuRaFilterBuilders.cs | 1 - .../Nethermind.Consensus.Clique/CliquePlugin.cs | 3 --- .../Nethermind.Consensus.Clique/CliqueSealer.cs | 3 --- .../Nethermind.Consensus.Clique/SnapshotManager.cs | 1 - .../Nethermind.Consensus.Ethash/EthashPlugin.cs | 1 - .../Nethermind.Consensus.Ethash/NethDevPlugin.cs | 2 -- .../Nethermind.Consensus.Test/CensorshipDetectorTests.cs | 1 - .../Nethermind.Consensus/Eip1559GasLimitAdjuster.cs | 1 - .../Nethermind.Consensus/IBlockProducerFactory.cs | 2 -- src/Nethermind/Nethermind.Consensus/ISigner.cs | 1 - .../Nethermind.Consensus/Messages/BlockErrorMessages.cs | 1 - .../Nethermind.Consensus/Messages/TxErrorMessages.cs | 5 ----- .../Processing/BlockchainProcessor.cs | 3 --- .../Nethermind.Consensus/Processing/IBlockProcessor.cs | 1 - .../Nethermind.Consensus/Processing/OneTimeProcessor.cs | 1 - .../Nethermind.Consensus/Producers/IBlockProducerInfo.cs | 2 -- .../Nethermind.Consensus/Producers/PayloadAttributes.cs | 1 - .../Nethermind.Consensus/Validators/HeaderValidator.cs | 1 - src/Nethermind/Nethermind.Core.Test/AddressTests.cs | 1 - .../Nethermind.Core.Test/Blockchain/TestBlockchain.cs | 1 - src/Nethermind/Nethermind.Core.Test/Builders/TestItem.cs | 2 -- .../Nethermind.Core.Test/Builders/TransactionBuilder.cs | 1 - .../Builders/TransactionValidatorBuilder.cs | 1 - src/Nethermind/Nethermind.Core.Test/BytesTests.cs | 2 -- .../Nethermind.Core.Test/Crypto/EthereumEcdsaTests.cs | 1 - .../Nethermind.Core.Test/Encoding/BlockDecoderTests.cs | 1 - .../Nethermind.Core.Test/Encoding/HeaderDecoderTests.cs | 1 - .../Encoding/ShardBlobTxDecoderTests.cs | 1 - .../Nethermind.Core.Test/Encoding/TxDecoderTests.cs | 2 -- .../Encoding/WithdrawalDecoderTests.cs | 1 - .../Nethermind.Core.Test/Json/BigIntegerConverterTests.cs | 2 -- .../Nethermind.Core.Test/Json/ConverterTestBase.cs | 2 -- .../Json/DoubleArrayConverterTests.cs | 1 - .../Nethermind.Core.Test/Json/Hash256ConverterTests.cs | 1 - .../Nethermind.Core.Test/Json/LongConverterTests.cs | 2 -- .../Json/NullableBigIntegerConverterTests.cs | 2 -- .../Json/NullableLongConverterTests.cs | 2 -- .../Json/NullableUlongConverterTests.cs | 1 - .../Nethermind.Core.Test/Json/UInt256ConverterTests.cs | 2 -- src/Nethermind/Nethermind.Core.Test/McsPriorityLock.cs | 3 --- src/Nethermind/Nethermind.Core.Test/SignerTests.cs | 1 - src/Nethermind/Nethermind.Core/Address.cs | 1 - src/Nethermind/Nethermind.Core/Block.cs | 1 - src/Nethermind/Nethermind.Core/Caching/SpanLruCache.cs | 1 - .../Nethermind.Core/Collections/CollectionExtensions.cs | 1 - src/Nethermind/Nethermind.Core/Crypto/Hash256.cs | 1 - src/Nethermind/Nethermind.Core/Crypto/PublicKey.cs | 3 --- src/Nethermind/Nethermind.Core/Eip2935Constants.cs | 2 -- src/Nethermind/Nethermind.Core/Eip4788Constants.cs | 2 -- .../Nethermind.Core/Extensions/ByteArrayExtensions.cs | 1 - .../Nethermind.Core/Extensions/SizeExtensions.cs | 2 -- .../NullableByteReadOnlyMemoryConverter.cs | 2 -- src/Nethermind/Nethermind.Core/Specs/AuraSpecProvider.cs | 2 -- src/Nethermind/Nethermind.Core/Threading/McsLock.cs | 3 +-- .../Nethermind.Core/Threading/McsPriorityLock.cs | 2 -- src/Nethermind/Nethermind.Crypto/EthereumEcdsa.cs | 1 - src/Nethermind/Nethermind.Db.Rocks/Config/DbConfig.cs | 1 - src/Nethermind/Nethermind.Db.Rocks/Config/IDbConfig.cs | 1 - .../Nethermind.Db.Test/DbMetricsUpdaterTests.cs | 2 -- src/Nethermind/Nethermind.Db.Test/DbOnTheRocksTests.cs | 1 - src/Nethermind/Nethermind.Db/DbProvider.cs | 1 - src/Nethermind/Nethermind.Db/FullPruning/FullPruningDb.cs | 1 - .../Nethermind.Db/FullPruning/IPruningContext.cs | 1 - src/Nethermind/Nethermind.Db/MemColumnsDb.cs | 1 - src/Nethermind/Nethermind.Db/RocksDbSettings.cs | 2 -- src/Nethermind/Nethermind.Db/SimpleFilePublicKeyDb.cs | 1 - src/Nethermind/Nethermind.Db/StandardDbInitializer.cs | 1 - src/Nethermind/Nethermind.EthStats/EthStatsPlugin.cs | 2 -- .../Nethermind.Ethash.Test/DifficultyCalculatorTests.cs | 1 - .../Nethermind.Evm.Test/CodeAnalysis/CodeInfoTests.cs | 1 - src/Nethermind/Nethermind.Evm.Test/CoinbaseTests.cs | 1 - src/Nethermind/Nethermind.Evm.Test/Eip6780Tests.cs | 1 - src/Nethermind/Nethermind.Evm.Test/Keccak256Tests.cs | 1 - .../Nethermind.Evm.Test/StorageAndSelfDestructTests.cs | 1 - .../Nethermind.Evm.Test/TestBlockhashProvider.cs | 1 - .../Nethermind.Evm.Test/Tracing/AccessTxTracerTests.cs | 6 ------ .../Tracing/GethLikeNativeTracerFactoryTests.cs | 1 - .../Nethermind.Evm.Test/VirtualMachineTestsBase.cs | 1 - src/Nethermind/Nethermind.Evm/EvmState.cs | 1 - src/Nethermind/Nethermind.Evm/IBlockhashProvider.cs | 2 -- src/Nethermind/Nethermind.Evm/IEvmMemory.cs | 1 - src/Nethermind/Nethermind.Evm/IVirtualMachine.cs | 5 ----- src/Nethermind/Nethermind.Evm/IntrinsicGasCalculator.cs | 4 ---- .../Nethermind.Evm/Precompiles/Bls/G1MulPrecompile.cs | 1 - .../Precompiles/Bls/G1MultiExpPrecompile.cs | 1 - .../Nethermind.Evm/Precompiles/Bls/G2AddPrecompile.cs | 1 - .../Nethermind.Evm/Precompiles/Bls/G2MulPrecompile.cs | 1 - .../Precompiles/Bls/G2MultiExpPrecompile.cs | 1 - .../Nethermind.Evm/Precompiles/Bls/MapToG1Precompile.cs | 1 - .../Nethermind.Evm/Precompiles/Bls/MapToG2Precompile.cs | 1 - .../Nethermind.Evm/Precompiles/Bls/PairingPrecompile.cs | 1 - .../Nethermind.Evm/Precompiles/Bls/SubgroupChecks.cs | 1 - .../Nethermind.Evm/Precompiles/EcRecoverPrecompile.cs | 2 -- .../Precompiles/Snarks/Bn254AddPrecompile.cs | 1 - .../Precompiles/Snarks/Bn254MulPrecompile.cs | 1 - .../Precompiles/Snarks/Bn254PairingPrecompile.cs | 1 - .../Nethermind.Evm/Tracing/CancellationTxTracer.cs | 1 - .../Nethermind.Evm/Tracing/CompositeTxTracer.cs | 1 - .../Tracing/GethStyle/Custom/JavaScript/CallFrame.cs | 1 - .../Tracing/GethStyle/Custom/JavaScript/Context.cs | 1 - .../Tracing/GethStyle/Custom/JavaScript/Db.cs | 8 -------- .../Tracing/GethStyle/Custom/JavaScript/Engine.cs | 1 - .../Tracing/GethStyle/Custom/JavaScript/FrameResult.cs | 1 - .../Custom/JavaScript/GethLikeBlockJavaScriptTracer.cs | 1 - .../Tracing/GethStyle/Custom/JavaScript/Log.cs | 2 -- .../GethStyle/Custom/Native/Call/NativeCallTracer.cs | 1 - .../Tracing/GethStyle/GethTxMemoryTraceEntry.cs | 1 - src/Nethermind/Nethermind.Evm/Tracing/TraceMemory.cs | 1 - .../TransactionProcessing/TransactionProcessor.cs | 6 ++++-- src/Nethermind/Nethermind.Evm/VirtualMachine.cs | 1 - .../Nethermind.ExternalSigner.Plugin/ClefSignerPlugin.cs | 1 - .../Nethermind.Facade.Test/TxPoolBridgeTests.cs | 1 - .../Nethermind.Facade/Eth/AccessListItemForRpc.cs | 1 - src/Nethermind/Nethermind.Facade/IBlockchainBridge.cs | 1 - .../Proxy/Models/Simulate/SimulateBlockResult.cs | 3 --- .../Nethermind.Facade/Simulate/SimulateBlockTracer.cs | 3 --- .../Simulate/SimulateReadOnlyBlocksProcessingEnv.cs | 1 - .../Simulate/SimulateTransactionProcessor.cs | 1 - .../Nethermind.Facade/StateOverridesExtensions.cs | 2 -- src/Nethermind/Nethermind.Init/MemoryHintMan.cs | 1 - .../Nethermind.Init/Steps/DatabaseMigrations.cs | 1 - src/Nethermind/Nethermind.Init/Steps/InitDatabase.cs | 1 - .../Steps/Migrations/IDatabaseMigration.cs | 1 - .../Nethermind.Init/Steps/StartBlockProducer.cs | 4 ---- src/Nethermind/Nethermind.Init/Steps/StartMonitoring.cs | 1 - .../ConsensusHelperTests.ReceiptsJsonRpcDataSource.cs | 1 - .../Nethermind.JsonRpc.Test/ConsensusHelperTests.cs | 4 ---- .../Data/AccessListItemForRpcTests.cs | 1 - .../Data/BlockParameterConverterTests.cs | 2 -- .../Data/DictionaryConverterTests.cs | 2 -- .../Nethermind.JsonRpc.Test/Data/Eip2930Tests.cs | 1 - .../Nethermind.JsonRpc.Test/Data/SerializationTestBase.cs | 1 - .../Nethermind.JsonRpc.Test/JsonRpcProcessorExtensions.cs | 2 -- .../Nethermind.JsonRpc.Test/JsonRpcProcessorTests.cs | 2 -- .../Nethermind.JsonRpc.Test/JsonRpcServiceTests.cs | 4 ---- .../Modules/BoundedModulePoolTests.cs | 5 ----- .../Nethermind.JsonRpc.Test/Modules/DebugModuleTests.cs | 1 - .../Modules/Eth/EthRpcModuleTests.EstimateGas.cs | 2 -- .../Modules/Eth/EthRpcModuleTests.EthCall.cs | 1 - .../Modules/Eth/EthRpcModuleTests.FeeHistory.cs | 1 - .../Modules/Eth/EthRpcModuleTests.cs | 4 ---- .../Modules/Eth/EthRpcSimulateTestsBase.cs | 1 - .../Eth/EthSimulateTestsPrecompilesWithRedirection.cs | 1 - .../Eth/Simulate/EthSimulateTestsBlocksAndTransactions.cs | 1 - .../Modules/Eth/Simulate/EthSimulateTestsHiveBase.cs | 1 - .../Nethermind.JsonRpc.Test/Modules/NetModuleTests.cs | 1 - .../Modules/Proof/ProofRpcModuleTests.cs | 1 - .../Modules/SingletonModulePoolTests.cs | 5 ----- .../Modules/TestRpcModuleProvider.cs | 1 - .../Modules/Trace/ParityStyleTracerTests.cs | 3 --- .../Modules/Trace/ParityTraceAddressConverterTests.cs | 1 - .../Modules/TraceRpcModuleTests.cs | 1 - .../Modules/TransactionForRpcConverterTests.cs | 1 - src/Nethermind/Nethermind.JsonRpc.Test/RpcTest.cs | 3 --- .../Nethermind.JsonRpc.TraceStore/TraceStoreConfig.cs | 2 -- .../Nethermind.JsonRpc/Client/JsonRpcResponse.cs | 1 - .../Nethermind.JsonRpc/Converters/TxReceiptConverter.cs | 1 - src/Nethermind/Nethermind.JsonRpc/Data/ReceiptForRpc.cs | 1 - src/Nethermind/Nethermind.JsonRpc/Error.cs | 1 - src/Nethermind/Nethermind.JsonRpc/IJsonRpcProcessor.cs | 1 - src/Nethermind/Nethermind.JsonRpc/IJsonRpcService.cs | 2 -- src/Nethermind/Nethermind.JsonRpc/JsonRpcResponse.cs | 2 -- src/Nethermind/Nethermind.JsonRpc/JsonRpcUrlCollection.cs | 1 - .../Nethermind.JsonRpc/Modules/Admin/EthProtocolInfo.cs | 1 - .../Nethermind.JsonRpc/Modules/Admin/IAdminRpcModule.cs | 2 -- .../Nethermind.JsonRpc/Modules/Admin/NodeInfo.cs | 2 -- .../Nethermind.JsonRpc/Modules/Admin/PortsInfo.cs | 1 - .../Nethermind.JsonRpc/Modules/DebugModule/DebugBridge.cs | 1 - .../Modules/DebugModule/DebugModuleFactory.cs | 2 -- .../Nethermind.JsonRpc/Modules/Eth/EthModuleFactory.cs | 4 ---- .../Modules/Eth/EthRpcModule.TransactionExecutor.cs | 1 - .../Nethermind.JsonRpc/Modules/Eth/FeeHistoryResults.cs | 1 - .../Nethermind.JsonRpc/Modules/Eth/IEthRpcModule.cs | 2 -- .../Nethermind.JsonRpc/Modules/Eth/SimulateTxExecutor.cs | 3 --- .../Nethermind.JsonRpc/Modules/IRpcModuleFactory.cs | 4 ---- .../Nethermind.JsonRpc/Modules/ModuleFactoryBase.cs | 3 --- .../Nethermind.JsonRpc/Modules/NullModuleProvider.cs | 2 -- .../Nethermind.JsonRpc/Modules/Parity/EthProtocolInfo.cs | 1 - .../Nethermind.JsonRpc/Modules/Parity/ParityNetPeers.cs | 1 - .../Modules/Parity/ParityTransaction.cs | 1 - .../Nethermind.JsonRpc/Modules/Parity/PeerInfo.cs | 1 - .../Nethermind.JsonRpc/Modules/Parity/PeerNetworkInfo.cs | 1 - .../Modules/Personal/IPersonalRpcModule.cs | 1 - .../Modules/Personal/PersonalRpcModule.cs | 1 - .../Nethermind.JsonRpc/Modules/Proof/IProofRpcModule.cs | 1 - .../Modules/Proof/ProofModuleFactory.cs | 4 ---- .../Modules/Proof/TransactionWithProof.cs | 1 - .../Modules/Subscribe/JsonRpcSubscriptionResponse.cs | 1 - .../Modules/Subscribe/JsonRpcSubscriptionResult.cs | 3 --- .../Subscribe/NewPendingTransactionsSubscription.cs | 2 -- .../Modules/Subscribe/SubscribeRpcModule.cs | 1 - .../Modules/Subscribe/SubscriptionFactory.cs | 1 - .../Modules/Trace/ParityTxTraceFromReplay.cs | 1 - .../Nethermind.JsonRpc/Modules/Trace/TraceFilterForRpc.cs | 3 --- .../Modules/Trace/TraceModuleFactory.cs | 3 --- .../Nethermind.JsonRpc/Modules/Trace/TraceRpcModule.cs | 4 ---- .../Modules/TxPool/TransactionPoolContent.cs | 1 - src/Nethermind/Nethermind.KeyStore/CipherParams.cs | 1 - src/Nethermind/Nethermind.KeyStore/KdfParams.cs | 1 - src/Nethermind/Nethermind.KeyStore/KeyStoreItem.cs | 1 - .../AuRaMergeEngineModuleTests.cs | 1 - .../AuRaMergeBlockProducerEnvFactory.cs | 2 -- .../Nethermind.Merge.AuRa/AuRaMergeFinalizationManager.cs | 1 - .../AuRaPostMergeBlockProducerFactory.cs | 1 - .../InitializationSteps/InitializeBlockchainAuRaMerge.cs | 1 - .../EngineModuleTests.Setup.cs | 1 - .../Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs | 3 --- .../ExternalRpcIntegrationTests.cs | 1 - .../BlockProduction/PayloadPreparationService.cs | 1 - .../Nethermind.Merge.Plugin/Data/ExecutionPayload.cs | 1 - .../Data/ExecutionPayloadBodyV1Result.cs | 2 -- .../Data/ForkchoiceUpdatedV1Result.cs | 1 - .../Nethermind.Merge.Plugin/Data/GetBlobsV1Result.cs | 1 - .../Nethermind.Merge.Plugin/Data/PayloadStatusV1.cs | 2 -- .../Nethermind.Merge.Plugin/Handlers/NewPayloadHandler.cs | 1 - .../Nethermind.Merge.Plugin/MergeFinalizationManager.cs | 1 - .../Synchronization/MergeSynchronizer.cs | 2 -- src/Nethermind/Nethermind.Monitoring/MonitoringService.cs | 1 - .../NettyDiscoveryV5HandlerTests.cs | 1 - .../Nethermind.Network.Discovery/DiscoveryApp.cs | 1 - .../Nethermind.Network.Discovery/NettyDiscoveryHandler.cs | 1 - .../Nethermind.Network.Discovery/NullDiscoveryApp.cs | 1 - src/Nethermind/Nethermind.Network.Enr/NodeRecordSigner.cs | 1 - src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs | 1 - .../P2P/HelloMessageSerializerTests.cs | 1 - .../P2P/P2PProtocolHandlerTests.cs | 1 - .../Nethermind.Network.Test/P2P/SessionTests.cs | 2 -- .../Eth/V62/BlockBodiesMessageSerializerTests.cs | 1 - .../Eth/V62/TransactionsMessageSerializerTests.cs | 1 - .../P2P/Subprotocols/Eth/V63/GetNodeDataMessageTests.cs | 2 -- .../P2P/Subprotocols/Eth/V63/GetReceiptsMessageTests.cs | 2 -- .../Eth/V63/ReceiptsMessageSerializerTests.cs | 1 - .../P2P/Subprotocols/Eth/V65/PooledTxsRequestorTests.cs | 1 - .../P2P/Subprotocols/Eth/V66/Eth66ProtocolHandlerTests.cs | 1 - .../P2P/Subprotocols/Eth/V68/Eth68ProtocolHandlerTests.cs | 1 - .../P2P/Subprotocols/NodeData/GetNodeDataMessageTests.cs | 1 - .../Subprotocols/NodeData/NodeDataProtocolHandlerTests.cs | 1 - .../Snap/Messages/AccountRangeMessageSerializerTests.cs | 1 - .../Snap/Messages/GetByteCodesMessageSerializerTests.cs | 1 - .../Messages/GetStorageRangesMessageSerializerTests.cs | 1 - .../Snap/Messages/GetTrieNodesMessageSerializerTests.cs | 1 - .../Snap/Messages/StorageRangesMessageSerializerTests.cs | 1 - .../Nethermind.Network.Test/ProtocolsManagerTests.cs | 1 - .../Rlpx/Handshake/AuthEip8MessageSerializerTests.cs | 2 -- .../Rlpx/Handshake/AuthMessageSerializerTests.cs | 1 - .../Nethermind.Network.Test/Rlpx/HobbitTests.cs | 1 - .../Rlpx/TestWrappers/ZeroFrameDecoderTestWrapper.cs | 1 - .../Rlpx/TestWrappers/ZeroFrameMergerTestWrapper.cs | 1 - src/Nethermind/Nethermind.Network/IDiscoveryApp.cs | 1 - .../Nethermind.Network/P2P/Messages/HelloMessage.cs | 1 - .../P2P/Messages/HelloMessageSerializer.cs | 1 - .../P2P/Subprotocols/Eth/HashesMessage.cs | 1 - .../P2P/Subprotocols/Eth/V62/Eth62ProtocolHandler.cs | 2 -- .../Subprotocols/Eth/V62/Messages/BlockHeadersMessage.cs | 2 -- .../Subprotocols/Eth/V62/Messages/TransactionsMessage.cs | 2 -- .../Subprotocols/Eth/V63/Messages/GetNodeDataMessage.cs | 1 - .../Subprotocols/Eth/V63/Messages/GetReceiptsMessage.cs | 1 - .../P2P/Subprotocols/Eth/V63/Messages/NodeDataMessage.cs | 2 -- .../P2P/Subprotocols/Eth/V63/Messages/ReceiptsMessage.cs | 1 - .../Eth/V65/Messages/GetPooledTransactionsMessage.cs | 1 - .../Eth/V65/Messages/NewPooledTransactionHashesMessage.cs | 1 - .../Eth/V65/Messages/PooledTransactionsMessage.cs | 1 - .../P2P/Subprotocols/Eth/V66/Eth66ProtocolHandler.cs | 1 - .../V68/Messages/NewPooledTransactionHashesMessage68.cs | 2 -- .../Subprotocols/NodeData/Messages/GetNodeDataMessage.cs | 1 - .../P2P/Subprotocols/NodeData/NodeDataProtocolHandler.cs | 1 - .../P2P/Subprotocols/Snap/Messages/ByteCodesMessage.cs | 1 - .../P2P/Subprotocols/Snap/Messages/GetByteCodesMessage.cs | 1 - .../P2P/Subprotocols/Snap/Messages/GetTrieNodesMessage.cs | 1 - .../P2P/Subprotocols/Snap/Messages/StorageRangeMessage.cs | 1 - .../P2P/Subprotocols/Snap/Messages/TrieNodesMessage.cs | 1 - src/Nethermind/Nethermind.Network/Rlpx/RlpxHost.cs | 2 -- .../Nethermind.Network/StaticNodes/StaticNodesManager.cs | 1 - src/Nethermind/Nethermind.Optimism/L1BlockGasInfo.cs | 1 - src/Nethermind/Nethermind.Overseer.Test/CliqueTests.cs | 1 - .../Nethermind.Overseer.Test/Framework/CliqueContext.cs | 1 - .../Nethermind.Runner.Test/Ethereum/ContextWithMocks.cs | 1 - .../Nethermind.Runner.Test/EthereumRunnerTests.cs | 2 -- .../Nethermind.Runner/Ethereum/Api/ApiBuilder.cs | 2 -- .../Nethermind.Runner/Ethereum/JsonRpcRunner.cs | 1 - .../Nethermind.Runner/JsonRpc/JsonRpcIpcRunner.cs | 3 --- src/Nethermind/Nethermind.Runner/Program.cs | 1 - .../Nethermind.Serialization.Json/BooleanConverter.cs | 3 --- .../EthereumJsonSerializer.cs | 2 -- .../Nethermind.Serialization.Json/IJsonSerializer.cs | 1 - .../NullableBigIntegerConverter.cs | 1 - .../StorageCellIndexConverter.cs | 1 - .../Nethermind.Serialization.Json/ULongConverter.cs | 1 - .../Nethermind.Serialization.Rlp/AccountDecoder.cs | 2 -- .../Eip2930/AccessListDecoder.cs | 1 - .../Nethermind.Specs/ChainSpecStyle/ChainSpecLoader.cs | 1 - .../Nethermind.Specs/ChainSpecStyle/Json/BuiltInJson.cs | 1 - .../Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs | 1 - src/Nethermind/Nethermind.Specs/Forks/00_Olympic.cs | 1 - .../Nethermind.Specs/SystemTransactionReleaseSpec.cs | 2 -- .../Proofs/AccountProofCollectorTests.cs | 1 - src/Nethermind/Nethermind.State.Test/StateReaderTests.cs | 1 - .../Nethermind.State.Test/StatsCollectorTests.cs | 1 - .../Nethermind.State.Test/WorldStateManagerTests.cs | 4 ---- src/Nethermind/Nethermind.State/IWorldState.cs | 2 +- src/Nethermind/Nethermind.State/IWorldStateExtensions.cs | 2 -- src/Nethermind/Nethermind.State/PreBlockCaches.cs | 3 --- src/Nethermind/Nethermind.State/Proofs/ProofCollector.cs | 2 -- src/Nethermind/Nethermind.State/Proofs/ProofVerifier.cs | 2 -- src/Nethermind/Nethermind.State/Snap/StorageRange.cs | 1 - src/Nethermind/Nethermind.State/StateReader.cs | 2 -- src/Nethermind/Nethermind.State/StorageTree.cs | 1 - src/Nethermind/Nethermind.State/WorldState.cs | 4 ++++ .../ExitOnSyncCompleteTests.cs | 2 -- .../FastBlocks/FastHeadersSyncTests.cs | 1 - .../FastBlocks/ReceiptsSyncFeedTests.cs | 1 - .../FastBlocks/SyncStatusListTests.cs | 1 - .../FastSync/StateSyncFeedHealingTests.cs | 1 - .../FastSync/StateSyncFeedTestsBase.cs | 1 - .../OldStyleFullSynchronizerTests.cs | 2 -- .../RangeQueryVisitorTests.cs | 2 -- .../SnapSync/ProgressTrackerTests.cs | 1 - .../Nethermind.Synchronization.Test/SyncServerTests.cs | 1 - .../Nethermind.Synchronization.Test/SyncThreadTests.cs | 2 -- .../Nethermind.Synchronization.Test/Trie/RecoveryTests.cs | 2 -- .../Nethermind.Synchronization/Blocks/FastSyncFeed.cs | 2 -- .../FastBlocks/BarrierSyncFeed.cs | 1 - .../FastBlocks/FastHeadersSyncFeed.cs | 2 -- src/Nethermind/Nethermind.Synchronization/ISyncServer.cs | 1 - .../Nethermind.Synchronization/ISynchronizer.cs | 1 - src/Nethermind/Nethermind.Synchronization/Metrics.cs | 1 - .../ParallelSync/FullStateFinder.cs | 4 ---- .../SnapSync/PathWithStorageCollector.cs | 1 - .../SnapSync/ProgressTracker.cs | 1 - .../SnapSync/SnapProviderHelper.cs | 2 -- .../Nethermind.Synchronization/SnapSync/SnapServer.cs | 1 - .../StateSync/PeerInfoExtensions.cs | 1 - src/Nethermind/Nethermind.Synchronization/SyncServer.cs | 2 -- src/Nethermind/Nethermind.Synchronization/Synchronizer.cs | 1 - .../Trie/GetNodeDataTrieNodeRecovery.cs | 1 - .../Nethermind.Trie.Test/NodeStorageFactoryTests.cs | 1 - src/Nethermind/Nethermind.Trie.Test/NodeStorageTests.cs | 2 -- src/Nethermind/Nethermind.Trie.Test/TreePathTests.cs | 2 -- src/Nethermind/Nethermind.Trie.Test/TrieTests.cs | 1 - src/Nethermind/Nethermind.Trie/CachedTrieStore.cs | 1 - src/Nethermind/Nethermind.Trie/ITreeVisitor.cs | 1 - src/Nethermind/Nethermind.Trie/PreCachedTrieStore.cs | 1 - .../Nethermind.Trie/Pruning/IScopedTrieStore.cs | 1 - .../Nethermind.Trie/Pruning/ITrieStoreExtensions.cs | 2 -- .../Nethermind.Trie/Pruning/NullTrieNodeResolver.cs | 1 - src/Nethermind/Nethermind.Trie/Pruning/NullTrieStore.cs | 2 -- .../Nethermind.Trie/Pruning/OverlayTrieStore.cs | 1 - .../Nethermind.Trie/Pruning/ReadOnlyTrieStore.cs | 1 - src/Nethermind/Nethermind.Trie/RangeQueryVisitor.cs | 2 -- src/Nethermind/Nethermind.Trie/TrieNode.Visitor.cs | 1 - src/Nethermind/Nethermind.Trie/TrieNode.cs | 1 - src/Nethermind/Nethermind.Trie/TrieStoreWithReadFlags.cs | 1 - src/Nethermind/Nethermind.Trie/VisitContext.cs | 1 - .../Nethermind.TxPool.Test/BlobTxStorageTests.cs | 1 - .../Nethermind.TxPool.Test/ReceiptStorageTests.cs | 1 - src/Nethermind/Nethermind.TxPool/HashCache.cs | 1 - src/Nethermind/Nethermind.TxPool/LightTransaction.cs | 2 -- src/bench_precompiles | 2 +- 406 files changed, 11 insertions(+), 600 deletions(-) diff --git a/src/Nethermind/Nethermind.Abi.Test/Json/AbiParameterConverterTests.cs b/src/Nethermind/Nethermind.Abi.Test/Json/AbiParameterConverterTests.cs index 707060364a5..face15a33e1 100644 --- a/src/Nethermind/Nethermind.Abi.Test/Json/AbiParameterConverterTests.cs +++ b/src/Nethermind/Nethermind.Abi.Test/Json/AbiParameterConverterTests.cs @@ -3,8 +3,6 @@ using System; using System.Collections; -using System.Collections.Generic; -using System.IO; using System.Text; using System.Text.Json; diff --git a/src/Nethermind/Nethermind.Abi/AbiArray.cs b/src/Nethermind/Nethermind.Abi/AbiArray.cs index 3329ebc4169..1d099f129b3 100644 --- a/src/Nethermind/Nethermind.Abi/AbiArray.cs +++ b/src/Nethermind/Nethermind.Abi/AbiArray.cs @@ -7,8 +7,6 @@ using System.Linq; using System.Numerics; using System.Text.Json; -using System.Text.Json.Nodes; - using Nethermind.Core.Extensions; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Abi/AbiDescriptionType.cs b/src/Nethermind/Nethermind.Abi/AbiDescriptionType.cs index 076128bc9b4..2a052105640 100644 --- a/src/Nethermind/Nethermind.Abi/AbiDescriptionType.cs +++ b/src/Nethermind/Nethermind.Abi/AbiDescriptionType.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Abi/AbiInt.cs b/src/Nethermind/Nethermind.Abi/AbiInt.cs index 8a8c282ef4f..5336ab43b74 100644 --- a/src/Nethermind/Nethermind.Abi/AbiInt.cs +++ b/src/Nethermind/Nethermind.Abi/AbiInt.cs @@ -7,7 +7,6 @@ namespace Nethermind.Abi { - using Nethermind.Int256; public class AbiInt : AbiType { private const int MaxSize = 256; diff --git a/src/Nethermind/Nethermind.Api/Extensions/IConsensusPlugin.cs b/src/Nethermind/Nethermind.Api/Extensions/IConsensusPlugin.cs index 9a0be89152e..0fa8953cc8a 100644 --- a/src/Nethermind/Nethermind.Api/Extensions/IConsensusPlugin.cs +++ b/src/Nethermind/Nethermind.Api/Extensions/IConsensusPlugin.cs @@ -1,10 +1,8 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Threading.Tasks; using Nethermind.Config; using Nethermind.Consensus; -using Nethermind.Consensus.Producers; using Nethermind.Logging; using Nethermind.Serialization.Json; using Nethermind.Specs.ChainSpecStyle; diff --git a/src/Nethermind/Nethermind.Api/Extensions/IConsensusWrapperPlugin.cs b/src/Nethermind/Nethermind.Api/Extensions/IConsensusWrapperPlugin.cs index b81722632bc..becb062362d 100644 --- a/src/Nethermind/Nethermind.Api/Extensions/IConsensusWrapperPlugin.cs +++ b/src/Nethermind/Nethermind.Api/Extensions/IConsensusWrapperPlugin.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Threading.Tasks; using Nethermind.Consensus; using Nethermind.Consensus.Transactions; diff --git a/src/Nethermind/Nethermind.Api/IInitConfig.cs b/src/Nethermind/Nethermind.Api/IInitConfig.cs index 5679dfb6dd9..df897261275 100644 --- a/src/Nethermind/Nethermind.Api/IInitConfig.cs +++ b/src/Nethermind/Nethermind.Api/IInitConfig.cs @@ -3,7 +3,6 @@ using Nethermind.Config; using Nethermind.Consensus.Processing; -using Nethermind.Trie; namespace Nethermind.Api; diff --git a/src/Nethermind/Nethermind.Api/InitConfig.cs b/src/Nethermind/Nethermind.Api/InitConfig.cs index 8fc3835a4be..7ae4061b15d 100644 --- a/src/Nethermind/Nethermind.Api/InitConfig.cs +++ b/src/Nethermind/Nethermind.Api/InitConfig.cs @@ -3,7 +3,6 @@ using System; using Nethermind.Consensus.Processing; -using Nethermind.Trie; namespace Nethermind.Api { diff --git a/src/Nethermind/Nethermind.AuRa.Test/AuRaPluginTests.cs b/src/Nethermind/Nethermind.AuRa.Test/AuRaPluginTests.cs index 03c84f9b2b8..d1309bb2d00 100644 --- a/src/Nethermind/Nethermind.AuRa.Test/AuRaPluginTests.cs +++ b/src/Nethermind/Nethermind.AuRa.Test/AuRaPluginTests.cs @@ -3,7 +3,6 @@ using System; using FluentAssertions; -using Nethermind.Api; using Nethermind.Config; using Nethermind.Consensus.AuRa; using Nethermind.Consensus.AuRa.InitializationSteps; diff --git a/src/Nethermind/Nethermind.AuRa.Test/Contract/TxPriorityContractTests.cs b/src/Nethermind/Nethermind.AuRa.Test/Contract/TxPriorityContractTests.cs index 17a0bad2438..4e230c977c2 100644 --- a/src/Nethermind/Nethermind.AuRa.Test/Contract/TxPriorityContractTests.cs +++ b/src/Nethermind/Nethermind.AuRa.Test/Contract/TxPriorityContractTests.cs @@ -25,7 +25,6 @@ using Nethermind.Int256; using Nethermind.Logging; using Nethermind.Serialization.Json; -using Nethermind.Trie.Pruning; using NUnit.Framework; namespace Nethermind.AuRa.Test.Contract diff --git a/src/Nethermind/Nethermind.AuRa.Test/Transactions/TxCertifierFilterTests.cs b/src/Nethermind/Nethermind.AuRa.Test/Transactions/TxCertifierFilterTests.cs index 849711461bb..df68e392f0a 100644 --- a/src/Nethermind/Nethermind.AuRa.Test/Transactions/TxCertifierFilterTests.cs +++ b/src/Nethermind/Nethermind.AuRa.Test/Transactions/TxCertifierFilterTests.cs @@ -20,7 +20,6 @@ using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; using Nethermind.Logging; -using Nethermind.Trie.Pruning; using Nethermind.TxPool; using NSubstitute; using NSubstitute.ExceptionExtensions; diff --git a/src/Nethermind/Nethermind.AuRa.Test/Validators/ContractBasedValidatorTests.cs b/src/Nethermind/Nethermind.AuRa.Test/Validators/ContractBasedValidatorTests.cs index 3902182d6e8..6448452b0a3 100644 --- a/src/Nethermind/Nethermind.AuRa.Test/Validators/ContractBasedValidatorTests.cs +++ b/src/Nethermind/Nethermind.AuRa.Test/Validators/ContractBasedValidatorTests.cs @@ -30,7 +30,6 @@ using NUnit.Framework; using BlockTree = Nethermind.Blockchain.BlockTree; using Nethermind.Evm; -using Nethermind.Core.Specs; using System.Text.Json; using Nethermind.Consensus.Processing; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/BlockchainProcessorTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/BlockchainProcessorTests.cs index 41bc3472f20..e3478b251ba 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/BlockchainProcessorTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/BlockchainProcessorTests.cs @@ -13,13 +13,9 @@ using Nethermind.Core.Attributes; using Nethermind.Core.Crypto; using Nethermind.Core.Test.Blockchain; -using Nethermind.Specs; using Nethermind.Core.Test.Builders; -using Nethermind.Db; using Nethermind.Evm.Tracing; using Nethermind.Logging; -using Nethermind.State.Repositories; -using Nethermind.Db.Blooms; using Nethermind.State; using Nethermind.Trie; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Consensus/ClefSignerTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Consensus/ClefSignerTests.cs index 349fc1ff791..fec0f25713b 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Consensus/ClefSignerTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Consensus/ClefSignerTests.cs @@ -3,13 +3,11 @@ using System; using System.Threading.Tasks; -using FluentAssertions; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.ExternalSigner.Plugin; -using Nethermind.JsonRpc; using Nethermind.JsonRpc.Client; using NSubstitute; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Consensus/SinglePendingTxSelectorTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Consensus/SinglePendingTxSelectorTests.cs index de48f000265..c63a2ee7e3d 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Consensus/SinglePendingTxSelectorTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Consensus/SinglePendingTxSelectorTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Linq; using FluentAssertions; using Nethermind.Consensus.Transactions; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/CopyTreeVisitorTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/CopyTreeVisitorTests.cs index eb99ee1c310..ff06ff7ada0 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/CopyTreeVisitorTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/CopyTreeVisitorTests.cs @@ -1,11 +1,9 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Linq; using System.Threading; -using System.Threading.Tasks; using FluentAssertions; using Nethermind.Blockchain.FullPruning; using Nethermind.Core; @@ -19,7 +17,6 @@ using Nethermind.Trie; using Nethermind.Trie.Pruning; using NSubstitute; -using NSubstitute.ExceptionExtensions; using NUnit.Framework; namespace Nethermind.Blockchain.Test.FullPruning diff --git a/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/FullPruningDiskTest.cs b/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/FullPruningDiskTest.cs index 08a83248f7a..b7501c89262 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/FullPruningDiskTest.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/FullPruning/FullPruningDiskTest.cs @@ -12,7 +12,6 @@ using Nethermind.Blockchain.FullPruning; using Nethermind.Config; using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Core.Specs; using Nethermind.Core.Test.Blockchain; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Producers/BlockProducerBaseTests.FeeCollector.cs b/src/Nethermind/Nethermind.Blockchain.Test/Producers/BlockProducerBaseTests.FeeCollector.cs index acd93014c43..51d4df796c9 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Producers/BlockProducerBaseTests.FeeCollector.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Producers/BlockProducerBaseTests.FeeCollector.cs @@ -4,7 +4,6 @@ using System.Threading.Tasks; using Nethermind.Core; using Nethermind.Core.Extensions; -using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; using Nethermind.Int256; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Producers/DevBlockproducerTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Producers/DevBlockproducerTests.cs index 7f4b9d2bb2b..d941375d789 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Producers/DevBlockproducerTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Producers/DevBlockproducerTests.cs @@ -17,13 +17,11 @@ using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; using Nethermind.Db; -using Nethermind.Db.Blooms; using Nethermind.Evm; using Nethermind.Evm.TransactionProcessing; using Nethermind.Logging; using Nethermind.Specs; using Nethermind.State; -using Nethermind.State.Repositories; using Nethermind.Trie.Pruning; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Receipts/PersistentReceiptStorageTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Receipts/PersistentReceiptStorageTests.cs index 5fc64104e58..38e14756855 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Receipts/PersistentReceiptStorageTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Receipts/PersistentReceiptStorageTests.cs @@ -16,7 +16,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Db; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; using Nethermind.Specs; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsIteratorTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsIteratorTests.cs index a97147ae00f..0e939e90943 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsIteratorTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsIteratorTests.cs @@ -8,7 +8,6 @@ using Nethermind.Core.Test; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; using Nethermind.Specs; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsRecoveryTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsRecoveryTests.cs index 6d72e44f4f9..d568b693c4e 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsRecoveryTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Receipts/ReceiptsRecoveryTests.cs @@ -6,7 +6,6 @@ using Nethermind.Core; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Specs; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/TransactionGasPriceComparisonTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/TransactionGasPriceComparisonTests.cs index ca342190624..5db21b76930 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/TransactionGasPriceComparisonTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/TransactionGasPriceComparisonTests.cs @@ -5,7 +5,6 @@ using Nethermind.Consensus; using Nethermind.Consensus.Comparers; using Nethermind.Core; -using Nethermind.Core.Extensions; using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Utils/LastNStateRootTrackerTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Utils/LastNStateRootTrackerTests.cs index d076a42f671..1af52fc0534 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Utils/LastNStateRootTrackerTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Utils/LastNStateRootTrackerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; using Nethermind.Blockchain.Utils; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Validators/BlockValidatorTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Validators/BlockValidatorTests.cs index 8d5848e1052..524ef150f46 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Validators/BlockValidatorTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Validators/BlockValidatorTests.cs @@ -1,14 +1,12 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Consensus.Messages; using Nethermind.Consensus.Validators; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Evm; using Nethermind.Logging; using Nethermind.Specs; using Nethermind.Specs.Forks; @@ -16,7 +14,6 @@ using NSubstitute; using NUnit.Framework; using System; -using System.Collections; using System.Collections.Generic; namespace Nethermind.Blockchain.Test.Validators diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Visitors/DbBlocksLoaderTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Visitors/DbBlocksLoaderTests.cs index bbe3446b9e4..a28b591f374 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Visitors/DbBlocksLoaderTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Visitors/DbBlocksLoaderTests.cs @@ -13,8 +13,6 @@ using Nethermind.Logging; using Nethermind.Serialization.Rlp; using Nethermind.Specs; -using Nethermind.State.Repositories; -using Nethermind.Db.Blooms; using NUnit.Framework; namespace Nethermind.Blockchain.Test.Visitors diff --git a/src/Nethermind/Nethermind.Blockchain.Test/Visitors/StartupTreeFixerTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/Visitors/StartupTreeFixerTests.cs index a6cc779152e..b4eb03414ed 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/Visitors/StartupTreeFixerTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/Visitors/StartupTreeFixerTests.cs @@ -11,9 +11,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Db; using Nethermind.Logging; -using Nethermind.Specs; -using Nethermind.State.Repositories; -using Nethermind.Db.Blooms; using Nethermind.JsonRpc.Test.Modules; using Nethermind.State; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Blockchain/BeaconBlockRoot/BeaconBlockRootHandler.cs b/src/Nethermind/Nethermind.Blockchain/BeaconBlockRoot/BeaconBlockRootHandler.cs index c464091ba49..b038d1ac9ab 100644 --- a/src/Nethermind/Nethermind.Blockchain/BeaconBlockRoot/BeaconBlockRootHandler.cs +++ b/src/Nethermind/Nethermind.Blockchain/BeaconBlockRoot/BeaconBlockRootHandler.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core; using Nethermind.Core.Eip2930; using Nethermind.Core.Specs; diff --git a/src/Nethermind/Nethermind.Blockchain/BlockhashProvider.cs b/src/Nethermind/Nethermind.Blockchain/BlockhashProvider.cs index 61e70296dc1..fd344da3134 100644 --- a/src/Nethermind/Nethermind.Blockchain/BlockhashProvider.cs +++ b/src/Nethermind/Nethermind.Blockchain/BlockhashProvider.cs @@ -3,7 +3,6 @@ using System; using System.IO; -using Nethermind.Blockchain; using Nethermind.Blockchain.Blocks; using Nethermind.Blockchain.Find; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Blockchain/Blocks/IBlockhashStore.cs b/src/Nethermind/Nethermind.Blockchain/Blocks/IBlockhashStore.cs index ae0a1b73a80..95a9e581786 100644 --- a/src/Nethermind/Nethermind.Blockchain/Blocks/IBlockhashStore.cs +++ b/src/Nethermind/Nethermind.Blockchain/Blocks/IBlockhashStore.cs @@ -3,7 +3,6 @@ using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Specs; namespace Nethermind.Blockchain.Blocks; diff --git a/src/Nethermind/Nethermind.Blockchain/Data/FileLocalDataSource.cs b/src/Nethermind/Nethermind.Blockchain/Data/FileLocalDataSource.cs index 37afd2b7f1e..9e9432b2a8e 100644 --- a/src/Nethermind/Nethermind.Blockchain/Data/FileLocalDataSource.cs +++ b/src/Nethermind/Nethermind.Blockchain/Data/FileLocalDataSource.cs @@ -9,7 +9,6 @@ using Nethermind.Logging; using Nethermind.Serialization.Json; using System.Text.Json; -using System.Text.Json.Serialization; using Polly; namespace Nethermind.Blockchain.Data diff --git a/src/Nethermind/Nethermind.Blockchain/FullPruning/FullPruner.cs b/src/Nethermind/Nethermind.Blockchain/FullPruning/FullPruner.cs index b8c6ef1331f..1c1383a0525 100755 --- a/src/Nethermind/Nethermind.Blockchain/FullPruning/FullPruner.cs +++ b/src/Nethermind/Nethermind.Blockchain/FullPruning/FullPruner.cs @@ -10,7 +10,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Events; using Nethermind.Core.Extensions; -using Nethermind.Core.Utils; using Nethermind.Db; using Nethermind.Db.FullPruning; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.Blockchain/FullPruning/PruningStatus.cs b/src/Nethermind/Nethermind.Blockchain/FullPruning/PruningStatus.cs index 999cc34815a..c867af6adb6 100644 --- a/src/Nethermind/Nethermind.Blockchain/FullPruning/PruningStatus.cs +++ b/src/Nethermind/Nethermind.Blockchain/FullPruning/PruningStatus.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Blockchain/ReadOnlyBlockTree.cs b/src/Nethermind/Nethermind.Blockchain/ReadOnlyBlockTree.cs index 4fc9e1077e8..506973f7194 100644 --- a/src/Nethermind/Nethermind.Blockchain/ReadOnlyBlockTree.cs +++ b/src/Nethermind/Nethermind.Blockchain/ReadOnlyBlockTree.cs @@ -10,7 +10,6 @@ using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; -using Nethermind.Int256; namespace Nethermind.Blockchain { diff --git a/src/Nethermind/Nethermind.Blockchain/Receipts/ReceiptsExtensions.cs b/src/Nethermind/Nethermind.Blockchain/Receipts/ReceiptsExtensions.cs index afb17f6b4c0..1ea61db1c2c 100644 --- a/src/Nethermind/Nethermind.Blockchain/Receipts/ReceiptsExtensions.cs +++ b/src/Nethermind/Nethermind.Blockchain/Receipts/ReceiptsExtensions.cs @@ -4,9 +4,6 @@ using System.Linq; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Specs; -using Nethermind.State.Proofs; -using Nethermind.Trie; namespace Nethermind.Blockchain.Receipts { diff --git a/src/Nethermind/Nethermind.Blockchain/Services/ManualHealthHintService.cs b/src/Nethermind/Nethermind.Blockchain/Services/ManualHealthHintService.cs index b1d36e8689a..e2c23a9f4b3 100644 --- a/src/Nethermind/Nethermind.Blockchain/Services/ManualHealthHintService.cs +++ b/src/Nethermind/Nethermind.Blockchain/Services/ManualHealthHintService.cs @@ -1,5 +1,3 @@ -using System; - namespace Nethermind.Blockchain.Services; public class ManualHealthHintService : IHealthHintService diff --git a/src/Nethermind/Nethermind.Blockchain/SpecificBlockReadOnlyStateProvider.cs b/src/Nethermind/Nethermind.Blockchain/SpecificBlockReadOnlyStateProvider.cs index c28e2000d9a..d988be83475 100644 --- a/src/Nethermind/Nethermind.Blockchain/SpecificBlockReadOnlyStateProvider.cs +++ b/src/Nethermind/Nethermind.Blockchain/SpecificBlockReadOnlyStateProvider.cs @@ -5,7 +5,6 @@ using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Int256; using Nethermind.State; using Nethermind.Trie; diff --git a/src/Nethermind/Nethermind.Blockchain/Utils/LastNStateRootTracker.cs b/src/Nethermind/Nethermind.Blockchain/Utils/LastNStateRootTracker.cs index 727b04b5fc3..29f0f552d54 100644 --- a/src/Nethermind/Nethermind.Blockchain/Utils/LastNStateRootTracker.cs +++ b/src/Nethermind/Nethermind.Blockchain/Utils/LastNStateRootTracker.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using Nethermind.Blockchain.Find; diff --git a/src/Nethermind/Nethermind.Blockchain/Visitors/StartupBlockTreeFixer.cs b/src/Nethermind/Nethermind.Blockchain/Visitors/StartupBlockTreeFixer.cs index 8331c87d46c..d63d56c2e34 100644 --- a/src/Nethermind/Nethermind.Blockchain/Visitors/StartupBlockTreeFixer.cs +++ b/src/Nethermind/Nethermind.Blockchain/Visitors/StartupBlockTreeFixer.cs @@ -10,7 +10,6 @@ using Nethermind.Blockchain.Synchronization; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Db; using Nethermind.Logging; using Nethermind.State; diff --git a/src/Nethermind/Nethermind.Cli.Test/ProofCliModuleTests.cs b/src/Nethermind/Nethermind.Cli.Test/ProofCliModuleTests.cs index 3eac4d9207c..7dedd82dcc2 100644 --- a/src/Nethermind/Nethermind.Cli.Test/ProofCliModuleTests.cs +++ b/src/Nethermind/Nethermind.Cli.Test/ProofCliModuleTests.cs @@ -10,7 +10,6 @@ using Nethermind.Facade.Eth; using Nethermind.JsonRpc; using Nethermind.JsonRpc.Client; -using Nethermind.JsonRpc.Data; using Nethermind.Logging; using Nethermind.Serialization.Json; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Cli/Modules/EthCliModule.cs b/src/Nethermind/Nethermind.Cli/Modules/EthCliModule.cs index 961ce37bfe9..9fbdaf67e48 100644 --- a/src/Nethermind/Nethermind.Cli/Modules/EthCliModule.cs +++ b/src/Nethermind/Nethermind.Cli/Modules/EthCliModule.cs @@ -9,7 +9,6 @@ using Nethermind.Core.Extensions; using Nethermind.Facade.Eth; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; namespace Nethermind.Cli.Modules { diff --git a/src/Nethermind/Nethermind.Cli/Program.cs b/src/Nethermind/Nethermind.Cli/Program.cs index e51f9c5c904..efadd38771c 100644 --- a/src/Nethermind/Nethermind.Cli/Program.cs +++ b/src/Nethermind/Nethermind.Cli/Program.cs @@ -12,7 +12,6 @@ using Nethermind.Cli.Console; using Nethermind.Cli.Modules; using Nethermind.Config; -using Nethermind.JsonRpc.Modules.Trace; using Nethermind.Logging; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Clique.Test/CliqueBlockProducerTests.cs b/src/Nethermind/Nethermind.Clique.Test/CliqueBlockProducerTests.cs index dbb56948e14..11e5cf32f28 100644 --- a/src/Nethermind/Nethermind.Clique.Test/CliqueBlockProducerTests.cs +++ b/src/Nethermind/Nethermind.Clique.Test/CliqueBlockProducerTests.cs @@ -7,7 +7,6 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -using FluentAssertions; using Nethermind.Blockchain; using Nethermind.Blockchain.BeaconBlockRoot; using Nethermind.Blockchain.Blocks; diff --git a/src/Nethermind/Nethermind.Config/BlocksConfig.cs b/src/Nethermind/Nethermind.Config/BlocksConfig.cs index 229912457e5..5ca66e4c994 100644 --- a/src/Nethermind/Nethermind.Config/BlocksConfig.cs +++ b/src/Nethermind/Nethermind.Config/BlocksConfig.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Reflection.Metadata; using System.Text; using Nethermind.Core.Exceptions; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Config/ConfigSourceHelper.cs b/src/Nethermind/Nethermind.Config/ConfigSourceHelper.cs index 91ebde3f3a5..f30ec069974 100644 --- a/src/Nethermind/Nethermind.Config/ConfigSourceHelper.cs +++ b/src/Nethermind/Nethermind.Config/ConfigSourceHelper.cs @@ -7,7 +7,6 @@ using System.Linq; using Nethermind.Int256; using System.Text.Json; -using System.Text.Json.Serialization; namespace Nethermind.Config { diff --git a/src/Nethermind/Nethermind.Consensus.AuRa/AuRaBlockProcessor.cs b/src/Nethermind/Nethermind.Consensus.AuRa/AuRaBlockProcessor.cs index 2661da25d01..ad25c5e74d9 100644 --- a/src/Nethermind/Nethermind.Consensus.AuRa/AuRaBlockProcessor.cs +++ b/src/Nethermind/Nethermind.Consensus.AuRa/AuRaBlockProcessor.cs @@ -16,11 +16,9 @@ using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; -using Nethermind.Evm; using Nethermind.Evm.Tracing; using Nethermind.Logging; using Nethermind.State; -using Nethermind.Trie; using Nethermind.TxPool; namespace Nethermind.Consensus.AuRa diff --git a/src/Nethermind/Nethermind.Consensus.AuRa/AuRaPlugin.cs b/src/Nethermind/Nethermind.Consensus.AuRa/AuRaPlugin.cs index f3c766da5f0..896399641ee 100644 --- a/src/Nethermind/Nethermind.Consensus.AuRa/AuRaPlugin.cs +++ b/src/Nethermind/Nethermind.Consensus.AuRa/AuRaPlugin.cs @@ -7,7 +7,6 @@ using Nethermind.Api.Extensions; using Nethermind.Config; using Nethermind.Consensus.AuRa.InitializationSteps; -using Nethermind.Consensus.Producers; using Nethermind.Consensus.Transactions; using Nethermind.Logging; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/StartBlockProducerAuRa.cs b/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/StartBlockProducerAuRa.cs index b55a38265e6..ecba606743d 100644 --- a/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/StartBlockProducerAuRa.cs +++ b/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/StartBlockProducerAuRa.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; using Nethermind.Abi; using Nethermind.Api; using Nethermind.Blockchain; diff --git a/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/TxAuRaFilterBuilders.cs b/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/TxAuRaFilterBuilders.cs index f5da000f2e9..6f3cfb20156 100644 --- a/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/TxAuRaFilterBuilders.cs +++ b/src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/TxAuRaFilterBuilders.cs @@ -10,7 +10,6 @@ using Nethermind.Consensus.Transactions; using Nethermind.Core; using Nethermind.Core.Specs; -using Nethermind.Evm.TransactionProcessing; using Nethermind.Init.Steps; namespace Nethermind.Consensus.AuRa.InitializationSteps diff --git a/src/Nethermind/Nethermind.Consensus.Clique/CliquePlugin.cs b/src/Nethermind/Nethermind.Consensus.Clique/CliquePlugin.cs index 32d2616aca1..bb087f911f0 100644 --- a/src/Nethermind/Nethermind.Consensus.Clique/CliquePlugin.cs +++ b/src/Nethermind/Nethermind.Consensus.Clique/CliquePlugin.cs @@ -16,12 +16,9 @@ using Nethermind.Consensus.Rewards; using Nethermind.Consensus.Transactions; using Nethermind.Consensus.Withdrawals; -using Nethermind.Core.Attributes; using Nethermind.Core.Crypto; -using Nethermind.Db; using Nethermind.Evm.TransactionProcessing; using Nethermind.JsonRpc.Modules; -using Nethermind.State; namespace Nethermind.Consensus.Clique { diff --git a/src/Nethermind/Nethermind.Consensus.Clique/CliqueSealer.cs b/src/Nethermind/Nethermind.Consensus.Clique/CliqueSealer.cs index 2e47118d42e..c445b5e591f 100644 --- a/src/Nethermind/Nethermind.Consensus.Clique/CliqueSealer.cs +++ b/src/Nethermind/Nethermind.Consensus.Clique/CliqueSealer.cs @@ -7,11 +7,8 @@ using System.Threading.Tasks; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Crypto; -using Nethermind.JsonRpc; using Nethermind.Logging; -using Nethermind.Serialization.Rlp; [assembly: InternalsVisibleTo("Nethermind.Clique.Test")] diff --git a/src/Nethermind/Nethermind.Consensus.Clique/SnapshotManager.cs b/src/Nethermind/Nethermind.Consensus.Clique/SnapshotManager.cs index 29b8e19a91f..de8492fa5f9 100644 --- a/src/Nethermind/Nethermind.Consensus.Clique/SnapshotManager.cs +++ b/src/Nethermind/Nethermind.Consensus.Clique/SnapshotManager.cs @@ -14,7 +14,6 @@ using Nethermind.Core.Extensions; using Nethermind.Crypto; using Nethermind.Db; -using Nethermind.Int256; using Nethermind.Logging; using Nethermind.Serialization.Rlp; diff --git a/src/Nethermind/Nethermind.Consensus.Ethash/EthashPlugin.cs b/src/Nethermind/Nethermind.Consensus.Ethash/EthashPlugin.cs index dae39105746..9968d1a132b 100644 --- a/src/Nethermind/Nethermind.Consensus.Ethash/EthashPlugin.cs +++ b/src/Nethermind/Nethermind.Consensus.Ethash/EthashPlugin.cs @@ -4,7 +4,6 @@ using System.Threading.Tasks; using Nethermind.Api; using Nethermind.Api.Extensions; -using Nethermind.Consensus.Producers; using Nethermind.Consensus.Rewards; using Nethermind.Consensus.Transactions; diff --git a/src/Nethermind/Nethermind.Consensus.Ethash/NethDevPlugin.cs b/src/Nethermind/Nethermind.Consensus.Ethash/NethDevPlugin.cs index 93a485fabff..13f2e50b865 100644 --- a/src/Nethermind/Nethermind.Consensus.Ethash/NethDevPlugin.cs +++ b/src/Nethermind/Nethermind.Consensus.Ethash/NethDevPlugin.cs @@ -15,10 +15,8 @@ using Nethermind.Consensus.Rewards; using Nethermind.Consensus.Transactions; using Nethermind.Core.Crypto; -using Nethermind.Db; using Nethermind.Evm.TransactionProcessing; using Nethermind.Logging; -using Nethermind.State; namespace Nethermind.Consensus.Ethash { diff --git a/src/Nethermind/Nethermind.Consensus.Test/CensorshipDetectorTests.cs b/src/Nethermind/Nethermind.Consensus.Test/CensorshipDetectorTests.cs index 4e8ba989451..6755e0617a6 100644 --- a/src/Nethermind/Nethermind.Consensus.Test/CensorshipDetectorTests.cs +++ b/src/Nethermind/Nethermind.Consensus.Test/CensorshipDetectorTests.cs @@ -18,7 +18,6 @@ using Nethermind.Db; using Nethermind.Logging; using Nethermind.Specs; -using Nethermind.Specs.Forks; using Nethermind.State; using Nethermind.Trie.Pruning; using Nethermind.TxPool; diff --git a/src/Nethermind/Nethermind.Consensus/Eip1559GasLimitAdjuster.cs b/src/Nethermind/Nethermind.Consensus/Eip1559GasLimitAdjuster.cs index 98e15179438..52649295c1c 100644 --- a/src/Nethermind/Nethermind.Consensus/Eip1559GasLimitAdjuster.cs +++ b/src/Nethermind/Nethermind.Consensus/Eip1559GasLimitAdjuster.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Core; using Nethermind.Core.Specs; namespace Nethermind.Consensus diff --git a/src/Nethermind/Nethermind.Consensus/IBlockProducerFactory.cs b/src/Nethermind/Nethermind.Consensus/IBlockProducerFactory.cs index 46735b2501a..1a59e64d8ea 100644 --- a/src/Nethermind/Nethermind.Consensus/IBlockProducerFactory.cs +++ b/src/Nethermind/Nethermind.Consensus/IBlockProducerFactory.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Threading.Tasks; -using Nethermind.Consensus.Producers; using Nethermind.Consensus.Transactions; namespace Nethermind.Consensus; diff --git a/src/Nethermind/Nethermind.Consensus/ISigner.cs b/src/Nethermind/Nethermind.Consensus/ISigner.cs index ec34eafa187..1174e68a1d0 100644 --- a/src/Nethermind/Nethermind.Consensus/ISigner.cs +++ b/src/Nethermind/Nethermind.Consensus/ISigner.cs @@ -5,7 +5,6 @@ using Nethermind.Core.Crypto; using Nethermind.Crypto; using Nethermind.TxPool; -using System; namespace Nethermind.Consensus { diff --git a/src/Nethermind/Nethermind.Consensus/Messages/BlockErrorMessages.cs b/src/Nethermind/Nethermind.Consensus/Messages/BlockErrorMessages.cs index d949d8fcfe5..f6629b7dae4 100644 --- a/src/Nethermind/Nethermind.Consensus/Messages/BlockErrorMessages.cs +++ b/src/Nethermind/Nethermind.Consensus/Messages/BlockErrorMessages.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Core; -using Nethermind.Crypto; namespace Nethermind.Consensus.Messages; public static class BlockErrorMessages diff --git a/src/Nethermind/Nethermind.Consensus/Messages/TxErrorMessages.cs b/src/Nethermind/Nethermind.Consensus/Messages/TxErrorMessages.cs index 8eab24494cf..444b86b7738 100644 --- a/src/Nethermind/Nethermind.Consensus/Messages/TxErrorMessages.cs +++ b/src/Nethermind/Nethermind.Consensus/Messages/TxErrorMessages.cs @@ -3,11 +3,6 @@ using Nethermind.Core; using Nethermind.Crypto; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Nethermind.Consensus.Messages; public static class TxErrorMessages diff --git a/src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs b/src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs index 6598b9798a8..ba2d9a6a1d7 100644 --- a/src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs +++ b/src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs @@ -6,8 +6,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using System.Runtime; -using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Nethermind.Blockchain; @@ -16,7 +14,6 @@ using Nethermind.Core.Attributes; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; -using Nethermind.Core.Memory; using Nethermind.Evm.Tracing; using Nethermind.Evm.Tracing.GethStyle; using Nethermind.Evm.Tracing.ParityStyle; diff --git a/src/Nethermind/Nethermind.Consensus/Processing/IBlockProcessor.cs b/src/Nethermind/Nethermind.Consensus/Processing/IBlockProcessor.cs index c8dbed52213..56adb05bfdb 100644 --- a/src/Nethermind/Nethermind.Consensus/Processing/IBlockProcessor.cs +++ b/src/Nethermind/Nethermind.Consensus/Processing/IBlockProcessor.cs @@ -7,7 +7,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Specs; using Nethermind.Evm.Tracing; -using Nethermind.Evm.TransactionProcessing; namespace Nethermind.Consensus.Processing { diff --git a/src/Nethermind/Nethermind.Consensus/Processing/OneTimeProcessor.cs b/src/Nethermind/Nethermind.Consensus/Processing/OneTimeProcessor.cs index cdeb4ab6712..bbce6b3296b 100644 --- a/src/Nethermind/Nethermind.Consensus/Processing/OneTimeProcessor.cs +++ b/src/Nethermind/Nethermind.Consensus/Processing/OneTimeProcessor.cs @@ -4,7 +4,6 @@ using System; using System.Threading.Tasks; using Nethermind.Core; -using Nethermind.Db; using Nethermind.Evm.Tracing; using Nethermind.State; diff --git a/src/Nethermind/Nethermind.Consensus/Producers/IBlockProducerInfo.cs b/src/Nethermind/Nethermind.Consensus/Producers/IBlockProducerInfo.cs index 1df7ce39e70..d14bc396645 100644 --- a/src/Nethermind/Nethermind.Consensus/Producers/IBlockProducerInfo.cs +++ b/src/Nethermind/Nethermind.Consensus/Producers/IBlockProducerInfo.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using Nethermind.Core; using Nethermind.Evm.Tracing; namespace Nethermind.Consensus.Producers diff --git a/src/Nethermind/Nethermind.Consensus/Producers/PayloadAttributes.cs b/src/Nethermind/Nethermind.Consensus/Producers/PayloadAttributes.cs index 0a38cffe602..05133e0ec08 100644 --- a/src/Nethermind/Nethermind.Consensus/Producers/PayloadAttributes.cs +++ b/src/Nethermind/Nethermind.Consensus/Producers/PayloadAttributes.cs @@ -3,7 +3,6 @@ using System.Buffers.Binary; using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Consensus/Validators/HeaderValidator.cs b/src/Nethermind/Nethermind.Consensus/Validators/HeaderValidator.cs index 368524c6bb1..e360137a63b 100644 --- a/src/Nethermind/Nethermind.Consensus/Validators/HeaderValidator.cs +++ b/src/Nethermind/Nethermind.Consensus/Validators/HeaderValidator.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using Microsoft.Extensions.Options; using Nethermind.Blockchain; using Nethermind.Blockchain.Find; using Nethermind.Consensus.Messages; diff --git a/src/Nethermind/Nethermind.Core.Test/AddressTests.cs b/src/Nethermind/Nethermind.Core.Test/AddressTests.cs index ae97cef42ae..19acad3b99b 100644 --- a/src/Nethermind/Nethermind.Core.Test/AddressTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/AddressTests.cs @@ -3,7 +3,6 @@ using System.Collections; using FluentAssertions; -using Nethermind.Blockchain; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Core.Specs; diff --git a/src/Nethermind/Nethermind.Core.Test/Blockchain/TestBlockchain.cs b/src/Nethermind/Nethermind.Core.Test/Blockchain/TestBlockchain.cs index 8282d206109..2ad1bb3d1bd 100644 --- a/src/Nethermind/Nethermind.Core.Test/Blockchain/TestBlockchain.cs +++ b/src/Nethermind/Nethermind.Core.Test/Blockchain/TestBlockchain.cs @@ -9,7 +9,6 @@ using Nethermind.Blockchain.BeaconBlockRoot; using Nethermind.Blockchain.Blocks; using Nethermind.Blockchain.Find; -using Nethermind.Blockchain.FullPruning; using Nethermind.Blockchain.Headers; using Nethermind.Blockchain.Receipts; using Nethermind.Blockchain.Synchronization; diff --git a/src/Nethermind/Nethermind.Core.Test/Builders/TestItem.cs b/src/Nethermind/Nethermind.Core.Test/Builders/TestItem.cs index a653619f397..6ff57cec266 100644 --- a/src/Nethermind/Nethermind.Core.Test/Builders/TestItem.cs +++ b/src/Nethermind/Nethermind.Core.Test/Builders/TestItem.cs @@ -2,9 +2,7 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.IO; using System.Net; -using System.Text.Json; using Nethermind.Core.Crypto; using Nethermind.Crypto; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Core.Test/Builders/TransactionBuilder.cs b/src/Nethermind/Nethermind.Core.Test/Builders/TransactionBuilder.cs index cb8c9e984f3..12fce9e868a 100644 --- a/src/Nethermind/Nethermind.Core.Test/Builders/TransactionBuilder.cs +++ b/src/Nethermind/Nethermind.Core.Test/Builders/TransactionBuilder.cs @@ -7,7 +7,6 @@ using Nethermind.Core.Eip2930; using Nethermind.Crypto; using Nethermind.Int256; -using Nethermind.Logging; namespace Nethermind.Core.Test.Builders { diff --git a/src/Nethermind/Nethermind.Core.Test/Builders/TransactionValidatorBuilder.cs b/src/Nethermind/Nethermind.Core.Test/Builders/TransactionValidatorBuilder.cs index fe41081f60e..7ed70774b64 100644 --- a/src/Nethermind/Nethermind.Core.Test/Builders/TransactionValidatorBuilder.cs +++ b/src/Nethermind/Nethermind.Core.Test/Builders/TransactionValidatorBuilder.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Consensus.Validators; using Nethermind.Core.Specs; using Nethermind.TxPool; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Core.Test/BytesTests.cs b/src/Nethermind/Nethermind.Core.Test/BytesTests.cs index ed69bfeeea6..a277c4bf9fe 100644 --- a/src/Nethermind/Nethermind.Core.Test/BytesTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/BytesTests.cs @@ -9,8 +9,6 @@ using System.Numerics; using FluentAssertions; using Nethermind.Core.Extensions; -using Nethermind.Serialization.Json; - using NUnit.Framework; namespace Nethermind.Core.Test diff --git a/src/Nethermind/Nethermind.Core.Test/Crypto/EthereumEcdsaTests.cs b/src/Nethermind/Nethermind.Core.Test/Crypto/EthereumEcdsaTests.cs index a11dc55dd69..d5c806b395e 100644 --- a/src/Nethermind/Nethermind.Core.Test/Crypto/EthereumEcdsaTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Crypto/EthereumEcdsaTests.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Logging; using NUnit.Framework; namespace Nethermind.Core.Test.Crypto diff --git a/src/Nethermind/Nethermind.Core.Test/Encoding/BlockDecoderTests.cs b/src/Nethermind/Nethermind.Core.Test/Encoding/BlockDecoderTests.cs index 2b9b49dda37..c1aedd607ac 100644 --- a/src/Nethermind/Nethermind.Core.Test/Encoding/BlockDecoderTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Encoding/BlockDecoderTests.cs @@ -8,7 +8,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Int256; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Core.Test/Encoding/HeaderDecoderTests.cs b/src/Nethermind/Nethermind.Core.Test/Encoding/HeaderDecoderTests.cs index 380e9a66f9a..8d037027123 100644 --- a/src/Nethermind/Nethermind.Core.Test/Encoding/HeaderDecoderTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Encoding/HeaderDecoderTests.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using FluentAssertions; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Core.Test/Encoding/ShardBlobTxDecoderTests.cs b/src/Nethermind/Nethermind.Core.Test/Encoding/ShardBlobTxDecoderTests.cs index bf70a7b46f9..3266f414461 100644 --- a/src/Nethermind/Nethermind.Core.Test/Encoding/ShardBlobTxDecoderTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Encoding/ShardBlobTxDecoderTests.cs @@ -9,7 +9,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Core.Test/Encoding/TxDecoderTests.cs b/src/Nethermind/Nethermind.Core.Test/Encoding/TxDecoderTests.cs index 2bf4116bab7..ad7f29b2668 100644 --- a/src/Nethermind/Nethermind.Core.Test/Encoding/TxDecoderTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Encoding/TxDecoderTests.cs @@ -12,8 +12,6 @@ using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Int256; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Core.Test/Encoding/WithdrawalDecoderTests.cs b/src/Nethermind/Nethermind.Core.Test/Encoding/WithdrawalDecoderTests.cs index 7408c193bd5..25c2bf458c8 100644 --- a/src/Nethermind/Nethermind.Core.Test/Encoding/WithdrawalDecoderTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Encoding/WithdrawalDecoderTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; using Nethermind.Core.Extensions; using Nethermind.Serialization.Rlp; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/BigIntegerConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/BigIntegerConverterTests.cs index 0ac2270dfda..6e7fa511a53 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/BigIntegerConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/BigIntegerConverterTests.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.IO; using System.Numerics; using System.Text.Json; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/ConverterTestBase.cs b/src/Nethermind/Nethermind.Core.Test/Json/ConverterTestBase.cs index 03329a6e88e..656767549eb 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/ConverterTestBase.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/ConverterTestBase.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.IO; -using System.Text; using System.Text.Json; using System.Text.Json.Serialization; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/DoubleArrayConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/DoubleArrayConverterTests.cs index d177b45f40d..a2df10833e9 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/DoubleArrayConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/DoubleArrayConverterTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Text.Json; using Nethermind.Serialization.Json; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/Hash256ConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/Hash256ConverterTests.cs index 66ae46b8e72..1e6afeffa5a 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/Hash256ConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/Hash256ConverterTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.IO; using System.Text.Json; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/LongConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/LongConverterTests.cs index 49eaa264371..05555a90a38 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/LongConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/LongConverterTests.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.IO; using System.Text.Json; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/NullableBigIntegerConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/NullableBigIntegerConverterTests.cs index eb0c8bb5bf5..7f27bbee52d 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/NullableBigIntegerConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/NullableBigIntegerConverterTests.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.IO; using System.Numerics; using System.Text.Json; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/NullableLongConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/NullableLongConverterTests.cs index 1bcc127f0c7..a383b4928ba 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/NullableLongConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/NullableLongConverterTests.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.IO; using System.Text.Json; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/NullableUlongConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/NullableUlongConverterTests.cs index 3199608c669..bf4287fed76 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/NullableUlongConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/NullableUlongConverterTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Text.Json; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.Core.Test/Json/UInt256ConverterTests.cs b/src/Nethermind/Nethermind.Core.Test/Json/UInt256ConverterTests.cs index c0f771b8091..cb79933f968 100644 --- a/src/Nethermind/Nethermind.Core.Test/Json/UInt256ConverterTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/Json/UInt256ConverterTests.cs @@ -3,11 +3,9 @@ using System; using System.Globalization; -using System.IO; using Nethermind.Int256; using Nethermind.Serialization.Json; using System.Text.Json; -using System.Text.Json.Serialization; using NUnit.Framework; namespace Nethermind.Core.Test.Json diff --git a/src/Nethermind/Nethermind.Core.Test/McsPriorityLock.cs b/src/Nethermind/Nethermind.Core.Test/McsPriorityLock.cs index febca4f7bf1..873a500d13b 100644 --- a/src/Nethermind/Nethermind.Core.Test/McsPriorityLock.cs +++ b/src/Nethermind/Nethermind.Core.Test/McsPriorityLock.cs @@ -3,9 +3,6 @@ using Nethermind.Core.Threading; using NUnit.Framework; -using NUnit.Framework.Internal; - -using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/src/Nethermind/Nethermind.Core.Test/SignerTests.cs b/src/Nethermind/Nethermind.Core.Test/SignerTests.cs index 53683e27c9c..80ab287b532 100644 --- a/src/Nethermind/Nethermind.Core.Test/SignerTests.cs +++ b/src/Nethermind/Nethermind.Core.Test/SignerTests.cs @@ -6,7 +6,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Logging; using NUnit.Framework; namespace Nethermind.Core.Test diff --git a/src/Nethermind/Nethermind.Core/Address.cs b/src/Nethermind/Nethermind.Core/Address.cs index f09c9e5b76d..b26553d8e31 100644 --- a/src/Nethermind/Nethermind.Core/Address.cs +++ b/src/Nethermind/Nethermind.Core/Address.cs @@ -4,7 +4,6 @@ using System; using System.ComponentModel; using System.Globalization; -using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; diff --git a/src/Nethermind/Nethermind.Core/Block.cs b/src/Nethermind/Nethermind.Core/Block.cs index 8bb47197811..710057563b6 100644 --- a/src/Nethermind/Nethermind.Core/Block.cs +++ b/src/Nethermind/Nethermind.Core/Block.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Text.Json.Serialization; diff --git a/src/Nethermind/Nethermind.Core/Caching/SpanLruCache.cs b/src/Nethermind/Nethermind.Core/Caching/SpanLruCache.cs index 6cc6be188ab..49c63ef6dc8 100644 --- a/src/Nethermind/Nethermind.Core/Caching/SpanLruCache.cs +++ b/src/Nethermind/Nethermind.Core/Caching/SpanLruCache.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; -using System.Runtime.CompilerServices; using Nethermind.Core.Collections; using Nethermind.Core.Threading; diff --git a/src/Nethermind/Nethermind.Core/Collections/CollectionExtensions.cs b/src/Nethermind/Nethermind.Core/Collections/CollectionExtensions.cs index 2a5f606b9c9..585ac40db4a 100644 --- a/src/Nethermind/Nethermind.Core/Collections/CollectionExtensions.cs +++ b/src/Nethermind/Nethermind.Core/Collections/CollectionExtensions.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Nethermind/Nethermind.Core/Crypto/Hash256.cs b/src/Nethermind/Nethermind.Core/Crypto/Hash256.cs index 808a262d22b..cc317af86fb 100644 --- a/src/Nethermind/Nethermind.Core/Crypto/Hash256.cs +++ b/src/Nethermind/Nethermind.Core/Crypto/Hash256.cs @@ -3,7 +3,6 @@ using System; using System.Diagnostics; -using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; diff --git a/src/Nethermind/Nethermind.Core/Crypto/PublicKey.cs b/src/Nethermind/Nethermind.Core/Crypto/PublicKey.cs index 19db37e7914..f2d8f1ea2c6 100644 --- a/src/Nethermind/Nethermind.Core/Crypto/PublicKey.cs +++ b/src/Nethermind/Nethermind.Core/Crypto/PublicKey.cs @@ -2,9 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Numerics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; using System.Text.Json.Serialization; using System.Threading; diff --git a/src/Nethermind/Nethermind.Core/Eip2935Constants.cs b/src/Nethermind/Nethermind.Core/Eip2935Constants.cs index 1e0a56e5f1c..7758e288687 100644 --- a/src/Nethermind/Nethermind.Core/Eip2935Constants.cs +++ b/src/Nethermind/Nethermind.Core/Eip2935Constants.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Int256; - namespace Nethermind.Core; /// diff --git a/src/Nethermind/Nethermind.Core/Eip4788Constants.cs b/src/Nethermind/Nethermind.Core/Eip4788Constants.cs index 9097397d58f..fed5db663d8 100644 --- a/src/Nethermind/Nethermind.Core/Eip4788Constants.cs +++ b/src/Nethermind/Nethermind.Core/Eip4788Constants.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Int256; - namespace Nethermind.Core; /// diff --git a/src/Nethermind/Nethermind.Core/Extensions/ByteArrayExtensions.cs b/src/Nethermind/Nethermind.Core/Extensions/ByteArrayExtensions.cs index f1887f5d350..665d8368319 100644 --- a/src/Nethermind/Nethermind.Core/Extensions/ByteArrayExtensions.cs +++ b/src/Nethermind/Nethermind.Core/Extensions/ByteArrayExtensions.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using Nethermind.Core.Collections; namespace Nethermind.Core.Extensions { diff --git a/src/Nethermind/Nethermind.Core/Extensions/SizeExtensions.cs b/src/Nethermind/Nethermind.Core/Extensions/SizeExtensions.cs index 3fe8aa46279..ba773225fb4 100644 --- a/src/Nethermind/Nethermind.Core/Extensions/SizeExtensions.cs +++ b/src/Nethermind/Nethermind.Core/Extensions/SizeExtensions.cs @@ -1,9 +1,7 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Globalization; using System; -using System.Runtime.CompilerServices; namespace Nethermind.Core.Extensions { diff --git a/src/Nethermind/Nethermind.Core/NullableByteReadOnlyMemoryConverter.cs b/src/Nethermind/Nethermind.Core/NullableByteReadOnlyMemoryConverter.cs index e49442928b4..bec762bd3e1 100644 --- a/src/Nethermind/Nethermind.Core/NullableByteReadOnlyMemoryConverter.cs +++ b/src/Nethermind/Nethermind.Core/NullableByteReadOnlyMemoryConverter.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Diagnostics; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/src/Nethermind/Nethermind.Core/Specs/AuraSpecProvider.cs b/src/Nethermind/Nethermind.Core/Specs/AuraSpecProvider.cs index 0fa1f8a7dfd..bd2585b5320 100644 --- a/src/Nethermind/Nethermind.Core/Specs/AuraSpecProvider.cs +++ b/src/Nethermind/Nethermind.Core/Specs/AuraSpecProvider.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Int256; - namespace Nethermind.Core.Specs; public class AuraSpecProvider(IReleaseSpec spec) : ReleaseSpecDecorator(spec) diff --git a/src/Nethermind/Nethermind.Core/Threading/McsLock.cs b/src/Nethermind/Nethermind.Core/Threading/McsLock.cs index 158e2d2e09e..0e9d3af015d 100644 --- a/src/Nethermind/Nethermind.Core/Threading/McsLock.cs +++ b/src/Nethermind/Nethermind.Core/Threading/McsLock.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Threading; namespace Nethermind.Core.Threading; @@ -141,7 +140,7 @@ public void Dispose() { SignalUnlock(next); } - // Remove the reference to the next node + // Remove the reference to the next node node.Next = null; } diff --git a/src/Nethermind/Nethermind.Core/Threading/McsPriorityLock.cs b/src/Nethermind/Nethermind.Core/Threading/McsPriorityLock.cs index 3fa8fb15c06..4b5b525565d 100644 --- a/src/Nethermind/Nethermind.Core/Threading/McsPriorityLock.cs +++ b/src/Nethermind/Nethermind.Core/Threading/McsPriorityLock.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Diagnostics.CodeAnalysis; -using System.Diagnostics; using System.Threading; namespace Nethermind.Core.Threading; diff --git a/src/Nethermind/Nethermind.Crypto/EthereumEcdsa.cs b/src/Nethermind/Nethermind.Crypto/EthereumEcdsa.cs index 7b27a145d43..3d02ee78bb0 100644 --- a/src/Nethermind/Nethermind.Crypto/EthereumEcdsa.cs +++ b/src/Nethermind/Nethermind.Crypto/EthereumEcdsa.cs @@ -7,7 +7,6 @@ using System.Numerics; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; namespace Nethermind.Crypto diff --git a/src/Nethermind/Nethermind.Db.Rocks/Config/DbConfig.cs b/src/Nethermind/Nethermind.Db.Rocks/Config/DbConfig.cs index b18a43b70b5..62944818adf 100644 --- a/src/Nethermind/Nethermind.Db.Rocks/Config/DbConfig.cs +++ b/src/Nethermind/Nethermind.Db.Rocks/Config/DbConfig.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Extensions; namespace Nethermind.Db.Rocks.Config; diff --git a/src/Nethermind/Nethermind.Db.Rocks/Config/IDbConfig.cs b/src/Nethermind/Nethermind.Db.Rocks/Config/IDbConfig.cs index b19730fdf50..a1d6af06eb6 100644 --- a/src/Nethermind/Nethermind.Db.Rocks/Config/IDbConfig.cs +++ b/src/Nethermind/Nethermind.Db.Rocks/Config/IDbConfig.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Config; namespace Nethermind.Db.Rocks.Config; diff --git a/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs b/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs index 58cff19798a..99a40bee739 100644 --- a/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs +++ b/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs @@ -1,11 +1,9 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Globalization; using System.IO; -using System.Threading; using Nethermind.Db.Rocks.Statistics; using NUnit.Framework; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Db.Test/DbOnTheRocksTests.cs b/src/Nethermind/Nethermind.Db.Test/DbOnTheRocksTests.cs index 7b7ff34f41c..d7401b484d8 100644 --- a/src/Nethermind/Nethermind.Db.Test/DbOnTheRocksTests.cs +++ b/src/Nethermind/Nethermind.Db.Test/DbOnTheRocksTests.cs @@ -19,7 +19,6 @@ using Nethermind.Db.Rocks.Config; using Nethermind.Logging; using NSubstitute; -using NSubstitute.ExceptionExtensions; using NUnit.Framework; using RocksDbSharp; using IWriteBatch = Nethermind.Core.IWriteBatch; diff --git a/src/Nethermind/Nethermind.Db/DbProvider.cs b/src/Nethermind/Nethermind.Db/DbProvider.cs index 27d15550da3..bf7b9ee02e4 100644 --- a/src/Nethermind/Nethermind.Db/DbProvider.cs +++ b/src/Nethermind/Nethermind.Db/DbProvider.cs @@ -5,7 +5,6 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; -using Nethermind.Core; namespace Nethermind.Db { diff --git a/src/Nethermind/Nethermind.Db/FullPruning/FullPruningDb.cs b/src/Nethermind/Nethermind.Db/FullPruning/FullPruningDb.cs index fad0f7d5d63..78349d64266 100755 --- a/src/Nethermind/Nethermind.Db/FullPruning/FullPruningDb.cs +++ b/src/Nethermind/Nethermind.Db/FullPruning/FullPruningDb.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Db/FullPruning/IPruningContext.cs b/src/Nethermind/Nethermind.Db/FullPruning/IPruningContext.cs index 7860a9f39f6..3cf34f984a8 100644 --- a/src/Nethermind/Nethermind.Db/FullPruning/IPruningContext.cs +++ b/src/Nethermind/Nethermind.Db/FullPruning/IPruningContext.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Threading; using Nethermind.Core; namespace Nethermind.Db.FullPruning diff --git a/src/Nethermind/Nethermind.Db/MemColumnsDb.cs b/src/Nethermind/Nethermind.Db/MemColumnsDb.cs index 55168313bee..044fce49982 100644 --- a/src/Nethermind/Nethermind.Db/MemColumnsDb.cs +++ b/src/Nethermind/Nethermind.Db/MemColumnsDb.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Linq; namespace Nethermind.Db { diff --git a/src/Nethermind/Nethermind.Db/RocksDbSettings.cs b/src/Nethermind/Nethermind.Db/RocksDbSettings.cs index 4786fac22a6..8f60f150de3 100644 --- a/src/Nethermind/Nethermind.Db/RocksDbSettings.cs +++ b/src/Nethermind/Nethermind.Db/RocksDbSettings.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; - namespace Nethermind.Db { public class DbSettings diff --git a/src/Nethermind/Nethermind.Db/SimpleFilePublicKeyDb.cs b/src/Nethermind/Nethermind.Db/SimpleFilePublicKeyDb.cs index 8b1451d19ce..a028419901e 100644 --- a/src/Nethermind/Nethermind.Db/SimpleFilePublicKeyDb.cs +++ b/src/Nethermind/Nethermind.Db/SimpleFilePublicKeyDb.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Buffers; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Nethermind/Nethermind.Db/StandardDbInitializer.cs b/src/Nethermind/Nethermind.Db/StandardDbInitializer.cs index c5fe7f0bf3d..2959de2d198 100644 --- a/src/Nethermind/Nethermind.Db/StandardDbInitializer.cs +++ b/src/Nethermind/Nethermind.Db/StandardDbInitializer.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.IO.Abstractions; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.EthStats/EthStatsPlugin.cs b/src/Nethermind/Nethermind.EthStats/EthStatsPlugin.cs index b57e083dbe6..b482e07de3d 100644 --- a/src/Nethermind/Nethermind.EthStats/EthStatsPlugin.cs +++ b/src/Nethermind/Nethermind.EthStats/EthStatsPlugin.cs @@ -11,10 +11,8 @@ using Nethermind.EthStats.Configs; using Nethermind.EthStats.Integrations; using Nethermind.EthStats.Senders; -using Nethermind.Logging; using Nethermind.Network.Config; using Nethermind.Network.P2P; -using ILogger = Nethermind.Logging.InterfaceLogger; namespace Nethermind.EthStats; diff --git a/src/Nethermind/Nethermind.Ethash.Test/DifficultyCalculatorTests.cs b/src/Nethermind/Nethermind.Ethash.Test/DifficultyCalculatorTests.cs index a07299cd280..1a81994a6e9 100644 --- a/src/Nethermind/Nethermind.Ethash.Test/DifficultyCalculatorTests.cs +++ b/src/Nethermind/Nethermind.Ethash.Test/DifficultyCalculatorTests.cs @@ -7,7 +7,6 @@ using Nethermind.Specs.Forks; using NUnit.Framework; using NSubstitute; -using Nethermind.Core; namespace Nethermind.Ethash.Test { diff --git a/src/Nethermind/Nethermind.Evm.Test/CodeAnalysis/CodeInfoTests.cs b/src/Nethermind/Nethermind.Evm.Test/CodeAnalysis/CodeInfoTests.cs index 67490a397e1..220af1f5d0a 100644 --- a/src/Nethermind/Nethermind.Evm.Test/CodeAnalysis/CodeInfoTests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/CodeAnalysis/CodeInfoTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Linq; -using System.Reflection; using System.Runtime.Intrinsics; using FluentAssertions; diff --git a/src/Nethermind/Nethermind.Evm.Test/CoinbaseTests.cs b/src/Nethermind/Nethermind.Evm.Test/CoinbaseTests.cs index a454635b61a..621fa480743 100644 --- a/src/Nethermind/Nethermind.Evm.Test/CoinbaseTests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/CoinbaseTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Core; -using Nethermind.Specs; using Nethermind.Core.Test.Builders; using NUnit.Framework; using Nethermind.Core.Specs; diff --git a/src/Nethermind/Nethermind.Evm.Test/Eip6780Tests.cs b/src/Nethermind/Nethermind.Evm.Test/Eip6780Tests.cs index 91e5329b87b..3fcb8eb0726 100644 --- a/src/Nethermind/Nethermind.Evm.Test/Eip6780Tests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/Eip6780Tests.cs @@ -19,7 +19,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Int256; -using Nethermind.Logging; using Nethermind.Specs; using NUnit.Framework; using FluentAssertions; diff --git a/src/Nethermind/Nethermind.Evm.Test/Keccak256Tests.cs b/src/Nethermind/Nethermind.Evm.Test/Keccak256Tests.cs index 82693f82f3b..9007e43325d 100644 --- a/src/Nethermind/Nethermind.Evm.Test/Keccak256Tests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/Keccak256Tests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Core; -using Nethermind.Specs; using Nethermind.Core.Test.Builders; using NUnit.Framework; using Nethermind.Core.Specs; diff --git a/src/Nethermind/Nethermind.Evm.Test/StorageAndSelfDestructTests.cs b/src/Nethermind/Nethermind.Evm.Test/StorageAndSelfDestructTests.cs index 97b553f28d8..148148dcea0 100644 --- a/src/Nethermind/Nethermind.Evm.Test/StorageAndSelfDestructTests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/StorageAndSelfDestructTests.cs @@ -8,7 +8,6 @@ using Nethermind.Crypto; using Nethermind.Int256; using Nethermind.Evm.Tracing.ParityStyle; -using Nethermind.Logging; using Nethermind.Specs; using Nethermind.Specs.Forks; using Nethermind.State; diff --git a/src/Nethermind/Nethermind.Evm.Test/TestBlockhashProvider.cs b/src/Nethermind/Nethermind.Evm.Test/TestBlockhashProvider.cs index 8f90fee3cdc..5a29719a223 100644 --- a/src/Nethermind/Nethermind.Evm.Test/TestBlockhashProvider.cs +++ b/src/Nethermind/Nethermind.Evm.Test/TestBlockhashProvider.cs @@ -4,7 +4,6 @@ using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Core.Specs; -using Nethermind.State; namespace Nethermind.Evm.Test { diff --git a/src/Nethermind/Nethermind.Evm.Test/Tracing/AccessTxTracerTests.cs b/src/Nethermind/Nethermind.Evm.Test/Tracing/AccessTxTracerTests.cs index 8adbf775e74..11966baec69 100644 --- a/src/Nethermind/Nethermind.Evm.Test/Tracing/AccessTxTracerTests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/Tracing/AccessTxTracerTests.cs @@ -3,23 +3,17 @@ using System.Collections; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using FluentAssertions; -using Nethermind.Abi; using Nethermind.Core; using Nethermind.Core.Collections; -using Nethermind.Core.Crypto; -using Nethermind.Core.Eip2930; using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; -using Nethermind.Crypto; using Nethermind.Evm.Tracing; using Nethermind.Int256; using Nethermind.Specs; using Nethermind.Specs.Forks; using NUnit.Framework; -using static Nethermind.Core.Eip2930.AccessList; namespace Nethermind.Evm.Test.Tracing { diff --git a/src/Nethermind/Nethermind.Evm.Test/Tracing/GethLikeNativeTracerFactoryTests.cs b/src/Nethermind/Nethermind.Evm.Test/Tracing/GethLikeNativeTracerFactoryTests.cs index 10ecf070f0a..5f756d29da3 100644 --- a/src/Nethermind/Nethermind.Evm.Test/Tracing/GethLikeNativeTracerFactoryTests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/Tracing/GethLikeNativeTracerFactoryTests.cs @@ -7,7 +7,6 @@ using Nethermind.Evm.Tracing.GethStyle; using Nethermind.Evm.Tracing.GethStyle.Custom.Native; using Nethermind.Evm.Tracing.GethStyle.Custom.Native.FourByte; -using Nethermind.State; using NUnit.Framework; namespace Nethermind.Evm.Test.Tracing; diff --git a/src/Nethermind/Nethermind.Evm.Test/VirtualMachineTestsBase.cs b/src/Nethermind/Nethermind.Evm.Test/VirtualMachineTestsBase.cs index c0985fdc74e..cf7beace3f4 100644 --- a/src/Nethermind/Nethermind.Evm.Test/VirtualMachineTestsBase.cs +++ b/src/Nethermind/Nethermind.Evm.Test/VirtualMachineTestsBase.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using System.Numerics; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/EvmState.cs b/src/Nethermind/Nethermind.Evm/EvmState.cs index d90b1b6532e..b2c7cb93022 100644 --- a/src/Nethermind/Nethermind.Evm/EvmState.cs +++ b/src/Nethermind/Nethermind.Evm/EvmState.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Threading; diff --git a/src/Nethermind/Nethermind.Evm/IBlockhashProvider.cs b/src/Nethermind/Nethermind.Evm/IBlockhashProvider.cs index bdbd27d52fc..ff225c7790d 100644 --- a/src/Nethermind/Nethermind.Evm/IBlockhashProvider.cs +++ b/src/Nethermind/Nethermind.Evm/IBlockhashProvider.cs @@ -3,8 +3,6 @@ using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Specs; -using Nethermind.State; namespace Nethermind.Evm { diff --git a/src/Nethermind/Nethermind.Evm/IEvmMemory.cs b/src/Nethermind/Nethermind.Evm/IEvmMemory.cs index 1817329a739..4cd68736f31 100644 --- a/src/Nethermind/Nethermind.Evm/IEvmMemory.cs +++ b/src/Nethermind/Nethermind.Evm/IEvmMemory.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Evm.Tracing; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Evm/IVirtualMachine.cs b/src/Nethermind/Nethermind.Evm/IVirtualMachine.cs index 8099d6d7b6c..a5ca480a980 100644 --- a/src/Nethermind/Nethermind.Evm/IVirtualMachine.cs +++ b/src/Nethermind/Nethermind.Evm/IVirtualMachine.cs @@ -1,11 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using Nethermind.Core; -using Nethermind.Core.Crypto; -using Nethermind.Core.Specs; -using Nethermind.Evm.CodeAnalysis; using Nethermind.Evm.Tracing; using Nethermind.State; diff --git a/src/Nethermind/Nethermind.Evm/IntrinsicGasCalculator.cs b/src/Nethermind/Nethermind.Evm/IntrinsicGasCalculator.cs index 7742bcfc5ba..2f9f70a99b8 100644 --- a/src/Nethermind/Nethermind.Evm/IntrinsicGasCalculator.cs +++ b/src/Nethermind/Nethermind.Evm/IntrinsicGasCalculator.cs @@ -3,14 +3,10 @@ using System; using System.IO; -using System.Numerics; using Nethermind.Core; using Nethermind.Core.Eip2930; using Nethermind.Core.Specs; using Nethermind.Int256; -using System.Runtime.Intrinsics; -using System.Runtime.InteropServices; -using System.Runtime.CompilerServices; using Nethermind.Core.Extensions; namespace Nethermind.Evm; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MulPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MulPrecompile.cs index 984caf75169..4da09429fe4 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MulPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MulPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MultiExpPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MultiExpPrecompile.cs index 81061a51d8e..cbd5b2e853e 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MultiExpPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G1MultiExpPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2AddPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2AddPrecompile.cs index b5d930a7404..b3358f121f9 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2AddPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2AddPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MulPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MulPrecompile.cs index e652f1aecdd..458d8258243 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MulPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MulPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MultiExpPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MultiExpPrecompile.cs index fe0bc2c797b..c5787f56439 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MultiExpPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/G2MultiExpPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG1Precompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG1Precompile.cs index 8a9cd615367..870a7569760 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG1Precompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG1Precompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG2Precompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG2Precompile.cs index e1eb684cd7b..e5c34602d22 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG2Precompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/MapToG2Precompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/PairingPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/PairingPrecompile.cs index d1ae573303c..6ecc604feea 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/PairingPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/PairingPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/SubgroupChecks.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/SubgroupChecks.cs index 50feddba291..847748f1b0c 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Bls/SubgroupChecks.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Bls/SubgroupChecks.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Linq; using System.Numerics; using System.Runtime.CompilerServices; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/EcRecoverPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/EcRecoverPrecompile.cs index 93a3b7994d1..1f1507fc1d5 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/EcRecoverPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/EcRecoverPrecompile.cs @@ -2,13 +2,11 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Core.Specs; using Nethermind.Crypto; -using Nethermind.Logging; namespace Nethermind.Evm.Precompiles { diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254AddPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254AddPrecompile.cs index d7d2ead270d..53ac83bac52 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254AddPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254AddPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254MulPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254MulPrecompile.cs index 27ee5e6018c..680e1f5206d 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254MulPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254MulPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254PairingPrecompile.cs b/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254PairingPrecompile.cs index efd5878862f..d785bf3d2a1 100644 --- a/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254PairingPrecompile.cs +++ b/src/Nethermind/Nethermind.Evm/Precompiles/Snarks/Bn254PairingPrecompile.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/CancellationTxTracer.cs b/src/Nethermind/Nethermind.Evm/Tracing/CancellationTxTracer.cs index 5bfd05b9d4a..1fea88df8b5 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/CancellationTxTracer.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/CancellationTxTracer.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Threading; -using System.Linq; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/CompositeTxTracer.cs b/src/Nethermind/Nethermind.Evm/Tracing/CompositeTxTracer.cs index 336766c6650..4b679316cac 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/CompositeTxTracer.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/CompositeTxTracer.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Evm.Tracing.GethStyle.Custom.JavaScript; using Nethermind.Int256; namespace Nethermind.Evm.Tracing; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/CallFrame.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/CallFrame.cs index c1b84843dec..04e710609ac 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/CallFrame.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/CallFrame.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Numerics; using Microsoft.ClearScript; using Microsoft.ClearScript.JavaScript; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Context.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Context.cs index a6f400591e6..f5b5be83729 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Context.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Context.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections; using Microsoft.ClearScript; using Microsoft.ClearScript.JavaScript; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Db.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Db.cs index 99af293232f..ff9753d095d 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Db.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Db.cs @@ -2,17 +2,9 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Buffers; -using System.Collections; -using System.Linq; -using System.Numerics; -using Microsoft.ClearScript; using Microsoft.ClearScript.JavaScript; -using Microsoft.ClearScript.V8; using Nethermind.Core; using Nethermind.Core.Buffers; -using Nethermind.Core.Crypto; -using Nethermind.Int256; using Nethermind.State; namespace Nethermind.Evm.Tracing.GethStyle.Custom.JavaScript; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Engine.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Engine.cs index 903163176c7..9c48dab92ed 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Engine.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Engine.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/FrameResult.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/FrameResult.cs index 0d80e36055e..209a28aee25 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/FrameResult.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/FrameResult.cs @@ -3,7 +3,6 @@ using Microsoft.ClearScript; using Microsoft.ClearScript.JavaScript; -using Microsoft.ClearScript.V8; namespace Nethermind.Evm.Tracing.GethStyle.Custom.JavaScript; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/GethLikeBlockJavaScriptTracer.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/GethLikeBlockJavaScriptTracer.cs index 3c8d9f6e5f9..c099380f1c0 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/GethLikeBlockJavaScriptTracer.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/GethLikeBlockJavaScriptTracer.cs @@ -6,7 +6,6 @@ using System.Collections.Generic; using System.Threading; using Nethermind.Core; -using Nethermind.Core.Collections; using Nethermind.Core.Specs; using Nethermind.Int256; using Nethermind.State; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Log.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Log.cs index 0cab84e755b..41a5e2140c0 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Log.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/JavaScript/Log.cs @@ -2,11 +2,9 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Core; using Nethermind.Int256; using System.Numerics; -using System.Runtime.InteropServices; using Microsoft.ClearScript; using Microsoft.ClearScript.JavaScript; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/Native/Call/NativeCallTracer.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/Native/Call/NativeCallTracer.cs index cbb08962d9a..26aea7ae81c 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/Native/Call/NativeCallTracer.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/Custom/Native/Call/NativeCallTracer.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using System.Diagnostics; using System.Text.Json; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/GethTxMemoryTraceEntry.cs b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/GethTxMemoryTraceEntry.cs index e4c8583a5e6..6046850f671 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/GethTxMemoryTraceEntry.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/GethStyle/GethTxMemoryTraceEntry.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; namespace Nethermind.Evm.Tracing.GethStyle; diff --git a/src/Nethermind/Nethermind.Evm/Tracing/TraceMemory.cs b/src/Nethermind/Nethermind.Evm/Tracing/TraceMemory.cs index 7668c220405..6e3373f3da6 100644 --- a/src/Nethermind/Nethermind.Evm/Tracing/TraceMemory.cs +++ b/src/Nethermind/Nethermind.Evm/Tracing/TraceMemory.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using System.Numerics; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Evm/TransactionProcessing/TransactionProcessor.cs b/src/Nethermind/Nethermind.Evm/TransactionProcessing/TransactionProcessor.cs index 71d47c7a2b5..2709165c9ba 100644 --- a/src/Nethermind/Nethermind.Evm/TransactionProcessing/TransactionProcessor.cs +++ b/src/Nethermind/Nethermind.Evm/TransactionProcessing/TransactionProcessor.cs @@ -17,8 +17,6 @@ using Nethermind.Logging; using Nethermind.State; using Nethermind.State.Tracing; -using static Nethermind.Core.Extensions.MemoryExtensions; - using static Nethermind.Evm.VirtualMachine; namespace Nethermind.Evm.TransactionProcessing @@ -175,6 +173,10 @@ protected virtual TransactionResult Execute(Transaction tx, in BlockExecutionCon { WorldState.Commit(spec, tracer.IsTracingState ? tracer : NullStateTracer.Instance, commitStorageRoots: !spec.IsEip658Enabled); } + else + { + WorldState.ResetTransient(); + } if (tracer.IsTracingReceipt) { diff --git a/src/Nethermind/Nethermind.Evm/VirtualMachine.cs b/src/Nethermind/Nethermind.Evm/VirtualMachine.cs index 358c1247d82..67907123a8c 100644 --- a/src/Nethermind/Nethermind.Evm/VirtualMachine.cs +++ b/src/Nethermind/Nethermind.Evm/VirtualMachine.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.ExternalSigner.Plugin/ClefSignerPlugin.cs b/src/Nethermind/Nethermind.ExternalSigner.Plugin/ClefSignerPlugin.cs index 9c96f175d1b..65a90bbcf4e 100644 --- a/src/Nethermind/Nethermind.ExternalSigner.Plugin/ClefSignerPlugin.cs +++ b/src/Nethermind/Nethermind.ExternalSigner.Plugin/ClefSignerPlugin.cs @@ -5,7 +5,6 @@ using Nethermind.Api.Extensions; using Nethermind.Core; using Nethermind.JsonRpc.Client; -using Nethermind.JsonRpc; using Nethermind.Network; using Nethermind.Consensus; using Nethermind.KeyStore.Config; diff --git a/src/Nethermind/Nethermind.Facade.Test/TxPoolBridgeTests.cs b/src/Nethermind/Nethermind.Facade.Test/TxPoolBridgeTests.cs index a9a0bcc4a31..a9656d0d14f 100644 --- a/src/Nethermind/Nethermind.Facade.Test/TxPoolBridgeTests.cs +++ b/src/Nethermind/Nethermind.Facade.Test/TxPoolBridgeTests.cs @@ -6,7 +6,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Int256; -using Nethermind.Logging; using Nethermind.TxPool; using NSubstitute; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Facade/Eth/AccessListItemForRpc.cs b/src/Nethermind/Nethermind.Facade/Eth/AccessListItemForRpc.cs index 0269aeeb0e6..f60fd984c84 100644 --- a/src/Nethermind/Nethermind.Facade/Eth/AccessListItemForRpc.cs +++ b/src/Nethermind/Nethermind.Facade/Eth/AccessListItemForRpc.cs @@ -9,7 +9,6 @@ using Nethermind.Core.Eip2930; using Nethermind.Int256; using Nethermind.Serialization.Json; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.Facade.Eth diff --git a/src/Nethermind/Nethermind.Facade/IBlockchainBridge.cs b/src/Nethermind/Nethermind.Facade/IBlockchainBridge.cs index 1fd72314d77..26e44ad2111 100644 --- a/src/Nethermind/Nethermind.Facade/IBlockchainBridge.cs +++ b/src/Nethermind/Nethermind.Facade/IBlockchainBridge.cs @@ -13,7 +13,6 @@ using Nethermind.Facade.Proxy.Models.Simulate; using Nethermind.Int256; using Nethermind.Trie; -using static Nethermind.Facade.BlockchainBridge; using Block = Nethermind.Core.Block; namespace Nethermind.Facade diff --git a/src/Nethermind/Nethermind.Facade/Proxy/Models/Simulate/SimulateBlockResult.cs b/src/Nethermind/Nethermind.Facade/Proxy/Models/Simulate/SimulateBlockResult.cs index 68536e9953c..934fbcf5db0 100644 --- a/src/Nethermind/Nethermind.Facade/Proxy/Models/Simulate/SimulateBlockResult.cs +++ b/src/Nethermind/Nethermind.Facade/Proxy/Models/Simulate/SimulateBlockResult.cs @@ -1,13 +1,10 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; -using System.Reflection; using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Facade.Eth; -using Nethermind.Int256; namespace Nethermind.Facade.Proxy.Models.Simulate; diff --git a/src/Nethermind/Nethermind.Facade/Simulate/SimulateBlockTracer.cs b/src/Nethermind/Nethermind.Facade/Simulate/SimulateBlockTracer.cs index e8f656465a2..dd0fd8e68fb 100644 --- a/src/Nethermind/Nethermind.Facade/Simulate/SimulateBlockTracer.cs +++ b/src/Nethermind/Nethermind.Facade/Simulate/SimulateBlockTracer.cs @@ -4,12 +4,9 @@ using System.Collections.Generic; using System.Linq; using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Core.Specs; -using Nethermind.Evm; using Nethermind.Evm.Tracing; using Nethermind.Facade.Proxy.Models.Simulate; -using Nethermind.Int256; namespace Nethermind.Facade.Simulate; diff --git a/src/Nethermind/Nethermind.Facade/Simulate/SimulateReadOnlyBlocksProcessingEnv.cs b/src/Nethermind/Nethermind.Facade/Simulate/SimulateReadOnlyBlocksProcessingEnv.cs index 907b7a10d17..baee3600856 100644 --- a/src/Nethermind/Nethermind.Facade/Simulate/SimulateReadOnlyBlocksProcessingEnv.cs +++ b/src/Nethermind/Nethermind.Facade/Simulate/SimulateReadOnlyBlocksProcessingEnv.cs @@ -10,7 +10,6 @@ using Nethermind.Consensus.Rewards; using Nethermind.Consensus.Validators; using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Core.Specs; using Nethermind.Db; using Nethermind.Evm; diff --git a/src/Nethermind/Nethermind.Facade/Simulate/SimulateTransactionProcessor.cs b/src/Nethermind/Nethermind.Facade/Simulate/SimulateTransactionProcessor.cs index 705a68ec071..60d4c6df049 100644 --- a/src/Nethermind/Nethermind.Facade/Simulate/SimulateTransactionProcessor.cs +++ b/src/Nethermind/Nethermind.Facade/Simulate/SimulateTransactionProcessor.cs @@ -6,7 +6,6 @@ using Nethermind.Evm; using Nethermind.Evm.Tracing; using Nethermind.Evm.TransactionProcessing; -using Nethermind.Int256; using Nethermind.Logging; using Nethermind.State; diff --git a/src/Nethermind/Nethermind.Facade/StateOverridesExtensions.cs b/src/Nethermind/Nethermind.Facade/StateOverridesExtensions.cs index 080e6c2a81b..32d3d947b7c 100644 --- a/src/Nethermind/Nethermind.Facade/StateOverridesExtensions.cs +++ b/src/Nethermind/Nethermind.Facade/StateOverridesExtensions.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using Nethermind.Core; using Nethermind.Core.Crypto; @@ -11,7 +10,6 @@ using Nethermind.Facade.Proxy.Models; using Nethermind.Int256; using Nethermind.State; -using Nethermind.Trie; namespace Nethermind.Facade; diff --git a/src/Nethermind/Nethermind.Init/MemoryHintMan.cs b/src/Nethermind/Nethermind.Init/MemoryHintMan.cs index 86df47fceb0..73a8bfc02c0 100644 --- a/src/Nethermind/Nethermind.Init/MemoryHintMan.cs +++ b/src/Nethermind/Nethermind.Init/MemoryHintMan.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Diagnostics; using System.IO; using DotNetty.Buffers; using Nethermind.Api; diff --git a/src/Nethermind/Nethermind.Init/Steps/DatabaseMigrations.cs b/src/Nethermind/Nethermind.Init/Steps/DatabaseMigrations.cs index b63b73770ca..fb05dfaf61a 100644 --- a/src/Nethermind/Nethermind.Init/Steps/DatabaseMigrations.cs +++ b/src/Nethermind/Nethermind.Init/Steps/DatabaseMigrations.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Init/Steps/InitDatabase.cs b/src/Nethermind/Nethermind.Init/Steps/InitDatabase.cs index b02c74bbd1f..0b137883898 100644 --- a/src/Nethermind/Nethermind.Init/Steps/InitDatabase.cs +++ b/src/Nethermind/Nethermind.Init/Steps/InitDatabase.cs @@ -16,7 +16,6 @@ using Nethermind.JsonRpc.Client; using Nethermind.Logging; using Nethermind.Trie; -using Nethermind.Trie.Pruning; using Nethermind.TxPool; namespace Nethermind.Init.Steps diff --git a/src/Nethermind/Nethermind.Init/Steps/Migrations/IDatabaseMigration.cs b/src/Nethermind/Nethermind.Init/Steps/Migrations/IDatabaseMigration.cs index a7f53961d4c..c289c23ebfb 100644 --- a/src/Nethermind/Nethermind.Init/Steps/Migrations/IDatabaseMigration.cs +++ b/src/Nethermind/Nethermind.Init/Steps/Migrations/IDatabaseMigration.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Init/Steps/StartBlockProducer.cs b/src/Nethermind/Nethermind.Init/Steps/StartBlockProducer.cs index bd744143ee5..652b3ec29ea 100644 --- a/src/Nethermind/Nethermind.Init/Steps/StartBlockProducer.cs +++ b/src/Nethermind/Nethermind.Init/Steps/StartBlockProducer.cs @@ -1,13 +1,9 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Threading; using System.Threading.Tasks; using Nethermind.Api; -using Nethermind.Api.Extensions; -using Nethermind.Config; -using Nethermind.Consensus; using Nethermind.Consensus.Producers; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.Init/Steps/StartMonitoring.cs b/src/Nethermind/Nethermind.Init/Steps/StartMonitoring.cs index f919a010c1a..a8d83d277b3 100644 --- a/src/Nethermind/Nethermind.Init/Steps/StartMonitoring.cs +++ b/src/Nethermind/Nethermind.Init/Steps/StartMonitoring.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.ReceiptsJsonRpcDataSource.cs b/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.ReceiptsJsonRpcDataSource.cs index fe635d2b871..107c7b4f2f6 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.ReceiptsJsonRpcDataSource.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.ReceiptsJsonRpcDataSource.cs @@ -8,7 +8,6 @@ using Nethermind.Core.Crypto; using Nethermind.Facade.Eth; using Nethermind.JsonRpc.Data; -using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Serialization.Json; namespace Nethermind.JsonRpc.Test diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.cs index ede281b37ad..9d72e918dff 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/ConsensusHelperTests.cs @@ -6,17 +6,13 @@ using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Nodes; -using System.Text.Json.Serialization; using System.Threading.Tasks; using FluentAssertions; using FluentAssertions.Equivalency; -using FluentAssertions.Json; - using Nethermind.Core.Crypto; using Nethermind.Evm.Tracing.GethStyle; using Nethermind.JsonRpc.Data; -using Nethermind.JsonRpc.Modules.DebugModule; using Nethermind.JsonRpc.Modules.Trace; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Data/AccessListItemForRpcTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Data/AccessListItemForRpcTests.cs index ae948e1d693..01709cea1b0 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Data/AccessListItemForRpcTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Data/AccessListItemForRpcTests.cs @@ -8,7 +8,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Facade.Eth; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; using NUnit.Framework; namespace Nethermind.JsonRpc.Test.Data; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Data/BlockParameterConverterTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Data/BlockParameterConverterTests.cs index e4c3b59d84d..7629c2faa71 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Data/BlockParameterConverterTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Data/BlockParameterConverterTests.cs @@ -1,10 +1,8 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.IO; using Nethermind.Blockchain.Find; using Nethermind.Core.Test.Builders; -using Nethermind.JsonRpc.Data; using Nethermind.Serialization.Json; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Data/DictionaryConverterTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Data/DictionaryConverterTests.cs index 466f7388294..1304a352d23 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Data/DictionaryConverterTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Data/DictionaryConverterTests.cs @@ -4,8 +4,6 @@ using Nethermind.Core; using Nethermind.Core.Test.Builders; using NUnit.Framework; - -using System; using System.Collections.Generic; namespace Nethermind.JsonRpc.Test.Data diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Data/Eip2930Tests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Data/Eip2930Tests.cs index f34daa6963f..b1466e59e07 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Data/Eip2930Tests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Data/Eip2930Tests.cs @@ -10,7 +10,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Facade.Eth; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; using Nethermind.Serialization.Json; using Newtonsoft.Json.Linq; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Data/SerializationTestBase.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Data/SerializationTestBase.cs index aafbb7d7496..85839222bde 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Data/SerializationTestBase.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Data/SerializationTestBase.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections; using System.Collections.Generic; using System.Text.Json.Serialization; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorExtensions.cs b/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorExtensions.cs index dce464ee119..3d063227ec0 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorExtensions.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorExtensions.cs @@ -1,10 +1,8 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Buffers; using System.Collections.Generic; -using System.IO; using System.IO.Pipelines; using System.Text; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorTests.cs index 77ea1ccbba1..f7e50f39178 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcProcessorTests.cs @@ -5,14 +5,12 @@ using System.Collections.Generic; using System.IO.Abstractions; using System.Linq; -using System.Numerics; using System.Text; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using Nethermind.Core.Extensions; using Nethermind.Logging; -using Nethermind.Serialization.Json; using Nethermind.JsonRpc.Modules; using NSubstitute; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcServiceTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcServiceTests.cs index 00b2e77d735..6aee266be41 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcServiceTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/JsonRpcServiceTests.cs @@ -4,8 +4,6 @@ using System; using System.Collections.Generic; using System.IO.Abstractions; -using System.Linq; -using System.Reflection; using System.Text.Json; using FluentAssertions; @@ -13,13 +11,11 @@ using Nethermind.Config; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; using Nethermind.Facade.Eth; using Nethermind.Facade.Proxy.Models.Simulate; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Modules; using Nethermind.JsonRpc.Modules.Eth; using Nethermind.JsonRpc.Modules.Net; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/BoundedModulePoolTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/BoundedModulePoolTests.cs index 5a09f99127e..12e3eb80050 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/BoundedModulePoolTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/BoundedModulePoolTests.cs @@ -3,17 +3,12 @@ using System.Threading.Tasks; using Nethermind.Blockchain.Receipts; -using Nethermind.Blockchain.Synchronization; using Nethermind.Config; using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; -using Nethermind.Db; -using Nethermind.Specs; using Nethermind.JsonRpc.Modules; using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Logging; -using Nethermind.State.Repositories; -using Nethermind.Db.Blooms; using Nethermind.Facade; using Nethermind.Facade.Eth; using Nethermind.JsonRpc.Exceptions; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/DebugModuleTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/DebugModuleTests.cs index 00faf0cd169..d5ee43af40a 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/DebugModuleTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/DebugModuleTests.cs @@ -21,7 +21,6 @@ using Nethermind.Evm.Tracing.GethStyle.Custom; using Nethermind.Facade.Eth; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Modules.DebugModule; using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EstimateGas.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EstimateGas.cs index 0bc1a37fb09..723fd4b97c9 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EstimateGas.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EstimateGas.cs @@ -9,9 +9,7 @@ using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Evm; -using Nethermind.Evm.Tracing; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.Specs; using Nethermind.Specs.Forks; using Nethermind.Specs.Test; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs index ed73767fcf1..e8d8a2bf2c1 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs @@ -9,7 +9,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Evm; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.Specs; using Nethermind.Specs.Forks; using Nethermind.Specs.Test; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.FeeHistory.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.FeeHistory.cs index 59fd3f726d5..6f03257123c 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.FeeHistory.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.FeeHistory.cs @@ -10,7 +10,6 @@ using Nethermind.Blockchain.Find; using Nethermind.Blockchain.Receipts; using Nethermind.Core; -using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Core.Specs; using Nethermind.Core.Test.Builders; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.cs index 1a12d3e152f..bfefe1fee8d 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.cs @@ -20,14 +20,10 @@ using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Evm; -using Nethermind.Evm.Tracing; using Nethermind.Facade; using Nethermind.Facade.Eth; using Nethermind.Facade.Filters; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; -using Nethermind.JsonRpc.Modules.Eth; -using Nethermind.Logging; using Nethermind.Serialization.Json; using Nethermind.Serialization.Rlp; using Nethermind.Specs; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcSimulateTestsBase.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcSimulateTestsBase.cs index b3d887961c1..cd59570c6d4 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcSimulateTestsBase.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcSimulateTestsBase.cs @@ -15,7 +15,6 @@ using Nethermind.Crypto; using Nethermind.Facade.Eth; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; using Nethermind.Logging; using Nethermind.Specs; using Nethermind.Specs.Forks; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthSimulateTestsPrecompilesWithRedirection.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthSimulateTestsPrecompilesWithRedirection.cs index 33d80a28d30..c2359c4aecc 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthSimulateTestsPrecompilesWithRedirection.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthSimulateTestsPrecompilesWithRedirection.cs @@ -16,7 +16,6 @@ using Nethermind.Facade.Eth; using Nethermind.Facade.Proxy.Models; using Nethermind.Facade.Proxy.Models.Simulate; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Modules.Eth; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsBlocksAndTransactions.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsBlocksAndTransactions.cs index 28a28e68803..23acf35a0b9 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsBlocksAndTransactions.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsBlocksAndTransactions.cs @@ -16,7 +16,6 @@ using Nethermind.Facade.Proxy.Models; using Nethermind.Facade.Proxy.Models.Simulate; using Nethermind.Int256; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Serialization.Json; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsHiveBase.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsHiveBase.cs index d0ab6c1e05c..d278862286b 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsHiveBase.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/Simulate/EthSimulateTestsHiveBase.cs @@ -7,7 +7,6 @@ using Nethermind.Blockchain.Find; using Nethermind.Facade.Eth; using Nethermind.Facade.Proxy.Models.Simulate; -using Nethermind.JsonRpc.Data; using Nethermind.Serialization.Json; using NUnit.Framework; using ResultType = Nethermind.Core.ResultType; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/NetModuleTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/NetModuleTests.cs index f652a3ad149..a75c82f3128 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/NetModuleTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/NetModuleTests.cs @@ -15,7 +15,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.JsonRpc.Modules.Net; using Nethermind.Logging; -using Nethermind.State; using Nethermind.Synchronization; using Nethermind.Synchronization.ParallelSync; using Nethermind.Synchronization.Peers; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Proof/ProofRpcModuleTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Proof/ProofRpcModuleTests.cs index 7f74b75145a..38b82b69c83 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Proof/ProofRpcModuleTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Proof/ProofRpcModuleTests.cs @@ -13,7 +13,6 @@ using Nethermind.Db; using Nethermind.Int256; using Nethermind.Evm; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Modules.Proof; using Nethermind.Logging; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/SingletonModulePoolTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/SingletonModulePoolTests.cs index 1ffb4b32cdb..b927be8de58 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/SingletonModulePoolTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/SingletonModulePoolTests.cs @@ -2,15 +2,10 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using Nethermind.Blockchain.Synchronization; using Nethermind.Core.Specs; -using Nethermind.Db; -using Nethermind.Specs; using Nethermind.JsonRpc.Modules; using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Logging; -using Nethermind.State.Repositories; -using Nethermind.Db.Blooms; using Nethermind.Facade; using Nethermind.State; using Nethermind.TxPool; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TestRpcModuleProvider.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TestRpcModuleProvider.cs index 81f312c27ca..f797c9adb14 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TestRpcModuleProvider.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TestRpcModuleProvider.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.IO.Abstractions; using System.Linq; -using System.Reflection; using System.Threading.Tasks; using Nethermind.JsonRpc.Modules; using Nethermind.JsonRpc.Modules.DebugModule; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityStyleTracerTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityStyleTracerTests.cs index 901c35bdbd0..ba991303a7a 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityStyleTracerTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityStyleTracerTests.cs @@ -8,7 +8,6 @@ using Nethermind.Blockchain.Blocks; using Nethermind.Blockchain.Find; using Nethermind.Blockchain.Receipts; -using Nethermind.Blockchain.Synchronization; using Nethermind.Consensus; using Nethermind.Consensus.Processing; using Nethermind.Consensus.Rewards; @@ -26,8 +25,6 @@ using Nethermind.Logging; using Nethermind.Specs; using Nethermind.State; -using Nethermind.State.Repositories; -using Nethermind.Db.Blooms; using Nethermind.TxPool; using NUnit.Framework; using Nethermind.Evm.TransactionProcessing; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityTraceAddressConverterTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityTraceAddressConverterTests.cs index 70d0012ebbe..d112f0d59b5 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityTraceAddressConverterTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Trace/ParityTraceAddressConverterTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.JsonRpc.Modules.Trace; using Nethermind.JsonRpc.Test.Data; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TraceRpcModuleTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TraceRpcModuleTests.cs index 966b34dfb53..9adf7daa048 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TraceRpcModuleTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TraceRpcModuleTests.cs @@ -21,7 +21,6 @@ using Nethermind.Consensus.Tracing; using Nethermind.Consensus.Validators; using Nethermind.Core.Crypto; -using Nethermind.Db; using Nethermind.Evm; using Nethermind.Evm.TransactionProcessing; using Nethermind.Facade.Eth; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TransactionForRpcConverterTests.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TransactionForRpcConverterTests.cs index 6b6add97578..e708098b54c 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TransactionForRpcConverterTests.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/TransactionForRpcConverterTests.cs @@ -6,7 +6,6 @@ using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Test.Data; using Nethermind.Serialization.Json; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/RpcTest.cs b/src/Nethermind/Nethermind.JsonRpc.Test/RpcTest.cs index 4bc26918014..9fa63232912 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/RpcTest.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/RpcTest.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.IO; using System.Linq; using System.Text.Json; @@ -14,8 +13,6 @@ using Nethermind.Logging; using Nethermind.Serialization.Json; -using NUnit.Framework; - namespace Nethermind.JsonRpc.Test; public static class RpcTest diff --git a/src/Nethermind/Nethermind.JsonRpc.TraceStore/TraceStoreConfig.cs b/src/Nethermind/Nethermind.JsonRpc.TraceStore/TraceStoreConfig.cs index c7a7f62533c..bb5380b922a 100644 --- a/src/Nethermind/Nethermind.JsonRpc.TraceStore/TraceStoreConfig.cs +++ b/src/Nethermind/Nethermind.JsonRpc.TraceStore/TraceStoreConfig.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Evm.Tracing.ParityStyle; -using Nethermind.Serialization.Json; -using Newtonsoft.Json; namespace Nethermind.JsonRpc.TraceStore; diff --git a/src/Nethermind/Nethermind.JsonRpc/Client/JsonRpcResponse.cs b/src/Nethermind/Nethermind.JsonRpc/Client/JsonRpcResponse.cs index 2eb5d041dd0..9c4c03111c3 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Client/JsonRpcResponse.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Client/JsonRpcResponse.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Serialization.Json; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Client diff --git a/src/Nethermind/Nethermind.JsonRpc/Converters/TxReceiptConverter.cs b/src/Nethermind/Nethermind.JsonRpc/Converters/TxReceiptConverter.cs index 3364e6306a6..a388d3ba507 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Converters/TxReceiptConverter.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Converters/TxReceiptConverter.cs @@ -3,7 +3,6 @@ using System; using Nethermind.Core; -using Nethermind.Int256; using Nethermind.JsonRpc.Data; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/src/Nethermind/Nethermind.JsonRpc/Data/ReceiptForRpc.cs b/src/Nethermind/Nethermind.JsonRpc/Data/ReceiptForRpc.cs index 0921f9ed8ab..65ec0c698b4 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Data/ReceiptForRpc.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Data/ReceiptForRpc.cs @@ -6,7 +6,6 @@ using Nethermind.Core.Crypto; using Nethermind.Evm; using Nethermind.Int256; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Data diff --git a/src/Nethermind/Nethermind.JsonRpc/Error.cs b/src/Nethermind/Nethermind.JsonRpc/Error.cs index 1db1be2c9db..c0b86ea6617 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Error.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Error.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc diff --git a/src/Nethermind/Nethermind.JsonRpc/IJsonRpcProcessor.cs b/src/Nethermind/Nethermind.JsonRpc/IJsonRpcProcessor.cs index 5096a3435c3..73aab3924ac 100644 --- a/src/Nethermind/Nethermind.JsonRpc/IJsonRpcProcessor.cs +++ b/src/Nethermind/Nethermind.JsonRpc/IJsonRpcProcessor.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.IO.Pipelines; diff --git a/src/Nethermind/Nethermind.JsonRpc/IJsonRpcService.cs b/src/Nethermind/Nethermind.JsonRpc/IJsonRpcService.cs index 23b924bed60..b425b210471 100644 --- a/src/Nethermind/Nethermind.JsonRpc/IJsonRpcService.cs +++ b/src/Nethermind/Nethermind.JsonRpc/IJsonRpcService.cs @@ -3,8 +3,6 @@ using System.Threading.Tasks; -using Nethermind.JsonRpc.Modules; - namespace Nethermind.JsonRpc; public interface IJsonRpcService diff --git a/src/Nethermind/Nethermind.JsonRpc/JsonRpcResponse.cs b/src/Nethermind/Nethermind.JsonRpc/JsonRpcResponse.cs index cf6f0bf87de..803d30f3454 100644 --- a/src/Nethermind/Nethermind.JsonRpc/JsonRpcResponse.cs +++ b/src/Nethermind/Nethermind.JsonRpc/JsonRpcResponse.cs @@ -4,11 +4,9 @@ using System; using Nethermind.Serialization.Json; -using System.Text.Json; using System.Text.Json.Serialization; using Nethermind.Core.Extensions; using Nethermind.JsonRpc.Modules.Subscribe; -using Nethermind.Int256; namespace Nethermind.JsonRpc { diff --git a/src/Nethermind/Nethermind.JsonRpc/JsonRpcUrlCollection.cs b/src/Nethermind/Nethermind.JsonRpc/JsonRpcUrlCollection.cs index cb6c3bee5db..90d85e6c844 100644 --- a/src/Nethermind/Nethermind.JsonRpc/JsonRpcUrlCollection.cs +++ b/src/Nethermind/Nethermind.JsonRpc/JsonRpcUrlCollection.cs @@ -7,7 +7,6 @@ using Nethermind.Logging; using Nethermind.JsonRpc.Modules; using Nethermind.Sockets; -using System.IO; namespace Nethermind.JsonRpc { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/EthProtocolInfo.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/EthProtocolInfo.cs index 4e620f5aceb..87024cede4c 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/EthProtocolInfo.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/EthProtocolInfo.cs @@ -3,7 +3,6 @@ using Nethermind.Core.Crypto; using Nethermind.Int256; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Admin diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/IAdminRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/IAdminRpcModule.cs index 71e819d3f51..06a79a7a027 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/IAdminRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/IAdminRpcModule.cs @@ -3,8 +3,6 @@ using System.Threading.Tasks; using Nethermind.Blockchain.FullPruning; -using System.Text.Json; -using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Admin; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/NodeInfo.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/NodeInfo.cs index d1de804f661..ce7cd85b4ad 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/NodeInfo.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/NodeInfo.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Collections.Generic; -using Nethermind.Core; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Admin; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/PortsInfo.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/PortsInfo.cs index 87160e48f3a..fd79c29039d 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/PortsInfo.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Admin/PortsInfo.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Admin diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugBridge.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugBridge.cs index dd7d34ebc82..0646695c919 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugBridge.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugBridge.cs @@ -18,7 +18,6 @@ using Nethermind.Db; using Nethermind.Evm.Tracing.GethStyle; using Nethermind.Serialization.Rlp; -using Nethermind.State.Proofs; using Nethermind.Synchronization.ParallelSync; using Nethermind.Synchronization.Reporting; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugModuleFactory.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugModuleFactory.cs index a394e5a36ea..651ae2e0b69 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugModuleFactory.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/DebugModule/DebugModuleFactory.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using System.IO.Abstractions; using Nethermind.Blockchain; using Nethermind.Blockchain.Blocks; @@ -19,7 +18,6 @@ using Nethermind.Logging; using Nethermind.State; using Nethermind.Synchronization.ParallelSync; -using Nethermind.Trie.Pruning; namespace Nethermind.JsonRpc.Modules.DebugModule; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthModuleFactory.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthModuleFactory.cs index 6a8bc34d9b7..c4841648bd7 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthModuleFactory.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthModuleFactory.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Blockchain; using Nethermind.Blockchain.Receipts; using Nethermind.Core.Specs; @@ -14,9 +13,6 @@ using Nethermind.State; using Nethermind.TxPool; using Nethermind.Wallet; -using System.Text.Json; -using System.Text.Json.Serialization; -using Nethermind.Config; namespace Nethermind.JsonRpc.Modules.Eth { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthRpcModule.TransactionExecutor.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthRpcModule.TransactionExecutor.cs index 6da17831925..db091d00d96 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthRpcModule.TransactionExecutor.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthRpcModule.TransactionExecutor.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/FeeHistoryResults.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/FeeHistoryResults.cs index b1d28475448..3f44d830d22 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/FeeHistoryResults.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/FeeHistoryResults.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Linq; using Nethermind.Int256; using System.Text.Json.Serialization; using Nethermind.Core.Collections; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/IEthRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/IEthRpcModule.cs index 2915d9abcf6..17cf0bb9986 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/IEthRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/IEthRpcModule.cs @@ -9,8 +9,6 @@ using Nethermind.Facade.Eth; using Nethermind.Facade.Filters; using Nethermind.Facade.Proxy.Models.Simulate; -using Nethermind.Facade.Proxy.Models; -using Nethermind.Facade.Proxy; using Nethermind.Int256; using Nethermind.JsonRpc.Data; using Nethermind.State.Proofs; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/SimulateTxExecutor.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/SimulateTxExecutor.cs index c0bf2db8e26..01eccae60ec 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/SimulateTxExecutor.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/SimulateTxExecutor.cs @@ -3,18 +3,15 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Threading; using Nethermind.Blockchain.Find; using Nethermind.Config; using Nethermind.Core; -using Nethermind.Core.Collections; using Nethermind.Facade; using Nethermind.Facade.Eth; using Nethermind.Facade.Proxy.Models.Simulate; using Nethermind.Facade.Simulate; -using Nethermind.JsonRpc.Data; namespace Nethermind.JsonRpc.Modules.Eth; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/IRpcModuleFactory.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/IRpcModuleFactory.cs index 225df256465..4012862c288 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/IRpcModuleFactory.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/IRpcModuleFactory.cs @@ -1,10 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - namespace Nethermind.JsonRpc.Modules { public interface IRpcModuleFactory where T : IRpcModule diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/ModuleFactoryBase.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/ModuleFactoryBase.cs index ca3f50402b2..accf33e1b16 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/ModuleFactoryBase.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/ModuleFactoryBase.cs @@ -2,10 +2,7 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/NullModuleProvider.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/NullModuleProvider.cs index 293fb3fe8b5..c78c729c282 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/NullModuleProvider.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/NullModuleProvider.cs @@ -3,8 +3,6 @@ using System; using System.Collections.Generic; -using System.Reflection; -using System.Text.Json.Serialization; using System.Threading.Tasks; using Nethermind.Serialization.Json; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/EthProtocolInfo.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/EthProtocolInfo.cs index 697dc49a8b0..91c03dfb902 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/EthProtocolInfo.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/EthProtocolInfo.cs @@ -3,7 +3,6 @@ using Nethermind.Core.Crypto; using Nethermind.Int256; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Parity diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityNetPeers.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityNetPeers.cs index a2e97f533cb..fd75733ef73 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityNetPeers.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityNetPeers.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Parity diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityTransaction.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityTransaction.cs index 96c62ae2b7d..e1217254547 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityTransaction.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/ParityTransaction.cs @@ -6,7 +6,6 @@ using Nethermind.Core.Extensions; using Nethermind.Int256; using Nethermind.Evm; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Parity diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerInfo.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerInfo.cs index cd3a6c4e18e..1c3608b9e3d 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerInfo.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerInfo.cs @@ -8,7 +8,6 @@ using Nethermind.Network.P2P; using Nethermind.Network.P2P.ProtocolHandlers; using Nethermind.Stats.Model; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Parity diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerNetworkInfo.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerNetworkInfo.cs index 01ef56996c4..d7926a0dc95 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerNetworkInfo.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Parity/PeerNetworkInfo.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Parity diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/IPersonalRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/IPersonalRpcModule.cs index 3ca1db260a6..2ac68e15f04 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/IPersonalRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/IPersonalRpcModule.cs @@ -4,7 +4,6 @@ using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; namespace Nethermind.JsonRpc.Modules.Personal { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/PersonalRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/PersonalRpcModule.cs index 1116810731d..bd63095bc14 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/PersonalRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Personal/PersonalRpcModule.cs @@ -8,7 +8,6 @@ using Nethermind.Core.Crypto; using Nethermind.Crypto; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.KeyStore; using Nethermind.Wallet; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/IProofRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/IProofRpcModule.cs index 8e2123e5533..fdfdbfb5856 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/IProofRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/IProofRpcModule.cs @@ -4,7 +4,6 @@ using Nethermind.Blockchain.Find; using Nethermind.Core.Crypto; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; namespace Nethermind.JsonRpc.Modules.Proof { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/ProofModuleFactory.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/ProofModuleFactory.cs index cd6b142126f..3ba1050734c 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/ProofModuleFactory.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/ProofModuleFactory.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; - using Nethermind.Blockchain; using Nethermind.Blockchain.Receipts; using Nethermind.Consensus.Processing; @@ -12,11 +10,9 @@ using Nethermind.Consensus.Validators; using Nethermind.Core.Crypto; using Nethermind.Core.Specs; -using Nethermind.Db; using Nethermind.Evm.TransactionProcessing; using Nethermind.Logging; using Nethermind.State; -using Nethermind.Trie.Pruning; namespace Nethermind.JsonRpc.Modules.Proof { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/TransactionWithProof.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/TransactionWithProof.cs index 3069c957849..78656d2f374 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/TransactionWithProof.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/TransactionWithProof.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; namespace Nethermind.JsonRpc.Modules.Proof { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResponse.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResponse.cs index 5c791e392a0..497db3ba5b5 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResponse.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResponse.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Serialization.Json; -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Subscribe diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResult.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResult.cs index 87b90ee556d..7efc3fbe0d8 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResult.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/JsonRpcSubscriptionResult.cs @@ -1,11 +1,8 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; -using Nethermind.Facade.Eth; - namespace Nethermind.JsonRpc.Modules.Subscribe { public class JsonRpcSubscriptionResult diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/NewPendingTransactionsSubscription.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/NewPendingTransactionsSubscription.cs index 7ec4b75d77d..0695689ff87 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/NewPendingTransactionsSubscription.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/NewPendingTransactionsSubscription.cs @@ -2,9 +2,7 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Threading.Tasks; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Logging; using Nethermind.TxPool; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscribeRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscribeRpcModule.cs index eea2daff894..f0566c52f0d 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscribeRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscribeRpcModule.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Text.Json; -using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Subscribe { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscriptionFactory.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscriptionFactory.cs index 29779ac837e..2fa387fd3dc 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscriptionFactory.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Subscribe/SubscriptionFactory.cs @@ -14,7 +14,6 @@ using Nethermind.Serialization.Json; using Nethermind.TxPool; using System.Text.Json; -using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Subscribe; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/ParityTxTraceFromReplay.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/ParityTxTraceFromReplay.cs index e4b9c93a883..ad014c491e6 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/ParityTxTraceFromReplay.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/ParityTxTraceFromReplay.cs @@ -12,7 +12,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Evm.Tracing.ParityStyle; -using Nethermind.Serialization.Json; namespace Nethermind.JsonRpc.Modules.Trace { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceFilterForRpc.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceFilterForRpc.cs index 1393254c6f0..f4609c10470 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceFilterForRpc.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceFilterForRpc.cs @@ -3,9 +3,6 @@ using Nethermind.Blockchain.Find; using Nethermind.Core; -using Nethermind.Evm.Tracing; - -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.JsonRpc.Modules.Trace diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceModuleFactory.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceModuleFactory.cs index 1ec63377195..fce0c4f0e1d 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceModuleFactory.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceModuleFactory.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Blockchain; using Nethermind.Blockchain.Receipts; using Nethermind.Consensus; @@ -12,11 +11,9 @@ using Nethermind.Consensus.Validators; using Nethermind.Core.Crypto; using Nethermind.Core.Specs; -using Nethermind.Db; using Nethermind.Evm.TransactionProcessing; using Nethermind.Logging; using Nethermind.State; -using Nethermind.Trie.Pruning; namespace Nethermind.JsonRpc.Modules.Trace; diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceRpcModule.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceRpcModule.cs index f7747d6436f..a9ca3cb3a83 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceRpcModule.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceRpcModule.cs @@ -11,17 +11,13 @@ using Nethermind.Consensus.Tracing; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Specs; using Nethermind.Evm.Tracing; using Nethermind.Evm.Tracing.ParityStyle; -using Nethermind.Facade; using Nethermind.Facade.Eth; using Nethermind.Int256; using Nethermind.JsonRpc.Data; -using Nethermind.Logging; using Nethermind.Serialization.Rlp; using Nethermind.State; -using Nethermind.Trie; namespace Nethermind.JsonRpc.Modules.Trace { diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/TxPool/TransactionPoolContent.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/TxPool/TransactionPoolContent.cs index 2040cc403e8..655817519ad 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/TxPool/TransactionPoolContent.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/TxPool/TransactionPoolContent.cs @@ -5,7 +5,6 @@ using System.Linq; using Nethermind.Core; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.TxPool; namespace Nethermind.JsonRpc.Modules.TxPool diff --git a/src/Nethermind/Nethermind.KeyStore/CipherParams.cs b/src/Nethermind/Nethermind.KeyStore/CipherParams.cs index 0a9c7a2878c..9fcf64124d0 100644 --- a/src/Nethermind/Nethermind.KeyStore/CipherParams.cs +++ b/src/Nethermind/Nethermind.KeyStore/CipherParams.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.KeyStore diff --git a/src/Nethermind/Nethermind.KeyStore/KdfParams.cs b/src/Nethermind/Nethermind.KeyStore/KdfParams.cs index d413766ed66..1bd7309129f 100644 --- a/src/Nethermind/Nethermind.KeyStore/KdfParams.cs +++ b/src/Nethermind/Nethermind.KeyStore/KdfParams.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.KeyStore diff --git a/src/Nethermind/Nethermind.KeyStore/KeyStoreItem.cs b/src/Nethermind/Nethermind.KeyStore/KeyStoreItem.cs index ac133cb57cd..11aa8312a0b 100644 --- a/src/Nethermind/Nethermind.KeyStore/KeyStoreItem.cs +++ b/src/Nethermind/Nethermind.KeyStore/KeyStoreItem.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.KeyStore diff --git a/src/Nethermind/Nethermind.Merge.AuRa.Test/AuRaMergeEngineModuleTests.cs b/src/Nethermind/Nethermind.Merge.AuRa.Test/AuRaMergeEngineModuleTests.cs index 698f42f8877..ced91cceefe 100644 --- a/src/Nethermind/Nethermind.Merge.AuRa.Test/AuRaMergeEngineModuleTests.cs +++ b/src/Nethermind/Nethermind.Merge.AuRa.Test/AuRaMergeEngineModuleTests.cs @@ -32,7 +32,6 @@ using Nethermind.Serialization.Json; using Nethermind.Specs; using Nethermind.Specs.ChainSpecStyle; -using Nethermind.State; using Nethermind.Synchronization.ParallelSync; using NSubstitute; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeBlockProducerEnvFactory.cs b/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeBlockProducerEnvFactory.cs index c725e7164ff..0c6d499c7af 100644 --- a/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeBlockProducerEnvFactory.cs +++ b/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeBlockProducerEnvFactory.cs @@ -5,14 +5,12 @@ using Nethermind.Blockchain.BeaconBlockRoot; using Nethermind.Blockchain.Receipts; using Nethermind.Config; -using Nethermind.Consensus.AuRa.Config; using Nethermind.Consensus.AuRa.InitializationSteps; using Nethermind.Consensus.Comparers; using Nethermind.Consensus.Processing; using Nethermind.Consensus.Producers; using Nethermind.Consensus.Rewards; using Nethermind.Consensus.Validators; -using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Evm.TransactionProcessing; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeFinalizationManager.cs b/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeFinalizationManager.cs index db08643160e..650d9fde378 100644 --- a/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeFinalizationManager.cs +++ b/src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeFinalizationManager.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Blockchain; using Nethermind.Consensus; using Nethermind.Consensus.AuRa; diff --git a/src/Nethermind/Nethermind.Merge.AuRa/AuRaPostMergeBlockProducerFactory.cs b/src/Nethermind/Nethermind.Merge.AuRa/AuRaPostMergeBlockProducerFactory.cs index 6222cdac7a1..edb0d1a4502 100644 --- a/src/Nethermind/Nethermind.Merge.AuRa/AuRaPostMergeBlockProducerFactory.cs +++ b/src/Nethermind/Nethermind.Merge.AuRa/AuRaPostMergeBlockProducerFactory.cs @@ -3,7 +3,6 @@ using Nethermind.Config; using Nethermind.Consensus; -using Nethermind.Consensus.Producers; using Nethermind.Consensus.Transactions; using Nethermind.Core; using Nethermind.Core.Specs; diff --git a/src/Nethermind/Nethermind.Merge.AuRa/InitializationSteps/InitializeBlockchainAuRaMerge.cs b/src/Nethermind/Nethermind.Merge.AuRa/InitializationSteps/InitializeBlockchainAuRaMerge.cs index cb0bbe3c4c8..dde2a55440c 100644 --- a/src/Nethermind/Nethermind.Merge.AuRa/InitializationSteps/InitializeBlockchainAuRaMerge.cs +++ b/src/Nethermind/Nethermind.Merge.AuRa/InitializationSteps/InitializeBlockchainAuRaMerge.cs @@ -5,7 +5,6 @@ using Nethermind.Blockchain.BeaconBlockRoot; using Nethermind.Consensus.AuRa; using Nethermind.Consensus.AuRa.InitializationSteps; -using Nethermind.Consensus.AuRa.Validators; using Nethermind.Consensus.Processing; using Nethermind.Consensus.Transactions; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.Setup.cs b/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.Setup.cs index 6983e6113ba..4921e100141 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.Setup.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.Setup.cs @@ -36,7 +36,6 @@ using Nethermind.Specs; using Nethermind.Specs.ChainSpecStyle; using Nethermind.Specs.Forks; -using Nethermind.State; using Nethermind.Synchronization.ParallelSync; using Nethermind.Synchronization.Peers; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs b/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs index f8ccb804288..15bff36a9da 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs @@ -25,7 +25,6 @@ using Nethermind.Int256; using Nethermind.JsonRpc; using Nethermind.JsonRpc.Modules; -using Nethermind.JsonRpc.Modules.Eth; using Nethermind.JsonRpc.Test; using Nethermind.JsonRpc.Test.Modules; using Nethermind.Logging; @@ -36,8 +35,6 @@ using Nethermind.Specs.ChainSpecStyle; using Nethermind.Specs.Forks; using Nethermind.State; -using Nethermind.Trie; - using NSubstitute; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Merge.Plugin.Test/ExternalRpcIntegrationTests.cs b/src/Nethermind/Nethermind.Merge.Plugin.Test/ExternalRpcIntegrationTests.cs index 23b20746b5b..f91e30ba236 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin.Test/ExternalRpcIntegrationTests.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin.Test/ExternalRpcIntegrationTests.cs @@ -6,7 +6,6 @@ using Nethermind.Core.Extensions; using Nethermind.Facade.Eth; using Nethermind.Int256; -using Nethermind.JsonRpc.Modules.Eth; using Nethermind.Overseer.Test.JsonRpc; using Nethermind.Serialization.Json; using Newtonsoft.Json.Linq; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PayloadPreparationService.cs b/src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PayloadPreparationService.cs index 667eee43b37..3f89495b3b0 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PayloadPreparationService.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PayloadPreparationService.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Linq; using System.Threading.Tasks; using Nethermind.Consensus.Producers; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayload.cs b/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayload.cs index 1f11ef675de..ef9efe45b6f 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayload.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayload.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using System.Linq; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayloadBodyV1Result.cs b/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayloadBodyV1Result.cs index 2b20e438649..e1e5a8e9a42 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayloadBodyV1Result.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Data/ExecutionPayloadBodyV1Result.cs @@ -5,8 +5,6 @@ using System.Collections.Generic; using Nethermind.Core; using Nethermind.Serialization.Rlp; - -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.Merge.Plugin.Data; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Data/ForkchoiceUpdatedV1Result.cs b/src/Nethermind/Nethermind.Merge.Plugin/Data/ForkchoiceUpdatedV1Result.cs index dbcdee9f654..70fac33c3fb 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Data/ForkchoiceUpdatedV1Result.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Data/ForkchoiceUpdatedV1Result.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Threading.Tasks; -using System.Text.Json; using System.Text.Json.Serialization; using Nethermind.Core.Crypto; using Nethermind.JsonRpc; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Data/GetBlobsV1Result.cs b/src/Nethermind/Nethermind.Merge.Plugin/Data/GetBlobsV1Result.cs index fd4b6215b94..b5a414bebe6 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Data/GetBlobsV1Result.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Data/GetBlobsV1Result.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Collections.Generic; -using Nethermind.TxPool; namespace Nethermind.Merge.Plugin.Data; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Data/PayloadStatusV1.cs b/src/Nethermind/Nethermind.Merge.Plugin/Data/PayloadStatusV1.cs index 6884572133b..b266c5e27d2 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Data/PayloadStatusV1.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Data/PayloadStatusV1.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using Nethermind.Core.Crypto; - -using System.Text.Json; using System.Text.Json.Serialization; namespace Nethermind.Merge.Plugin.Data diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Handlers/NewPayloadHandler.cs b/src/Nethermind/Nethermind.Merge.Plugin/Handlers/NewPayloadHandler.cs index bd523f184a8..a6250f5e1e7 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Handlers/NewPayloadHandler.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Handlers/NewPayloadHandler.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Nethermind.Api; using Nethermind.Blockchain; using Nethermind.Blockchain.Synchronization; using Nethermind.Consensus; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/MergeFinalizationManager.cs b/src/Nethermind/Nethermind.Merge.Plugin/MergeFinalizationManager.cs index 90c3a276ae4..f383648b331 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/MergeFinalizationManager.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/MergeFinalizationManager.cs @@ -4,7 +4,6 @@ using System; using Nethermind.Blockchain; using Nethermind.Consensus; -using Nethermind.Consensus.Processing; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Synchronization/MergeSynchronizer.cs b/src/Nethermind/Nethermind.Merge.Plugin/Synchronization/MergeSynchronizer.cs index 38e65be39e7..2eea8d2d9d6 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Synchronization/MergeSynchronizer.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Synchronization/MergeSynchronizer.cs @@ -18,8 +18,6 @@ using Nethermind.Synchronization.FastBlocks; using Nethermind.Synchronization.ParallelSync; using Nethermind.Synchronization.Peers; -using Nethermind.Trie; -using Nethermind.Trie.Pruning; namespace Nethermind.Merge.Plugin.Synchronization; diff --git a/src/Nethermind/Nethermind.Monitoring/MonitoringService.cs b/src/Nethermind/Nethermind.Monitoring/MonitoringService.cs index e40540dcfbe..af60d635e84 100644 --- a/src/Nethermind/Nethermind.Monitoring/MonitoringService.cs +++ b/src/Nethermind/Nethermind.Monitoring/MonitoringService.cs @@ -9,7 +9,6 @@ using Nethermind.Monitoring.Config; using System.Net.Sockets; using Prometheus; -using System.Runtime.InteropServices; namespace Nethermind.Monitoring { diff --git a/src/Nethermind/Nethermind.Network.Discovery.Test/NettyDiscoveryV5HandlerTests.cs b/src/Nethermind/Nethermind.Network.Discovery.Test/NettyDiscoveryV5HandlerTests.cs index 94754916999..b6d57d2be50 100644 --- a/src/Nethermind/Nethermind.Network.Discovery.Test/NettyDiscoveryV5HandlerTests.cs +++ b/src/Nethermind/Nethermind.Network.Discovery.Test/NettyDiscoveryV5HandlerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/src/Nethermind/Nethermind.Network.Discovery/DiscoveryApp.cs b/src/Nethermind/Nethermind.Network.Discovery/DiscoveryApp.cs index b9770a464f9..d043af2d14d 100644 --- a/src/Nethermind/Nethermind.Network.Discovery/DiscoveryApp.cs +++ b/src/Nethermind/Nethermind.Network.Discovery/DiscoveryApp.cs @@ -4,7 +4,6 @@ using System.Net.NetworkInformation; using DotNetty.Handlers.Logging; using DotNetty.Transport.Channels; -using DotNetty.Transport.Channels.Sockets; using Nethermind.Config; using Nethermind.Core; using Nethermind.Core.Attributes; diff --git a/src/Nethermind/Nethermind.Network.Discovery/NettyDiscoveryHandler.cs b/src/Nethermind/Nethermind.Network.Discovery/NettyDiscoveryHandler.cs index 7ea01ed2776..3a630b63b99 100644 --- a/src/Nethermind/Nethermind.Network.Discovery/NettyDiscoveryHandler.cs +++ b/src/Nethermind/Nethermind.Network.Discovery/NettyDiscoveryHandler.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Buffers; using System.Net; using System.Net.Sockets; using DotNetty.Buffers; diff --git a/src/Nethermind/Nethermind.Network.Discovery/NullDiscoveryApp.cs b/src/Nethermind/Nethermind.Network.Discovery/NullDiscoveryApp.cs index cd96268ba16..582d7321e06 100644 --- a/src/Nethermind/Nethermind.Network.Discovery/NullDiscoveryApp.cs +++ b/src/Nethermind/Nethermind.Network.Discovery/NullDiscoveryApp.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using DotNetty.Transport.Channels; -using DotNetty.Transport.Channels.Sockets; using Nethermind.Core.Crypto; using Nethermind.Stats.Model; diff --git a/src/Nethermind/Nethermind.Network.Enr/NodeRecordSigner.cs b/src/Nethermind/Nethermind.Network.Enr/NodeRecordSigner.cs index d7132ca6a70..6ada841bb07 100644 --- a/src/Nethermind/Nethermind.Network.Enr/NodeRecordSigner.cs +++ b/src/Nethermind/Nethermind.Network.Enr/NodeRecordSigner.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Net; using Nethermind.Core.Crypto; using Nethermind.Crypto; diff --git a/src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs b/src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs index 28aa5cd6261..0ec99dcfc8b 100644 --- a/src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs @@ -4,7 +4,6 @@ using System.IO; using System.Reflection; using System.Text; -using System.Text.Unicode; using FluentAssertions; using Nethermind.Blockchain; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/HelloMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/HelloMessageSerializerTests.cs index 9f9803fa5db..c77219f6548 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/HelloMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/HelloMessageSerializerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/P2PProtocolHandlerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/P2PProtocolHandlerTests.cs index 9209d9d192b..923e8a79596 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/P2PProtocolHandlerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/P2PProtocolHandlerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using DotNetty.Buffers; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/SessionTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/SessionTests.cs index 3a9a3401b14..9eae710851e 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/SessionTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/SessionTests.cs @@ -14,9 +14,7 @@ using Nethermind.Network.P2P.ProtocolHandlers; using Nethermind.Network.Rlpx; using Nethermind.Stats.Model; -using NonBlocking; using NSubstitute; -using NSubstitute.ReceivedExtensions; using NUnit.Framework; namespace Nethermind.Network.Test.P2P diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/BlockBodiesMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/BlockBodiesMessageSerializerTests.cs index 338ae5d04b5..e29b157fc68 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/BlockBodiesMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/BlockBodiesMessageSerializerTests.cs @@ -8,7 +8,6 @@ using Nethermind.Core; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Network.P2P.Subprotocols.Eth.V62.Messages; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/TransactionsMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/TransactionsMessageSerializerTests.cs index a2c9071df99..999780e00c5 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/TransactionsMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V62/TransactionsMessageSerializerTests.cs @@ -10,7 +10,6 @@ using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Network.P2P.Subprotocols.Eth.V62.Messages; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetNodeDataMessageTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetNodeDataMessageTests.cs index 694d2daba2f..2cd2418e2c7 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetNodeDataMessageTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetNodeDataMessageTests.cs @@ -2,10 +2,8 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Network.P2P.Subprotocols.Eth.V63.Messages; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetReceiptsMessageTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetReceiptsMessageTests.cs index f435e2cab15..1d908e8afa7 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetReceiptsMessageTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/GetReceiptsMessageTests.cs @@ -2,10 +2,8 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Network.P2P.Subprotocols.Eth.V63.Messages; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/ReceiptsMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/ReceiptsMessageSerializerTests.cs index 71628a407e2..3968bd4bdc0 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/ReceiptsMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V63/ReceiptsMessageSerializerTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Linq; using DotNetty.Buffers; using FluentAssertions; using Nethermind.Blockchain.Receipts; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V65/PooledTxsRequestorTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V65/PooledTxsRequestorTests.cs index 39ed879e6d2..10fe97fb819 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V65/PooledTxsRequestorTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V65/PooledTxsRequestorTests.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using FluentAssertions; using Nethermind.Core.Crypto; using Nethermind.Core.Test.Builders; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandlerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandlerTests.cs index 1cf2792df74..9d9ce6d8211 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandlerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandlerTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Collections.Generic; -using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V68/Eth68ProtocolHandlerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V68/Eth68ProtocolHandlerTests.cs index 17c47f4c016..d628e6f2fb8 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V68/Eth68ProtocolHandlerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Eth/V68/Eth68ProtocolHandlerTests.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Net; using DotNetty.Buffers; using FluentAssertions; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/GetNodeDataMessageTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/GetNodeDataMessageTests.cs index 1a9cc558f51..5dfde984316 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/GetNodeDataMessageTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/GetNodeDataMessageTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using FluentAssertions; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/NodeDataProtocolHandlerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/NodeDataProtocolHandlerTests.cs index 39c591496d5..2369b59bc59 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/NodeDataProtocolHandlerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/NodeData/NodeDataProtocolHandlerTests.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Threading; -using System.Threading.Tasks; using DotNetty.Buffers; using FluentAssertions; using Nethermind.Blockchain.Synchronization; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/AccountRangeMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/AccountRangeMessageSerializerTests.cs index 212744a6a7b..96767160422 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/AccountRangeMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/AccountRangeMessageSerializerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetByteCodesMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetByteCodesMessageSerializerTests.cs index 3f0d5bad639..2a2d7228e81 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetByteCodesMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetByteCodesMessageSerializerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetStorageRangesMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetStorageRangesMessageSerializerTests.cs index 7ef1520a08d..89b8ffb5524 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetStorageRangesMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetStorageRangesMessageSerializerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Linq; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessageSerializerTests.cs index 3ab73c0dc69..246ec02169f 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessageSerializerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; using Nethermind.Core.Collections; using Nethermind.Core.Test.Builders; diff --git a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/StorageRangesMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/StorageRangesMessageSerializerTests.cs index 2a803c0cedf..44017142d10 100644 --- a/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/StorageRangesMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/P2P/Subprotocols/Snap/Messages/StorageRangesMessageSerializerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Core.Test.Builders; diff --git a/src/Nethermind/Nethermind.Network.Test/ProtocolsManagerTests.cs b/src/Nethermind/Nethermind.Network.Test/ProtocolsManagerTests.cs index fd99eaf4d3a..e1f9a642c90 100644 --- a/src/Nethermind/Nethermind.Network.Test/ProtocolsManagerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/ProtocolsManagerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using System.Numerics; using System.Threading; using DotNetty.Buffers; diff --git a/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthEip8MessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthEip8MessageSerializerTests.cs index 2e137b200c2..ae84ad3c96d 100644 --- a/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthEip8MessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthEip8MessageSerializerTests.cs @@ -7,10 +7,8 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Network.Rlpx.Handshake; using NUnit.Framework; -using Org.BouncyCastle.Utilities.Encoders; namespace Nethermind.Network.Test.Rlpx.Handshake { diff --git a/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthMessageSerializerTests.cs b/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthMessageSerializerTests.cs index fac56e55d35..f9cda0737e7 100644 --- a/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthMessageSerializerTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/Rlpx/Handshake/AuthMessageSerializerTests.cs @@ -6,7 +6,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Crypto; -using Nethermind.Logging; using Nethermind.Network.Rlpx.Handshake; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Network.Test/Rlpx/HobbitTests.cs b/src/Nethermind/Nethermind.Network.Test/Rlpx/HobbitTests.cs index faa4b89b62c..93f7fb1a31f 100644 --- a/src/Nethermind/Nethermind.Network.Test/Rlpx/HobbitTests.cs +++ b/src/Nethermind/Nethermind.Network.Test/Rlpx/HobbitTests.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Linq; using DotNetty.Buffers; using DotNetty.Common; using DotNetty.Common.Internal.Logging; diff --git a/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameDecoderTestWrapper.cs b/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameDecoderTestWrapper.cs index 91894ba8f99..e5080230985 100644 --- a/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameDecoderTestWrapper.cs +++ b/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameDecoderTestWrapper.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Collections.Generic; -using System.Linq; using DotNetty.Buffers; using DotNetty.Codecs; using DotNetty.Transport.Channels; diff --git a/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameMergerTestWrapper.cs b/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameMergerTestWrapper.cs index 0070e1c1d0a..a9fb055a001 100644 --- a/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameMergerTestWrapper.cs +++ b/src/Nethermind/Nethermind.Network.Test/Rlpx/TestWrappers/ZeroFrameMergerTestWrapper.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Collections.Generic; -using System.Linq; using DotNetty.Buffers; using DotNetty.Transport.Channels; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.Network/IDiscoveryApp.cs b/src/Nethermind/Nethermind.Network/IDiscoveryApp.cs index 1e473ba424e..3c130f30595 100644 --- a/src/Nethermind/Nethermind.Network/IDiscoveryApp.cs +++ b/src/Nethermind/Nethermind.Network/IDiscoveryApp.cs @@ -3,7 +3,6 @@ using System.Threading.Tasks; using DotNetty.Transport.Channels; -using DotNetty.Transport.Channels.Sockets; using Nethermind.Core.Crypto; using Nethermind.Stats.Model; diff --git a/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessage.cs index 6fb0ff6dc33..bd77ff28867 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Stats.Model; diff --git a/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessageSerializer.cs b/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessageSerializer.cs index e87b96377a1..818569240c0 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessageSerializer.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Messages/HelloMessageSerializer.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Linq; using DotNetty.Buffers; using Nethermind.Core.Crypto; using Nethermind.Serialization.Rlp; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/HashesMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/HashesMessage.cs index dd6319fd2f5..f9cec26aefd 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/HashesMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/HashesMessage.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Network.P2P.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Eth62ProtocolHandler.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Eth62ProtocolHandler.cs index 8c531355cc1..df904df6ea9 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Eth62ProtocolHandler.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Eth62ProtocolHandler.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Nethermind.Blockchain; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/BlockHeadersMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/BlockHeadersMessage.cs index 8e78cc48e84..6ddde2450d3 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/BlockHeadersMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/BlockHeadersMessage.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.Collections.Generic; using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Network.P2P.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/TransactionsMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/TransactionsMessage.cs index e9a5658adbd..6fb8c871841 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/TransactionsMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V62/Messages/TransactionsMessage.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.Collections.Generic; using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Network.P2P.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetNodeDataMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetNodeDataMessage.cs index 9386b0b2d75..8da22b5d4df 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetNodeDataMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetNodeDataMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetReceiptsMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetReceiptsMessage.cs index f78350cb8b7..bc87c59f009 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetReceiptsMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/GetReceiptsMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/NodeDataMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/NodeDataMessage.cs index b1fd514f370..ab9c7b45c7d 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/NodeDataMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/NodeDataMessage.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.Linq; using Nethermind.Core.Collections; using Nethermind.Network.P2P.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/ReceiptsMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/ReceiptsMessage.cs index 61a522fdc33..289662c83db 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/ReceiptsMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V63/Messages/ReceiptsMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Network.P2P.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/GetPooledTransactionsMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/GetPooledTransactionsMessage.cs index 1a2d12079da..284eb9aaa3a 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/GetPooledTransactionsMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/GetPooledTransactionsMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/NewPooledTransactionHashesMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/NewPooledTransactionHashesMessage.cs index 051c6ff2fda..f23bcd94d2b 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/NewPooledTransactionHashesMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/NewPooledTransactionHashesMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/PooledTransactionsMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/PooledTransactionsMessage.cs index 58b632b0618..887d4b17bd1 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/PooledTransactionsMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Messages/PooledTransactionsMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Network.P2P.Subprotocols.Eth.V62.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandler.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandler.cs index 95595b3b5c0..e2dc8b1934e 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandler.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V66/Eth66ProtocolHandler.cs @@ -11,7 +11,6 @@ using Nethermind.Core.Collections; using Nethermind.Logging; using Nethermind.Network.Contract.P2P; -using Nethermind.Network.P2P.Messages; using Nethermind.Network.P2P.Subprotocols.Eth.V65; using Nethermind.Network.P2P.Subprotocols.Eth.V65.Messages; using Nethermind.Network.P2P.Subprotocols.Eth.V66.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V68/Messages/NewPooledTransactionHashesMessage68.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V68/Messages/NewPooledTransactionHashesMessage68.cs index ae7c147697e..bfeb04e34b1 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V68/Messages/NewPooledTransactionHashesMessage68.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V68/Messages/NewPooledTransactionHashesMessage68.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Network.P2P.Messages; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/Messages/GetNodeDataMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/Messages/GetNodeDataMessage.cs index 79faea912f8..b45e331b7ae 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/Messages/GetNodeDataMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/Messages/GetNodeDataMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/NodeDataProtocolHandler.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/NodeDataProtocolHandler.cs index 5341cdc4af5..641be2577c3 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/NodeDataProtocolHandler.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/NodeData/NodeDataProtocolHandler.cs @@ -13,7 +13,6 @@ using Nethermind.Logging; using Nethermind.Network.Contract.P2P; using Nethermind.Network.P2P.EventArg; -using Nethermind.Network.P2P.Messages; using Nethermind.Network.P2P.ProtocolHandlers; using Nethermind.Network.P2P.Subprotocols.NodeData.Messages; using Nethermind.Network.P2P.Utils; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/ByteCodesMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/ByteCodesMessage.cs index 967fa3919e6..9be1fa40531 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/ByteCodesMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/ByteCodesMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core.Collections; namespace Nethermind.Network.P2P.Subprotocols.Snap.Messages diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetByteCodesMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetByteCodesMessage.cs index 437fd6cc87f..ff02182bb9a 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetByteCodesMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetByteCodesMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessage.cs index 8779e1ebcb8..995b70db5e3 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/GetTrieNodesMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.State.Snap; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/StorageRangeMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/StorageRangeMessage.cs index ae1628ef410..307ed472002 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/StorageRangeMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/StorageRangeMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Data.Common; using Nethermind.Core.Collections; using Nethermind.State.Snap; diff --git a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/TrieNodesMessage.cs b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/TrieNodesMessage.cs index 6983dd63858..48643d194ef 100644 --- a/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/TrieNodesMessage.cs +++ b/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Snap/Messages/TrieNodesMessage.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core.Collections; namespace Nethermind.Network.P2P.Subprotocols.Snap.Messages diff --git a/src/Nethermind/Nethermind.Network/Rlpx/RlpxHost.cs b/src/Nethermind/Nethermind.Network/Rlpx/RlpxHost.cs index 7917c84cd84..58348135845 100644 --- a/src/Nethermind/Nethermind.Network/Rlpx/RlpxHost.cs +++ b/src/Nethermind/Nethermind.Network/Rlpx/RlpxHost.cs @@ -3,7 +3,6 @@ using System; using System.Net; -using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using DotNetty.Common.Concurrency; @@ -14,7 +13,6 @@ using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Logging; -using Nethermind.Network.Config; using Nethermind.Network.P2P; using Nethermind.Network.P2P.Analyzers; using Nethermind.Network.P2P.EventArg; diff --git a/src/Nethermind/Nethermind.Network/StaticNodes/StaticNodesManager.cs b/src/Nethermind/Nethermind.Network/StaticNodes/StaticNodesManager.cs index 2274ab73b6d..79b08881e6e 100644 --- a/src/Nethermind/Nethermind.Network/StaticNodes/StaticNodesManager.cs +++ b/src/Nethermind/Nethermind.Network/StaticNodes/StaticNodesManager.cs @@ -8,7 +8,6 @@ using System.Linq; using System.Net.Sockets; using System.Text.Json; -using System.Text.Json.Serialization; using System.Threading.Tasks; using Nethermind.Config; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Optimism/L1BlockGasInfo.cs b/src/Nethermind/Nethermind.Optimism/L1BlockGasInfo.cs index 0df4477eb40..e7b6bd56cd5 100644 --- a/src/Nethermind/Nethermind.Optimism/L1BlockGasInfo.cs +++ b/src/Nethermind/Nethermind.Optimism/L1BlockGasInfo.cs @@ -4,7 +4,6 @@ using Nethermind.Core; using Nethermind.Int256; using System; -using System.Linq; namespace Nethermind.Optimism; diff --git a/src/Nethermind/Nethermind.Overseer.Test/CliqueTests.cs b/src/Nethermind/Nethermind.Overseer.Test/CliqueTests.cs index bec343e4e35..9046d50e4cc 100644 --- a/src/Nethermind/Nethermind.Overseer.Test/CliqueTests.cs +++ b/src/Nethermind/Nethermind.Overseer.Test/CliqueTests.cs @@ -5,7 +5,6 @@ using Nethermind.Core.Extensions; using Nethermind.Crypto; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.Overseer.Test.Framework; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.Overseer.Test/Framework/CliqueContext.cs b/src/Nethermind/Nethermind.Overseer.Test/Framework/CliqueContext.cs index 9d22da0ee84..0a0f599e525 100644 --- a/src/Nethermind/Nethermind.Overseer.Test/Framework/CliqueContext.cs +++ b/src/Nethermind/Nethermind.Overseer.Test/Framework/CliqueContext.cs @@ -3,7 +3,6 @@ using Nethermind.Core; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.Overseer.Test.JsonRpc; namespace Nethermind.Overseer.Test.Framework diff --git a/src/Nethermind/Nethermind.Runner.Test/Ethereum/ContextWithMocks.cs b/src/Nethermind/Nethermind.Runner.Test/Ethereum/ContextWithMocks.cs index 73c0c925c45..f2c4daafbb8 100644 --- a/src/Nethermind/Nethermind.Runner.Test/Ethereum/ContextWithMocks.cs +++ b/src/Nethermind/Nethermind.Runner.Test/Ethereum/ContextWithMocks.cs @@ -42,7 +42,6 @@ using Nethermind.Wallet; using Nethermind.Sockets; using Nethermind.Specs; -using Nethermind.Synchronization.SnapSync; using Nethermind.Trie; using NSubstitute; using Nethermind.Blockchain.Blocks; diff --git a/src/Nethermind/Nethermind.Runner.Test/EthereumRunnerTests.cs b/src/Nethermind/Nethermind.Runner.Test/EthereumRunnerTests.cs index 680ca5d4de9..bd648ca1c84 100644 --- a/src/Nethermind/Nethermind.Runner.Test/EthereumRunnerTests.cs +++ b/src/Nethermind/Nethermind.Runner.Test/EthereumRunnerTests.cs @@ -26,8 +26,6 @@ using Nethermind.Runner.Ethereum.Api; using Nethermind.TxPool; using NUnit.Framework; -using LogLevel = NLog.LogLevel; -using Nethermind.Serialization.Json; namespace Nethermind.Runner.Test { diff --git a/src/Nethermind/Nethermind.Runner/Ethereum/Api/ApiBuilder.cs b/src/Nethermind/Nethermind.Runner/Ethereum/Api/ApiBuilder.cs index 2d097c4a769..d198be0e9b0 100644 --- a/src/Nethermind/Nethermind.Runner/Ethereum/Api/ApiBuilder.cs +++ b/src/Nethermind/Nethermind.Runner/Ethereum/Api/ApiBuilder.cs @@ -12,11 +12,9 @@ using Nethermind.Consensus; using Nethermind.Core; using Nethermind.Facade.Eth; -using Nethermind.JsonRpc.Data; using Nethermind.Logging; using Nethermind.Serialization.Json; using Nethermind.Specs.ChainSpecStyle; -using ILogger = Nethermind.Logging.InterfaceLogger; namespace Nethermind.Runner.Ethereum.Api { diff --git a/src/Nethermind/Nethermind.Runner/Ethereum/JsonRpcRunner.cs b/src/Nethermind/Nethermind.Runner/Ethereum/JsonRpcRunner.cs index f606bc934b7..dfee89917d5 100644 --- a/src/Nethermind/Nethermind.Runner/Ethereum/JsonRpcRunner.cs +++ b/src/Nethermind/Nethermind.Runner/Ethereum/JsonRpcRunner.cs @@ -20,7 +20,6 @@ using Nethermind.Runner.JsonRpc; using Nethermind.Runner.Logging; using Nethermind.Sockets; -using ILogger = Nethermind.Logging.InterfaceLogger; using LogLevel = Microsoft.Extensions.Logging.LogLevel; namespace Nethermind.Runner.Ethereum diff --git a/src/Nethermind/Nethermind.Runner/JsonRpc/JsonRpcIpcRunner.cs b/src/Nethermind/Nethermind.Runner/JsonRpc/JsonRpcIpcRunner.cs index 0460aaec8fb..a27b741a0e9 100644 --- a/src/Nethermind/Nethermind.Runner/JsonRpc/JsonRpcIpcRunner.cs +++ b/src/Nethermind/Nethermind.Runner/JsonRpc/JsonRpcIpcRunner.cs @@ -15,9 +15,6 @@ using Nethermind.Serialization.Json; using Nethermind.Sockets; -using System.Text.Json; -using System.Text.Json.Serialization; - namespace Nethermind.Runner.JsonRpc { public class JsonRpcIpcRunner : IDisposable diff --git a/src/Nethermind/Nethermind.Runner/Program.cs b/src/Nethermind/Nethermind.Runner/Program.cs index e6d0b5780a0..1305b1adc4f 100644 --- a/src/Nethermind/Nethermind.Runner/Program.cs +++ b/src/Nethermind/Nethermind.Runner/Program.cs @@ -25,7 +25,6 @@ using Nethermind.Consensus.Clique; using Nethermind.Consensus.Ethash; using Nethermind.Core; -using Nethermind.Core.Collections; using Nethermind.Core.Exceptions; using Nethermind.Db.Rocks; using Nethermind.Hive; diff --git a/src/Nethermind/Nethermind.Serialization.Json/BooleanConverter.cs b/src/Nethermind/Nethermind.Serialization.Json/BooleanConverter.cs index 6ec8c6cf769..77f5825ba96 100644 --- a/src/Nethermind/Nethermind.Serialization.Json/BooleanConverter.cs +++ b/src/Nethermind/Nethermind.Serialization.Json/BooleanConverter.cs @@ -2,13 +2,10 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Globalization; -using Nethermind.Core.Extensions; namespace Nethermind.Serialization.Json { using System.Buffers; - using System.Buffers.Binary; using System.Buffers.Text; using System.Runtime.CompilerServices; using System.Text.Json; diff --git a/src/Nethermind/Nethermind.Serialization.Json/EthereumJsonSerializer.cs b/src/Nethermind/Nethermind.Serialization.Json/EthereumJsonSerializer.cs index 0cbf7c2dd1d..a99afd49a63 100644 --- a/src/Nethermind/Nethermind.Serialization.Json/EthereumJsonSerializer.cs +++ b/src/Nethermind/Nethermind.Serialization.Json/EthereumJsonSerializer.cs @@ -6,8 +6,6 @@ using System.Collections.Generic; using System.IO; using System.IO.Pipelines; -using System.Linq; -using System.Runtime.CompilerServices; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Serialization.Json/IJsonSerializer.cs b/src/Nethermind/Nethermind.Serialization.Json/IJsonSerializer.cs index 6011c5e141b..490e98153fd 100644 --- a/src/Nethermind/Nethermind.Serialization.Json/IJsonSerializer.cs +++ b/src/Nethermind/Nethermind.Serialization.Json/IJsonSerializer.cs @@ -3,7 +3,6 @@ using System.Buffers; using System.IO; -using System.IO.Pipelines; using System.Threading.Tasks; namespace Nethermind.Serialization.Json diff --git a/src/Nethermind/Nethermind.Serialization.Json/NullableBigIntegerConverter.cs b/src/Nethermind/Nethermind.Serialization.Json/NullableBigIntegerConverter.cs index 25181e4d21c..39625bc31b3 100644 --- a/src/Nethermind/Nethermind.Serialization.Json/NullableBigIntegerConverter.cs +++ b/src/Nethermind/Nethermind.Serialization.Json/NullableBigIntegerConverter.cs @@ -3,7 +3,6 @@ using System; using System.Numerics; -using System.Reflection.PortableExecutable; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/src/Nethermind/Nethermind.Serialization.Json/StorageCellIndexConverter.cs b/src/Nethermind/Nethermind.Serialization.Json/StorageCellIndexConverter.cs index bfabde7e275..36d4295f39b 100644 --- a/src/Nethermind/Nethermind.Serialization.Json/StorageCellIndexConverter.cs +++ b/src/Nethermind/Nethermind.Serialization.Json/StorageCellIndexConverter.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using Nethermind.Core.Extensions; using Nethermind.Int256; #nullable enable diff --git a/src/Nethermind/Nethermind.Serialization.Json/ULongConverter.cs b/src/Nethermind/Nethermind.Serialization.Json/ULongConverter.cs index 1db75c2a7a7..282a542221a 100644 --- a/src/Nethermind/Nethermind.Serialization.Json/ULongConverter.cs +++ b/src/Nethermind/Nethermind.Serialization.Json/ULongConverter.cs @@ -12,7 +12,6 @@ namespace Nethermind.Serialization.Json using System.Runtime.CompilerServices; using System.Text.Json; using System.Text.Json.Serialization; - using Nethermind.Int256; public class ULongConverter : JsonConverter { diff --git a/src/Nethermind/Nethermind.Serialization.Rlp/AccountDecoder.cs b/src/Nethermind/Nethermind.Serialization.Rlp/AccountDecoder.cs index 36a64789795..1aafefca57e 100644 --- a/src/Nethermind/Nethermind.Serialization.Rlp/AccountDecoder.cs +++ b/src/Nethermind/Nethermind.Serialization.Rlp/AccountDecoder.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.IO; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Serialization.Rlp/Eip2930/AccessListDecoder.cs b/src/Nethermind/Nethermind.Serialization.Rlp/Eip2930/AccessListDecoder.cs index 59c8d9807b4..4b344820926 100644 --- a/src/Nethermind/Nethermind.Serialization.Rlp/Eip2930/AccessListDecoder.cs +++ b/src/Nethermind/Nethermind.Serialization.Rlp/Eip2930/AccessListDecoder.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; using System.Linq; using Nethermind.Core; using Nethermind.Core.Eip2930; diff --git a/src/Nethermind/Nethermind.Specs/ChainSpecStyle/ChainSpecLoader.cs b/src/Nethermind/Nethermind.Specs/ChainSpecStyle/ChainSpecLoader.cs index 2fd0c62b5e4..14e88941685 100644 --- a/src/Nethermind/Nethermind.Specs/ChainSpecStyle/ChainSpecLoader.cs +++ b/src/Nethermind/Nethermind.Specs/ChainSpecStyle/ChainSpecLoader.cs @@ -7,7 +7,6 @@ using System.Globalization; using System.IO; using System.Linq; -using System.Text; using System.Text.Json; using Nethermind.Config; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/BuiltInJson.cs b/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/BuiltInJson.cs index aa4ccd3a6a3..0994dbdd949 100644 --- a/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/BuiltInJson.cs +++ b/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/BuiltInJson.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using System.Text.Json; -using System.Text.Json.Serialization; namespace Nethermind.Specs.ChainSpecStyle.Json { diff --git a/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs b/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs index 40f57401d61..453606da257 100644 --- a/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs +++ b/src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs @@ -7,7 +7,6 @@ using System.Text.Json; using System.Text.Json.Serialization; using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Int256; namespace Nethermind.Specs.ChainSpecStyle.Json diff --git a/src/Nethermind/Nethermind.Specs/Forks/00_Olympic.cs b/src/Nethermind/Nethermind.Specs/Forks/00_Olympic.cs index 4fa61f4abbc..150be6ec6b5 100644 --- a/src/Nethermind/Nethermind.Specs/Forks/00_Olympic.cs +++ b/src/Nethermind/Nethermind.Specs/Forks/00_Olympic.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Threading; -using Nethermind.Core; using Nethermind.Core.Specs; using Nethermind.Int256; diff --git a/src/Nethermind/Nethermind.Specs/SystemTransactionReleaseSpec.cs b/src/Nethermind/Nethermind.Specs/SystemTransactionReleaseSpec.cs index b09ad342b62..c2a66566842 100644 --- a/src/Nethermind/Nethermind.Specs/SystemTransactionReleaseSpec.cs +++ b/src/Nethermind/Nethermind.Specs/SystemTransactionReleaseSpec.cs @@ -1,9 +1,7 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Core; using Nethermind.Core.Specs; -using Nethermind.Int256; namespace Nethermind.Specs { diff --git a/src/Nethermind/Nethermind.State.Test/Proofs/AccountProofCollectorTests.cs b/src/Nethermind/Nethermind.State.Test/Proofs/AccountProofCollectorTests.cs index c19551a2848..6fdc0a00a6f 100644 --- a/src/Nethermind/Nethermind.State.Test/Proofs/AccountProofCollectorTests.cs +++ b/src/Nethermind/Nethermind.State.Test/Proofs/AccountProofCollectorTests.cs @@ -6,7 +6,6 @@ using System.Linq; using FluentAssertions; using Nethermind.Core; -using Nethermind.Core.Buffers; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; diff --git a/src/Nethermind/Nethermind.State.Test/StateReaderTests.cs b/src/Nethermind/Nethermind.State.Test/StateReaderTests.cs index 5e56dd22f44..b412245bf8f 100644 --- a/src/Nethermind/Nethermind.State.Test/StateReaderTests.cs +++ b/src/Nethermind/Nethermind.State.Test/StateReaderTests.cs @@ -3,7 +3,6 @@ using System.Threading.Tasks; using FluentAssertions; -using Microsoft.Extensions.Logging; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.State.Test/StatsCollectorTests.cs b/src/Nethermind/Nethermind.State.Test/StatsCollectorTests.cs index 21c6b823c78..a9ec644e86c 100644 --- a/src/Nethermind/Nethermind.State.Test/StatsCollectorTests.cs +++ b/src/Nethermind/Nethermind.State.Test/StatsCollectorTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.State.Test/WorldStateManagerTests.cs b/src/Nethermind/Nethermind.State.Test/WorldStateManagerTests.cs index ca16567e1e7..39199deafb1 100644 --- a/src/Nethermind/Nethermind.State.Test/WorldStateManagerTests.cs +++ b/src/Nethermind/Nethermind.State.Test/WorldStateManagerTests.cs @@ -1,13 +1,9 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; -using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Db; using Nethermind.Logging; -using Nethermind.Specs; using Nethermind.State; using Nethermind.Trie.Pruning; using NSubstitute; diff --git a/src/Nethermind/Nethermind.State/IWorldState.cs b/src/Nethermind/Nethermind.State/IWorldState.cs index 21ac37a2a64..7b46962d739 100644 --- a/src/Nethermind/Nethermind.State/IWorldState.cs +++ b/src/Nethermind/Nethermind.State/IWorldState.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Threading.Tasks; using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; @@ -113,4 +112,5 @@ public interface IWorldState : IJournal, IReadOnlyStateProvider void CommitTree(long blockNumber); ArrayPoolList? GetAccountChanges(); + void ResetTransient(); } diff --git a/src/Nethermind/Nethermind.State/IWorldStateExtensions.cs b/src/Nethermind/Nethermind.State/IWorldStateExtensions.cs index f6ffa4250d1..d62e8241df7 100644 --- a/src/Nethermind/Nethermind.State/IWorldStateExtensions.cs +++ b/src/Nethermind/Nethermind.State/IWorldStateExtensions.cs @@ -4,9 +4,7 @@ using System; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Specs; -using Nethermind.Logging; using Nethermind.Trie; namespace Nethermind.State diff --git a/src/Nethermind/Nethermind.State/PreBlockCaches.cs b/src/Nethermind/Nethermind.State/PreBlockCaches.cs index 696afcb1603..6021b984256 100644 --- a/src/Nethermind/Nethermind.State/PreBlockCaches.cs +++ b/src/Nethermind/Nethermind.State/PreBlockCaches.cs @@ -3,10 +3,7 @@ using System; using System.Collections.Concurrent; -using System.Numerics; -using System.Runtime.InteropServices; using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Core.Collections; using Nethermind.Trie; diff --git a/src/Nethermind/Nethermind.State/Proofs/ProofCollector.cs b/src/Nethermind/Nethermind.State/Proofs/ProofCollector.cs index 31412b2c8fa..f9db73795fa 100644 --- a/src/Nethermind/Nethermind.State/Proofs/ProofCollector.cs +++ b/src/Nethermind/Nethermind.State/Proofs/ProofCollector.cs @@ -3,8 +3,6 @@ using System; using System.Collections.Generic; -using Nethermind.Core; -using Nethermind.Core.Buffers; using Nethermind.Core.Crypto; using Nethermind.Trie; diff --git a/src/Nethermind/Nethermind.State/Proofs/ProofVerifier.cs b/src/Nethermind/Nethermind.State/Proofs/ProofVerifier.cs index 234614a826f..9c71137951c 100644 --- a/src/Nethermind/Nethermind.State/Proofs/ProofVerifier.cs +++ b/src/Nethermind/Nethermind.State/Proofs/ProofVerifier.cs @@ -1,14 +1,12 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.IO; using System.Linq; using Nethermind.Core.Buffers; using Nethermind.Core.Crypto; using Nethermind.Serialization.Rlp; using Nethermind.Trie; -using Nethermind.Trie.Pruning; namespace Nethermind.State.Proofs { diff --git a/src/Nethermind/Nethermind.State/Snap/StorageRange.cs b/src/Nethermind/Nethermind.State/Snap/StorageRange.cs index 3d0843757fe..d521980e51f 100644 --- a/src/Nethermind/Nethermind.State/Snap/StorageRange.cs +++ b/src/Nethermind/Nethermind.State/Snap/StorageRange.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Collections.Generic; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.State/StateReader.cs b/src/Nethermind/Nethermind.State/StateReader.cs index 77558d564c2..41a230e1dc6 100644 --- a/src/Nethermind/Nethermind.State/StateReader.cs +++ b/src/Nethermind/Nethermind.State/StateReader.cs @@ -2,11 +2,9 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Runtime.CompilerServices; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; -using Nethermind.Db; using Nethermind.Int256; using Nethermind.Logging; using Nethermind.Trie; diff --git a/src/Nethermind/Nethermind.State/StorageTree.cs b/src/Nethermind/Nethermind.State/StorageTree.cs index 748ed3aa159..d18b7fa6ff5 100644 --- a/src/Nethermind/Nethermind.State/StorageTree.cs +++ b/src/Nethermind/Nethermind.State/StorageTree.cs @@ -6,7 +6,6 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Runtime.Intrinsics; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.State/WorldState.cs b/src/Nethermind/Nethermind.State/WorldState.cs index 5635dc52455..658bbf58cfb 100644 --- a/src/Nethermind/Nethermind.State/WorldState.cs +++ b/src/Nethermind/Nethermind.State/WorldState.cs @@ -268,6 +268,10 @@ public void CreateAccountIfNotExists(Address address, in UInt256 balance, in UIn } ArrayPoolList? IWorldState.GetAccountChanges() => _stateProvider.ChangedAddresses(); + public void ResetTransient() + { + _transientStorageProvider.Reset(); + } PreBlockCaches? IPreBlockCaches.Caches => PreBlockCaches; } diff --git a/src/Nethermind/Nethermind.Synchronization.Test/ExitOnSyncCompleteTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/ExitOnSyncCompleteTests.cs index 4c1b333c428..ad7085205fe 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/ExitOnSyncCompleteTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/ExitOnSyncCompleteTests.cs @@ -2,13 +2,11 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Threading; using System.Threading.Tasks; using Nethermind.Config; using Nethermind.Logging; using Nethermind.Synchronization.ParallelSync; using NSubstitute; -using NSubstitute.Core; using NUnit.Framework; namespace Nethermind.Synchronization.Test; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/FastHeadersSyncTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/FastHeadersSyncTests.cs index adeab5f2552..ef4dfa1d19d 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/FastHeadersSyncTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/FastHeadersSyncTests.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Reactive.Linq; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/ReceiptsSyncFeedTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/ReceiptsSyncFeedTests.cs index f120286404c..c3937918396 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/ReceiptsSyncFeedTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/ReceiptsSyncFeedTests.cs @@ -9,7 +9,6 @@ using Nethermind.Blockchain; using Nethermind.Blockchain.Receipts; using Nethermind.Blockchain.Synchronization; -using Nethermind.Consensus; using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/SyncStatusListTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/SyncStatusListTests.cs index 60b564155f4..d9a580d676a 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/SyncStatusListTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/FastBlocks/SyncStatusListTests.cs @@ -7,7 +7,6 @@ using FluentAssertions; using Nethermind.Blockchain; using Nethermind.Core; -using Nethermind.Core.Crypto; using Nethermind.Core.Test.Builders; using Nethermind.Synchronization.FastBlocks; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedHealingTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedHealingTests.cs index c2145f9de76..4deae0dc1f8 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedHealingTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedHealingTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedTestsBase.cs b/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedTestsBase.cs index 686686f5d44..7bd06c8bf69 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedTestsBase.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/FastSync/StateSyncFeedTestsBase.cs @@ -13,7 +13,6 @@ using Nethermind.Core; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Test; using Nethermind.Core.Test.Builders; using Nethermind.Core.Timers; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/OldStyleFullSynchronizerTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/OldStyleFullSynchronizerTests.cs index d5e3adcbeae..9ceed40121c 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/OldStyleFullSynchronizerTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/OldStyleFullSynchronizerTests.cs @@ -25,8 +25,6 @@ using Nethermind.Stats; using Nethermind.Synchronization.Blocks; using Nethermind.Synchronization.Peers; -using Nethermind.Synchronization.Reporting; -using Nethermind.Synchronization.SnapSync; using Nethermind.Trie; using Nethermind.Trie.Pruning; using NSubstitute; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/RangeQueryVisitorTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/RangeQueryVisitorTests.cs index 1c2bd7be51f..aeb08faff4f 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/RangeQueryVisitorTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/RangeQueryVisitorTests.cs @@ -19,7 +19,6 @@ using System.Collections.Generic; using System.Linq; using FluentAssertions; -using Nethermind.Core; using Nethermind.Core.Buffers; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; @@ -31,7 +30,6 @@ using Nethermind.Trie; using Nethermind.Trie.Pruning; using NUnit.Framework; -using Org.BouncyCastle.Utilities; using Bytes = Nethermind.Core.Extensions.Bytes; namespace Nethermind.Synchronization.Test; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/SnapSync/ProgressTrackerTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/SnapSync/ProgressTrackerTests.cs index a9646b41a24..26d30cf1b56 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/SnapSync/ProgressTrackerTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/SnapSync/ProgressTrackerTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Threading.Tasks; using FluentAssertions; using Nethermind.Blockchain; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/SyncServerTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/SyncServerTests.cs index 46cadf01253..c9211fab0f5 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/SyncServerTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/SyncServerTests.cs @@ -25,7 +25,6 @@ using Nethermind.Specs; using Nethermind.Specs.ChainSpecStyle; using Nethermind.Specs.Forks; -using Nethermind.State; using Nethermind.Stats.Model; using Nethermind.Synchronization.FastSync; using Nethermind.Synchronization.ParallelSync; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/SyncThreadTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/SyncThreadTests.cs index d2d4a552603..a417ddb5c64 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/SyncThreadTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/SyncThreadTests.cs @@ -34,13 +34,11 @@ using Nethermind.Synchronization.Blocks; using Nethermind.Synchronization.ParallelSync; using Nethermind.Synchronization.Peers; -using Nethermind.Synchronization.Reporting; using Nethermind.Trie.Pruning; using Nethermind.TxPool; using NSubstitute; using NUnit.Framework; using BlockTree = Nethermind.Blockchain.BlockTree; -using Nethermind.Synchronization.SnapSync; using Nethermind.Config; using Nethermind.Specs.ChainSpecStyle; using Nethermind.Trie; diff --git a/src/Nethermind/Nethermind.Synchronization.Test/Trie/RecoveryTests.cs b/src/Nethermind/Nethermind.Synchronization.Test/Trie/RecoveryTests.cs index a126a8fee92..dff372640e1 100644 --- a/src/Nethermind/Nethermind.Synchronization.Test/Trie/RecoveryTests.cs +++ b/src/Nethermind/Nethermind.Synchronization.Test/Trie/RecoveryTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using System.Collections.Generic; using System.Linq; using System.Threading; @@ -10,7 +9,6 @@ using Nethermind.Blockchain.Synchronization; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; -using Nethermind.Core.Extensions; using Nethermind.Core.Test.Builders; using Nethermind.Logging; using Nethermind.Network.Contract.P2P; diff --git a/src/Nethermind/Nethermind.Synchronization/Blocks/FastSyncFeed.cs b/src/Nethermind/Nethermind.Synchronization/Blocks/FastSyncFeed.cs index be046e65f2e..c8dbe98e701 100644 --- a/src/Nethermind/Nethermind.Synchronization/Blocks/FastSyncFeed.cs +++ b/src/Nethermind/Nethermind.Synchronization/Blocks/FastSyncFeed.cs @@ -2,11 +2,9 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Configuration; using System.Threading; using System.Threading.Tasks; using Nethermind.Blockchain.Synchronization; -using Nethermind.Logging; using Nethermind.Synchronization.ParallelSync; using Nethermind.Synchronization.Peers; diff --git a/src/Nethermind/Nethermind.Synchronization/FastBlocks/BarrierSyncFeed.cs b/src/Nethermind/Nethermind.Synchronization/FastBlocks/BarrierSyncFeed.cs index 1998a3403c1..941b4f5aac9 100644 --- a/src/Nethermind/Nethermind.Synchronization/FastBlocks/BarrierSyncFeed.cs +++ b/src/Nethermind/Nethermind.Synchronization/FastBlocks/BarrierSyncFeed.cs @@ -8,7 +8,6 @@ using Nethermind.Db; using Nethermind.Logging; using Nethermind.Synchronization.ParallelSync; -using Nethermind.Synchronization.SyncLimits; namespace Nethermind.Synchronization.FastBlocks; diff --git a/src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs b/src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs index cf56d167fe2..8ff1b75d748 100644 --- a/src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs +++ b/src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs @@ -4,9 +4,7 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; -using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Synchronization/ISyncServer.cs b/src/Nethermind/Nethermind.Synchronization/ISyncServer.cs index 3a14b7b96f9..3ee241c79ea 100644 --- a/src/Nethermind/Nethermind.Synchronization/ISyncServer.cs +++ b/src/Nethermind/Nethermind.Synchronization/ISyncServer.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Threading; -using System.Threading.Tasks; using Nethermind.Blockchain.Synchronization; using Nethermind.Core; using Nethermind.Core.Collections; diff --git a/src/Nethermind/Nethermind.Synchronization/ISynchronizer.cs b/src/Nethermind/Nethermind.Synchronization/ISynchronizer.cs index 512b0a767a5..26a3abcc1cc 100644 --- a/src/Nethermind/Nethermind.Synchronization/ISynchronizer.cs +++ b/src/Nethermind/Nethermind.Synchronization/ISynchronizer.cs @@ -4,7 +4,6 @@ using System; using System.Threading.Tasks; using Nethermind.Synchronization.ParallelSync; -using Nethermind.Synchronization.SnapSync; namespace Nethermind.Synchronization { diff --git a/src/Nethermind/Nethermind.Synchronization/Metrics.cs b/src/Nethermind/Nethermind.Synchronization/Metrics.cs index 68ffc7f8012..cfb5e37444b 100644 --- a/src/Nethermind/Nethermind.Synchronization/Metrics.cs +++ b/src/Nethermind/Nethermind.Synchronization/Metrics.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Concurrent; using System.ComponentModel; using Nethermind.Core.Attributes; using Nethermind.Stats.Model; diff --git a/src/Nethermind/Nethermind.Synchronization/ParallelSync/FullStateFinder.cs b/src/Nethermind/Nethermind.Synchronization/ParallelSync/FullStateFinder.cs index 4b89d37cdad..82bf7b48bbd 100644 --- a/src/Nethermind/Nethermind.Synchronization/ParallelSync/FullStateFinder.cs +++ b/src/Nethermind/Nethermind.Synchronization/ParallelSync/FullStateFinder.cs @@ -5,11 +5,7 @@ using Nethermind.Blockchain; using Nethermind.Core; using Nethermind.Core.Crypto; -using Nethermind.Db; -using Nethermind.Logging; using Nethermind.State; -using Nethermind.Trie; -using Nethermind.Trie.Pruning; namespace Nethermind.Synchronization.ParallelSync; diff --git a/src/Nethermind/Nethermind.Synchronization/SnapSync/PathWithStorageCollector.cs b/src/Nethermind/Nethermind.Synchronization/SnapSync/PathWithStorageCollector.cs index 975c3bfdd5c..825de17b80e 100644 --- a/src/Nethermind/Nethermind.Synchronization/SnapSync/PathWithStorageCollector.cs +++ b/src/Nethermind/Nethermind.Synchronization/SnapSync/PathWithStorageCollector.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Core; using Nethermind.Core.Buffers; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Synchronization/SnapSync/ProgressTracker.cs b/src/Nethermind/Nethermind.Synchronization/SnapSync/ProgressTracker.cs index eda6709e66e..64f0131c0f3 100644 --- a/src/Nethermind/Nethermind.Synchronization/SnapSync/ProgressTracker.cs +++ b/src/Nethermind/Nethermind.Synchronization/SnapSync/ProgressTracker.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading; diff --git a/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapProviderHelper.cs b/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapProviderHelper.cs index ea9dfc1f70a..5ad7e0feea2 100644 --- a/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapProviderHelper.cs +++ b/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapProviderHelper.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; @@ -13,7 +12,6 @@ using Nethermind.Serialization.Rlp; using Nethermind.State; using Nethermind.State.Snap; -using Nethermind.Stats.Model; using Nethermind.Trie; using Nethermind.Trie.Pruning; diff --git a/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapServer.cs b/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapServer.cs index e18b9e1e36e..adc7d0da3d2 100644 --- a/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapServer.cs +++ b/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapServer.cs @@ -17,7 +17,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Threading; using Nethermind.Blockchain.Utils; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Synchronization/StateSync/PeerInfoExtensions.cs b/src/Nethermind/Nethermind.Synchronization/StateSync/PeerInfoExtensions.cs index 6e05fe437cd..24a2050129f 100644 --- a/src/Nethermind/Nethermind.Synchronization/StateSync/PeerInfoExtensions.cs +++ b/src/Nethermind/Nethermind.Synchronization/StateSync/PeerInfoExtensions.cs @@ -3,7 +3,6 @@ using Nethermind.Blockchain.Synchronization; using Nethermind.Network.Contract.P2P; -using Nethermind.Stats.Model; using Nethermind.Synchronization.Peers; namespace Nethermind.Synchronization.StateSync; diff --git a/src/Nethermind/Nethermind.Synchronization/SyncServer.cs b/src/Nethermind/Nethermind.Synchronization/SyncServer.cs index 429f27af1be..770820a5875 100644 --- a/src/Nethermind/Nethermind.Synchronization/SyncServer.cs +++ b/src/Nethermind/Nethermind.Synchronization/SyncServer.cs @@ -3,9 +3,7 @@ using System; using System.Collections.Generic; -using System.ComponentModel; using System.IO; -using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; diff --git a/src/Nethermind/Nethermind.Synchronization/Synchronizer.cs b/src/Nethermind/Nethermind.Synchronization/Synchronizer.cs index ff69883e6f6..788aca9f03c 100644 --- a/src/Nethermind/Nethermind.Synchronization/Synchronizer.cs +++ b/src/Nethermind/Nethermind.Synchronization/Synchronizer.cs @@ -27,7 +27,6 @@ using Nethermind.Synchronization.Reporting; using Nethermind.Synchronization.SnapSync; using Nethermind.Synchronization.StateSync; -using Nethermind.Trie; namespace Nethermind.Synchronization { diff --git a/src/Nethermind/Nethermind.Synchronization/Trie/GetNodeDataTrieNodeRecovery.cs b/src/Nethermind/Nethermind.Synchronization/Trie/GetNodeDataTrieNodeRecovery.cs index 96d6ce4a60b..a799cd4890c 100644 --- a/src/Nethermind/Nethermind.Synchronization/Trie/GetNodeDataTrieNodeRecovery.cs +++ b/src/Nethermind/Nethermind.Synchronization/Trie/GetNodeDataTrieNodeRecovery.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System.Collections.Generic; -using System.Linq; using System.Threading; using System.Threading.Tasks; using Nethermind.Blockchain.Synchronization; diff --git a/src/Nethermind/Nethermind.Trie.Test/NodeStorageFactoryTests.cs b/src/Nethermind/Nethermind.Trie.Test/NodeStorageFactoryTests.cs index c904a1b67a6..5e0308ea2a5 100644 --- a/src/Nethermind/Nethermind.Trie.Test/NodeStorageFactoryTests.cs +++ b/src/Nethermind/Nethermind.Trie.Test/NodeStorageFactoryTests.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using FluentAssertions; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Trie.Test/NodeStorageTests.cs b/src/Nethermind/Nethermind.Trie.Test/NodeStorageTests.cs index 3e5cd920204..72caff99b39 100644 --- a/src/Nethermind/Nethermind.Trie.Test/NodeStorageTests.cs +++ b/src/Nethermind/Nethermind.Trie.Test/NodeStorageTests.cs @@ -7,9 +7,7 @@ using Nethermind.Core.Extensions; using Nethermind.Core.Test; using Nethermind.Core.Test.Builders; -using Nethermind.Trie.Pruning; using NUnit.Framework; -using Org.BouncyCastle.Asn1.X509; namespace Nethermind.Trie.Test; diff --git a/src/Nethermind/Nethermind.Trie.Test/TreePathTests.cs b/src/Nethermind/Nethermind.Trie.Test/TreePathTests.cs index 3947bd2ab07..b5175307cb2 100644 --- a/src/Nethermind/Nethermind.Trie.Test/TreePathTests.cs +++ b/src/Nethermind/Nethermind.Trie.Test/TreePathTests.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; -using System.Linq; using FluentAssertions; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; diff --git a/src/Nethermind/Nethermind.Trie.Test/TrieTests.cs b/src/Nethermind/Nethermind.Trie.Test/TrieTests.cs index 0d9e05c1e1f..d41e3f662aa 100644 --- a/src/Nethermind/Nethermind.Trie.Test/TrieTests.cs +++ b/src/Nethermind/Nethermind.Trie.Test/TrieTests.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Linq; using FluentAssertions; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Trie/CachedTrieStore.cs b/src/Nethermind/Nethermind.Trie/CachedTrieStore.cs index d9a1769c5aa..a29555b4f64 100644 --- a/src/Nethermind/Nethermind.Trie/CachedTrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/CachedTrieStore.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Diagnostics.Metrics; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Trie.Pruning; diff --git a/src/Nethermind/Nethermind.Trie/ITreeVisitor.cs b/src/Nethermind/Nethermind.Trie/ITreeVisitor.cs index 6fcf79bd270..a7243822477 100644 --- a/src/Nethermind/Nethermind.Trie/ITreeVisitor.cs +++ b/src/Nethermind/Nethermind.Trie/ITreeVisitor.cs @@ -3,7 +3,6 @@ using System; using Nethermind.Core; -using Nethermind.Core.Collections; using Nethermind.Core.Crypto; namespace Nethermind.Trie diff --git a/src/Nethermind/Nethermind.Trie/PreCachedTrieStore.cs b/src/Nethermind/Nethermind.Trie/PreCachedTrieStore.cs index efb9d242748..22fd6c92bbf 100644 --- a/src/Nethermind/Nethermind.Trie/PreCachedTrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/PreCachedTrieStore.cs @@ -5,7 +5,6 @@ using System.Collections.Concurrent; using System.Numerics; using Nethermind.Core; -using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Trie.Pruning; diff --git a/src/Nethermind/Nethermind.Trie/Pruning/IScopedTrieStore.cs b/src/Nethermind/Nethermind.Trie/Pruning/IScopedTrieStore.cs index f8d2384fd0e..0c3746c8d1a 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/IScopedTrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/IScopedTrieStore.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Trie/Pruning/ITrieStoreExtensions.cs b/src/Nethermind/Nethermind.Trie/Pruning/ITrieStoreExtensions.cs index 7c9626b32b8..3b40fff5f05 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/ITrieStoreExtensions.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/ITrieStoreExtensions.cs @@ -1,8 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using Nethermind.Core; - namespace Nethermind.Trie.Pruning { // ReSharper disable once InconsistentNaming diff --git a/src/Nethermind/Nethermind.Trie/Pruning/NullTrieNodeResolver.cs b/src/Nethermind/Nethermind.Trie/Pruning/NullTrieNodeResolver.cs index 004fb8b3c8c..e0491d49a92 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/NullTrieNodeResolver.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/NullTrieNodeResolver.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Trie/Pruning/NullTrieStore.cs b/src/Nethermind/Nethermind.Trie/Pruning/NullTrieStore.cs index 4982d7166b8..b799acdc3cc 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/NullTrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/NullTrieStore.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only using System; -using System.Threading; -using System.Threading.Tasks; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Trie/Pruning/OverlayTrieStore.cs b/src/Nethermind/Nethermind.Trie/Pruning/OverlayTrieStore.cs index 50977e6ec5d..c84a6538539 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/OverlayTrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/OverlayTrieStore.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Logging; diff --git a/src/Nethermind/Nethermind.Trie/Pruning/ReadOnlyTrieStore.cs b/src/Nethermind/Nethermind.Trie/Pruning/ReadOnlyTrieStore.cs index 0ae9f2160e9..2c298cf39e7 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/ReadOnlyTrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/ReadOnlyTrieStore.cs @@ -3,7 +3,6 @@ using System; using System.Threading; -using System.Threading.Tasks; using Nethermind.Core; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.Trie/RangeQueryVisitor.cs b/src/Nethermind/Nethermind.Trie/RangeQueryVisitor.cs index b89bc021570..d64bf64baf0 100644 --- a/src/Nethermind/Nethermind.Trie/RangeQueryVisitor.cs +++ b/src/Nethermind/Nethermind.Trie/RangeQueryVisitor.cs @@ -17,14 +17,12 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Threading; using Nethermind.Core; using Nethermind.Core.Buffers; using Nethermind.Core.Collections; using Nethermind.Core.Crypto; using Nethermind.Core.Extensions; -using Nethermind.Serialization.Rlp; namespace Nethermind.Trie; diff --git a/src/Nethermind/Nethermind.Trie/TrieNode.Visitor.cs b/src/Nethermind/Nethermind.Trie/TrieNode.Visitor.cs index 947ae4b2f9c..9b8d37c1d53 100644 --- a/src/Nethermind/Nethermind.Trie/TrieNode.Visitor.cs +++ b/src/Nethermind/Nethermind.Trie/TrieNode.Visitor.cs @@ -6,7 +6,6 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; using Nethermind.Core; -using Nethermind.Core.Buffers; using Nethermind.Core.Cpu; using Nethermind.Core.Crypto; using Nethermind.Serialization.Rlp; diff --git a/src/Nethermind/Nethermind.Trie/TrieNode.cs b/src/Nethermind/Nethermind.Trie/TrieNode.cs index fd738105008..d1c85b2b5a2 100644 --- a/src/Nethermind/Nethermind.Trie/TrieNode.cs +++ b/src/Nethermind/Nethermind.Trie/TrieNode.cs @@ -4,7 +4,6 @@ using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.IO; using System.Runtime.CompilerServices; using System.Threading; using Nethermind.Core; diff --git a/src/Nethermind/Nethermind.Trie/TrieStoreWithReadFlags.cs b/src/Nethermind/Nethermind.Trie/TrieStoreWithReadFlags.cs index 6c6a433d6da..557e519a36e 100644 --- a/src/Nethermind/Nethermind.Trie/TrieStoreWithReadFlags.cs +++ b/src/Nethermind/Nethermind.Trie/TrieStoreWithReadFlags.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Trie.Pruning; diff --git a/src/Nethermind/Nethermind.Trie/VisitContext.cs b/src/Nethermind/Nethermind.Trie/VisitContext.cs index 546387f3bc9..430dfa4882c 100644 --- a/src/Nethermind/Nethermind.Trie/VisitContext.cs +++ b/src/Nethermind/Nethermind.Trie/VisitContext.cs @@ -4,7 +4,6 @@ using System; using System.Runtime.InteropServices; using System.Threading; -using Nethermind.Core.Crypto; namespace Nethermind.Trie { diff --git a/src/Nethermind/Nethermind.TxPool.Test/BlobTxStorageTests.cs b/src/Nethermind/Nethermind.TxPool.Test/BlobTxStorageTests.cs index 385ae8e9d9d..b8333b8af24 100644 --- a/src/Nethermind/Nethermind.TxPool.Test/BlobTxStorageTests.cs +++ b/src/Nethermind/Nethermind.TxPool.Test/BlobTxStorageTests.cs @@ -5,7 +5,6 @@ using FluentAssertions; using Nethermind.Core; using Nethermind.Core.Test.Builders; -using Nethermind.Db; using NUnit.Framework; namespace Nethermind.TxPool.Test; diff --git a/src/Nethermind/Nethermind.TxPool.Test/ReceiptStorageTests.cs b/src/Nethermind/Nethermind.TxPool.Test/ReceiptStorageTests.cs index 634ca9a9c46..4597c2b1cd0 100644 --- a/src/Nethermind/Nethermind.TxPool.Test/ReceiptStorageTests.cs +++ b/src/Nethermind/Nethermind.TxPool.Test/ReceiptStorageTests.cs @@ -11,7 +11,6 @@ using Nethermind.Core.Test.Builders; using Nethermind.Crypto; using Nethermind.Db; -using Nethermind.Logging; using Nethermind.Specs; using NSubstitute; using NUnit.Framework; diff --git a/src/Nethermind/Nethermind.TxPool/HashCache.cs b/src/Nethermind/Nethermind.TxPool/HashCache.cs index b800a1591fe..429bd42a224 100644 --- a/src/Nethermind/Nethermind.TxPool/HashCache.cs +++ b/src/Nethermind/Nethermind.TxPool/HashCache.cs @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited // SPDX-License-Identifier: LGPL-3.0-only -using System; using Nethermind.Core.Caching; using Nethermind.Core.Crypto; diff --git a/src/Nethermind/Nethermind.TxPool/LightTransaction.cs b/src/Nethermind/Nethermind.TxPool/LightTransaction.cs index 0ce61b41ec1..d7835be992f 100644 --- a/src/Nethermind/Nethermind.TxPool/LightTransaction.cs +++ b/src/Nethermind/Nethermind.TxPool/LightTransaction.cs @@ -2,8 +2,6 @@ // SPDX-License-Identifier: LGPL-3.0-only -using System.Collections.Generic; -using System.Linq; using Nethermind.Core; using Nethermind.Core.Crypto; using Nethermind.Int256; diff --git a/src/bench_precompiles b/src/bench_precompiles index d083d17d367..c1089350ef0 160000 --- a/src/bench_precompiles +++ b/src/bench_precompiles @@ -1 +1 @@ -Subproject commit d083d17d3679b82585877a2d18829535d972546a +Subproject commit c1089350ef0daa3f0bd437ce9d1626de973f9a93