diff --git a/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs b/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs index 8f2867e04..01e40326c 100644 --- a/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs +++ b/beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs @@ -629,12 +629,12 @@ fn handle_v2_response( decoded_buffer, )?), )))), - ForkName::Capella => Ok(Some(RPCResponse::BlocksByRange(Arc::new( + ForkName::Capella => Ok(Some(RPCResponse::BlocksByRoot(Arc::new( SignedBeaconBlock::Capella(SignedBeaconBlockCapella::from_ssz_bytes( decoded_buffer, )?), )))), - ForkName::Eip4844 => Ok(Some(RPCResponse::BlocksByRange(Arc::new( + ForkName::Eip4844 => Ok(Some(RPCResponse::BlocksByRoot(Arc::new( SignedBeaconBlock::Eip4844(SignedBeaconBlockEip4844::from_ssz_bytes( decoded_buffer, )?),