Remove weird ProviderError variants #14424
Labels
C-debt
A clean up/refactor of existing code
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
due to some circular dep and no-std constraints we have these:
reth/crates/storage/errors/src/provider.rs
Lines 30 to 35 in b7dfd54
for these we should introduce a new error struct where this is initialized
reth/crates/storage/errors/src/provider.rs
Lines 87 to 89 in b7dfd54
reth/crates/storage/errors/src/provider.rs
Lines 114 to 117 in b7dfd54
TODO
reth/crates/storage/errors/src/provider.rs
Lines 154 to 161 in b7dfd54
instead, e.g.
reth/crates/storage/db/src/static_file/cursor.rs
Line 22 in b7dfd54
would become
ProviderError::other
these changes can be done 1 variant at a time
Additional context
No response
The text was updated successfully, but these errors were encountered: