Skip to content

Return OpProofsStorageError from LiveTrieCollector::store_block_updates #524

@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.

/// Store trie updates for a given block.
pub async fn store_block_updates(
&self,
block: BlockWithParent,
sorted_trie_updates: TrieUpdatesSorted,
sorted_post_state: HashedPostStateSorted,
) -> eyre::Result<()> {

Additional context

No response

Additional context

No response

Metadata

Metadata

Assignees

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