From 17a0a202c2dcead83efcbcd628ba64c5a96058b5 Mon Sep 17 00:00:00 2001 From: Andrey Bronin Date: Wed, 25 Jun 2025 11:50:54 +0300 Subject: [PATCH] lower bound detection fix on Hyperliquid (#677) --- .../upstream/ethereum/EthereumLowerBoundBlockDetector.kt | 1 + .../upstream/ethereum/EthereumLowerBoundReceiptsDetector.kt | 1 + .../dshackle/upstream/ethereum/EthereumLowerBoundTxDetector.kt | 1 + 3 files changed, 3 insertions(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundBlockDetector.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundBlockDetector.kt index 3d27ca49..24a8d69c 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundBlockDetector.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundBlockDetector.kt @@ -27,6 +27,7 @@ class EthereumLowerBoundBlockDetector( "Block with such an ID is pruned", // zksync "height is not available", // sei "method handler crashed", // sei + "Unexpected error", // hyperliquid ) } diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundReceiptsDetector.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundReceiptsDetector.kt index 58f478d7..0a3ace61 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundReceiptsDetector.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundReceiptsDetector.kt @@ -26,6 +26,7 @@ class EthereumLowerBoundReceiptsDetector( "requested epoch was a null round", "missing trie node", "old data not available due to pruning", + "Unexpected error", // hyperliquid ).plus(EthereumLowerBoundBlockDetector.NO_BLOCK_ERRORS) } diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundTxDetector.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundTxDetector.kt index a9c62472..03241f4e 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundTxDetector.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumLowerBoundTxDetector.kt @@ -22,6 +22,7 @@ class EthereumLowerBoundTxDetector( private val NO_TX_ERRORS = setOf( NO_TX_DATA, + "Unexpected error", // hyperliquid ).plus(EthereumLowerBoundBlockDetector.NO_BLOCK_ERRORS) }