Skip to content

Commit c5ab8a4

Browse files
committed
fix: review fixes
1 parent c4c276d commit c5ab8a4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/exex/external-proofs/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ async-trait.workspace = true
3131
eyre.workspace = true
3232
futures-util.workspace = true
3333
serde.workspace = true
34+
thiserror.workspace = true

crates/exex/external-proofs/src/storage.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
#![allow(dead_code, unreachable_pub)]
1+
#![expect(dead_code, unreachable_pub)]
22
use alloy_primitives::{map::HashMap, B256, U256};
33
use async_trait::async_trait;
44
use auto_impl::auto_impl;
55
use reth_primitives_traits::Account;
66
use reth_trie::{updates::TrieUpdates, BranchNodeCompact, HashedPostState, Nibbles};
77
use std::fmt::Debug;
8+
use thiserror::Error;
89

910
/// Error type for storage operations
11+
#[derive(Debug, Error)]
1012
pub enum ExternalStorageError {
13+
// TODO: add more errors once we know what they are
14+
#[error("Other error: {0}")]
1115
Other(eyre::Error),
1216
}
1317

0 commit comments

Comments
 (0)