diff --git a/beacon-chain/rpc/endpoints.go b/beacon-chain/rpc/endpoints.go index 17859f8a7..b05f08dd7 100644 --- a/beacon-chain/rpc/endpoints.go +++ b/beacon-chain/rpc/endpoints.go @@ -806,7 +806,7 @@ func (s *Service) overEndpoints(stater lookup.Stater) []endpoint { template: "/chronos/validator/estimated_activation/{validator_id}", name: namespace + ".EstimatedActivation", handler: server.EstimatedActivation, - methods: []string{http.MethodPost}, + methods: []string{http.MethodGet}, }, { template: "/chronos/states/epoch_reward/{epoch}", diff --git a/beacon-chain/rpc/endpoints_test.go b/beacon-chain/rpc/endpoints_test.go index 4bedc0c74..58e148888 100644 --- a/beacon-chain/rpc/endpoints_test.go +++ b/beacon-chain/rpc/endpoints_test.go @@ -128,7 +128,7 @@ func Test_endpoints(t *testing.T) { } overRoutes := map[string][]string{ - "/chronos/validator/estimated_activation/{validator_id}": {http.MethodPost}, + "/chronos/validator/estimated_activation/{validator_id}": {http.MethodGet}, "/chronos/states/epoch_reward/{epoch}": {http.MethodGet}, "/over/v1/beacon/states/{state_id}/reserves": {http.MethodGet}, }