Skip to content

Commit 2e14fa7

Browse files
committed
Revert last 5 commits
1 parent b563ecf commit 2e14fa7

File tree

13 files changed

+233
-586
lines changed

13 files changed

+233
-586
lines changed

Cargo.lock

Lines changed: 54 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/chain-orchestrator/src/error.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,3 @@ pub enum ChainOrchestratorError {
5252
#[error("An error occurred while making a JSON-RPC request to the EN: {0}")]
5353
RpcError(#[from] RpcError<TransportErrorKind>),
5454
}
55-
56-
impl ChainOrchestratorError {
57-
/// Returns true if this error represents a transient condition that can be retried.
58-
pub const fn can_retry(&self) -> bool {
59-
matches!(self, Self::DatabaseError(_) | Self::NetworkRequestError(_) | Self::RpcError(_))
60-
}
61-
}

0 commit comments

Comments
 (0)