diff --git a/clients/consensus/rpc/beaconapi.go b/clients/consensus/rpc/beaconapi.go index 1be7a0d2..86f7b551 100644 --- a/clients/consensus/rpc/beaconapi.go +++ b/clients/consensus/rpc/beaconapi.go @@ -107,6 +107,7 @@ func (bc *BeaconClient) Initialize(ctx context.Context) error { http.WithTimeout(10 * time.Minute), http.WithLogLevel(zerolog.Disabled), http.WithCustomSpecSupport(true), + http.WithEnforceJSON(true), } // set extra endpoint headers