mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat: add directory paths to Snapshotter and SnapshotProvider (#5283)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -39,6 +39,12 @@ impl From<reth_nippy_jar::NippyJarError> for RethError {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<reth_primitives::fs::FsPathError> for RethError {
|
||||
fn from(err: reth_primitives::fs::FsPathError) -> Self {
|
||||
RethError::Custom(err.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
// We don't want these types to be too large because they're used in a lot of places.
|
||||
const _SIZE_ASSERTIONS: () = {
|
||||
// Main error.
|
||||
|
||||
Reference in New Issue
Block a user