diff --git a/crates/optimism/trie/src/live.rs b/crates/optimism/trie/src/live.rs index 167427d4f5c..06a242f0f11 100644 --- a/crates/optimism/trie/src/live.rs +++ b/crates/optimism/trie/src/live.rs @@ -224,8 +224,7 @@ where /// 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<()> { - self.storage.unwind_history(to).await?; - Ok(()) + pub async fn unwind_history(&self, to: BlockWithParent) -> Result<(), OpProofsStorageError> { + self.storage.unwind_history(to).await } }