feat: enable state root task during persistence (#12392)

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
Dan Cline
2025-01-29 14:57:32 -05:00
committed by GitHub
parent 974cea1d38
commit 665ca2e89b
7 changed files with 462 additions and 72 deletions

View File

@ -184,6 +184,12 @@ pub enum ConsistentViewError {
/// The tip diff.
tip: GotExpected<Option<B256>>,
},
/// Error thrown when the database does not contain a block from the previous database view.
#[display("database view no longer contains block: {block:?}")]
Reorged {
/// The previous block
block: B256,
},
}
impl From<ConsistentViewError> for ProviderError {