forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 10
Return OpProofsStorageError from LiveTrieCollector::unwind_history #526
Copy link
Copy link
Closed
Labels
A-trieArea: Merkle Patricia TrieArea: Merkle Patricia TrieK-debtKind: debtKind: debtM-good-first-issueMeta: good issue for first time contributorsMeta: good issue for first time contributorsW-historical-proofsWorkstream: historical-proofsWorkstream: historical-proofs
Description
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.
op-reth/crates/optimism/trie/src/live.rs
Lines 228 to 230 in c066726
| /// 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-trieArea: Merkle Patricia TrieArea: Merkle Patricia TrieK-debtKind: debtKind: debtM-good-first-issueMeta: good issue for first time contributorsMeta: good issue for first time contributorsW-historical-proofsWorkstream: historical-proofsWorkstream: historical-proofs
Type
Projects
Status
Done