From 9cc25162e2f445a5fecce93481360a4b9d4e6d14 Mon Sep 17 00:00:00 2001 From: Emilia Hane <58548332+emhane@users.noreply.github.com> Date: Wed, 18 Jan 2023 19:48:16 +0100 Subject: [PATCH] Send error message if eip4844 fork disabled Co-authored-by: realbigsean --- .../network/src/beacon_processor/worker/rpc_methods.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs b/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs index 2df13f4ea..8a3ce9b8b 100644 --- a/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs +++ b/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs @@ -643,6 +643,12 @@ impl Worker { } None => { debug!(self.log, "Eip4844 fork is disabled"); + self.send_error_response( + peer_id, + RPCResponseErrorCode::ResourceUnavailable, + "Backfilling".into(), + request_id, + ); return; } };