diff --git a/src/Nethermind/Nethermind.Blockchain/BlockHashInState/BlockHashInStateHandler.cs b/src/Nethermind/Nethermind.Blockchain/BlockHashInState/BlockHashInStateHandler.cs index 450dcbe4b1e..ce5ade715cd 100644 --- a/src/Nethermind/Nethermind.Blockchain/BlockHashInState/BlockHashInStateHandler.cs +++ b/src/Nethermind/Nethermind.Blockchain/BlockHashInState/BlockHashInStateHandler.cs @@ -14,12 +14,6 @@ namespace Nethermind.Blockchain.BlockHashInState; -public interface IBlockHashInStateHandler -{ - public void InitHistoryOnForkBlock(IBlockTree blockTree, BlockHeader currentBlock, IReleaseSpec spec, IWorldState stateProvider); - public void AddParentBlockHashToState(BlockHeader blockHeader, IReleaseSpec spec, IWorldState stateProvider); -} - public class BlockHashInStateHandler : IBlockHashInStateHandler { public void InitHistoryOnForkBlock(IBlockTree blockTree, BlockHeader currentBlock, IReleaseSpec spec, IWorldState stateProvider) diff --git a/src/Nethermind/Nethermind.Blockchain/BlockHashInState/IBlockHashInStateHandler.cs b/src/Nethermind/Nethermind.Blockchain/BlockHashInState/IBlockHashInStateHandler.cs new file mode 100644 index 00000000000..e3dd17fca52 --- /dev/null +++ b/src/Nethermind/Nethermind.Blockchain/BlockHashInState/IBlockHashInStateHandler.cs @@ -0,0 +1,14 @@ +// SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited +// SPDX-License-Identifier: LGPL-3.0-only + +using Nethermind.Core; +using Nethermind.Core.Specs; +using Nethermind.State; + +namespace Nethermind.Blockchain.BlockHashInState; + +public interface IBlockHashInStateHandler +{ + public void InitHistoryOnForkBlock(IBlockTree blockTree, BlockHeader currentBlock, IReleaseSpec spec, IWorldState stateProvider); + public void AddParentBlockHashToState(BlockHeader blockHeader, IReleaseSpec spec, IWorldState stateProvider); +}