diff --git a/beacon-chain/rpc/endpoints.go b/beacon-chain/rpc/endpoints.go index 7c3615cac..7ab147bf5 100644 --- a/beacon-chain/rpc/endpoints.go +++ b/beacon-chain/rpc/endpoints.go @@ -1148,7 +1148,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.MethodGet}, + methods: []string{http.MethodGet, http.MethodPost}, }, { template: "/chronos/states/epoch_reward/{epoch}", diff --git a/beacon-chain/rpc/endpoints_test.go b/beacon-chain/rpc/endpoints_test.go index d21667ba5..5a7be2cc6 100644 --- a/beacon-chain/rpc/endpoints_test.go +++ b/beacon-chain/rpc/endpoints_test.go @@ -132,7 +132,7 @@ func Test_endpoints(t *testing.T) { } overRoutes := map[string][]string{ - "/chronos/validator/estimated_activation/{validator_id}": {http.MethodGet}, + "/chronos/validator/estimated_activation/{validator_id}": {http.MethodGet, http.MethodPost}, "/chronos/states/epoch_reward/{epoch}": {http.MethodGet}, "/over/v1/beacon/states/{state_id}/reserves": {http.MethodGet}, }