From a0d53f515551fb6efd744ff1cbfcccc8264d034e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kapka?= Date: Mon, 24 Jul 2023 23:17:08 +0200 Subject: [PATCH] Register `GetValidatorPerformance` as POST (#12658) --- beacon-chain/rpc/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/rpc/service.go b/beacon-chain/rpc/service.go index af8d8e90c..84e4f5310 100644 --- a/beacon-chain/rpc/service.go +++ b/beacon-chain/rpc/service.go @@ -380,7 +380,7 @@ func (s *Service) Start() { HeadFetcher: s.cfg.HeadFetcher, SyncChecker: s.cfg.SyncService, } - s.cfg.Router.HandleFunc("/prysm/validators/performance", httpServer.GetValidatorPerformance).Methods(http.MethodGet) + s.cfg.Router.HandleFunc("/prysm/validators/performance", httpServer.GetValidatorPerformance).Methods(http.MethodPost) s.cfg.Router.HandleFunc("/eth/v2/beacon/blocks", beaconChainServerV1.PublishBlockV2).Methods(http.MethodPost) s.cfg.Router.HandleFunc("/eth/v2/beacon/blinded_blocks", beaconChainServerV1.PublishBlindedBlockV2).Methods(http.MethodPost) ethpbv1alpha1.RegisterNodeServer(s.grpcServer, nodeServer)