chore: remove BatchExecutor (#14453)

This commit is contained in:
Arsenii Kulikov
2025-02-12 19:56:42 +04:00
committed by GitHub
parent 1970a4425b
commit 4f73e1a47e
8 changed files with 9 additions and 320 deletions

View File

@ -150,9 +150,6 @@ impl InsertBlockErrorKind {
BlockExecutionError::Validation(err) => {
Ok(InsertBlockValidationError::Validation(err))
}
BlockExecutionError::Consensus(err) => {
Ok(InsertBlockValidationError::Consensus(err))
}
// these are internal errors, not caused by an invalid block
BlockExecutionError::Internal(error) => {
Err(InsertBlockFatalError::BlockExecutionError(error))