Skip to content

Return OpProofsStorageError from LiveTrieCollector::unwind_history #526

@emhane

Description

@emhane

Describe the feature

Describe the feature

Replace use of eyre::Result with returning a Result with OpProofsStorageError as error. We wan't to limit usage of eyre::Result to cli crates.

/// Remove account, storage and trie updates from historical storage for all blocks from
/// the specified block (inclusive).
pub async fn unwind_history(&self, to: BlockWithParent) -> eyre::Result<()> {

Additional context

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-trieArea: Merkle Patricia TrieK-debtKind: debtM-good-first-issueMeta: good issue for first time contributorsW-historical-proofsWorkstream: historical-proofs

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions