From 6942cc637de35c9ff1bb16b0cde5124ab6785833 Mon Sep 17 00:00:00 2001 From: KirillPamPam Date: Wed, 4 Sep 2024 14:49:52 +0400 Subject: [PATCH] More state errors (#559) --- .../upstream/ethereum/EthereumLowerBoundStateDetector.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundStateDetector.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundStateDetector.kt index 24ef33fb8..3b785b956 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundStateDetector.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundStateDetector.kt @@ -44,6 +44,8 @@ class EthereumLowerBoundStateDetector( "purged for block", // erigon "No state data", // our own error if there is "null" in response "state is not available", // bsc also can return this error along with "header not found" + "Block with such an ID is pruned", // zksync + "state at block", // berachain, eth ) }