mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: enable state root task during persistence (#12392)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user