-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, afaict there is nothing in the current codebase that actually does anything with BaseDataError
(dunno, like taking different fault recovery actions depending on the variant etc) so might as well simplify.
ethcore/src/client/config.rs
Outdated
@@ -152,7 +152,7 @@ impl Default for ClientConfig { | |||
} | |||
#[cfg(test)] | |||
mod test { | |||
use super::{DatabaseCompactionProfile, Mode}; | |||
use super::{DatabaseCompactionProfile}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove parentheses!
ethcore/src/client/error.rs
Outdated
@@ -24,7 +24,7 @@ pub enum Error { | |||
/// TrieDB-related error. | |||
Trie(TrieError), | |||
/// Util error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Util error/Io error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More code removed than added 👍
* master: remove util-error (#9054)
…rp_sync_on_light_client * 'master' of https://github.com/paritytech/parity: docs: add changelog for 1.10.9 stable and 1.11.6 beta (openethereum#9069) Enable test in `miner/pool/test` (openethereum#9072) fetch: replace futures-timer with tokio-timer (openethereum#9066) remove util-error (openethereum#9054)
simplifies error handling in
journaldb
and fixes misuses ofUtilError
in other modules