chore(tree): remove BlockchainTreeEngine::unwind (#7647)

This commit is contained in:
Roman Krasiuk
2024-04-15 11:45:05 +02:00
committed by GitHub
parent a2654650ba
commit 62eb8fd2b2
4 changed files with 0 additions and 19 deletions

View File

@@ -97,9 +97,6 @@ pub trait BlockchainTreeEngine: BlockchainTreeViewer + Send + Sync {
///
/// Returns `Ok` if the blocks were canonicalized, or if the blocks were already canonical.
fn make_canonical(&self, block_hash: BlockHash) -> Result<CanonicalOutcome, CanonicalError>;
/// Unwind tables and put it inside state
fn unwind(&self, unwind_to: BlockNumber) -> RethResult<()>;
}
/// Represents the kind of validation that should be performed when inserting a block.