Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/node/eth_watch/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const TOO_MANY_RESULTS_ALCHEMY: &str = "response size exceeded";
const TOO_MANY_RESULTS_RETH: &str = "length limit exceeded";
const TOO_BIG_RANGE_RETH: &str = "query exceeds max block range";
const TOO_MANY_RESULTS_CHAINSTACK: &str = "range limit exceeded";
const REQUEST_REJECTED_503: &str = "Request rejected `503`";

/// Implementation of [`EthClient`] based on HTTP JSON-RPC.
#[derive(Debug, Clone)]
Expand Down Expand Up @@ -222,6 +223,7 @@ where
|| err_message.contains(TOO_MANY_RESULTS_RETH)
|| err_message.contains(TOO_BIG_RANGE_RETH)
|| err_message.contains(TOO_MANY_RESULTS_CHAINSTACK)
|| err_message.contains(REQUEST_REJECTED_503)
{
// get the numeric block ids
let from_number = match from {
Expand Down
Loading