mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat : add storage_root provider function for account (#9659)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
@ -33,6 +33,14 @@ pub enum StorageRootError {
|
||||
Database(#[from] DatabaseError),
|
||||
}
|
||||
|
||||
impl From<StorageRootError> for DatabaseError {
|
||||
fn from(err: StorageRootError) -> Self {
|
||||
match err {
|
||||
StorageRootError::Database(err) => err,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// State proof errors.
|
||||
#[derive(Error, Debug, PartialEq, Eq, Clone)]
|
||||
pub enum StateProofError {
|
||||
|
||||
Reference in New Issue
Block a user