From 03fe7028244b362cf5f76295b25eddf9381225a4 Mon Sep 17 00:00:00 2001 From: a10zn8 Date: Tue, 31 Dec 2024 16:24:13 +0300 Subject: [PATCH] ban /eth/v1/beacon/states/*/validator_balances and /eth/v1/beacon/states/*/validators cause they are too big (#614) --- .../dshackle/upstream/calls/DefaultBeaconChainMethods.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBeaconChainMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBeaconChainMethods.kt index 2c40c18dd..1fa3ff225 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBeaconChainMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBeaconChainMethods.kt @@ -11,10 +11,10 @@ class DefaultBeaconChainMethods : CallMethods { getMethod("/eth/v1/beacon/states/*/root"), getMethod("/eth/v1/beacon/states/*/fork"), getMethod("/eth/v1/beacon/states/*/finality_checkpoints"), - getMethod("/eth/v1/beacon/states/*/validators"), + // getMethod("/eth/v1/beacon/states/*/validators"), // RESPONSE TOO BIG postMethod("/eth/v1/beacon/states/*/validators"), getMethod("/eth/v1/beacon/states/*/validators/*"), - getMethod("/eth/v1/beacon/states/*/validator_balances"), + // getMethod("/eth/v1/beacon/states/*/validator_balances"), // RESPONSE TOO BIG postMethod("/eth/v1/beacon/states/*/validator_balances"), getMethod("/eth/v1/beacon/states/*/committees"), getMethod("/eth/v1/beacon/states/*/sync_committees"),