Skip to content

Commit

Permalink
prefix light client paths with beacon (#4413)
Browse files Browse the repository at this point in the history
  • Loading branch information
dadepo authored Aug 15, 2022
1 parent 1b75fe0 commit db9450b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/api/src/beacon/routes/lightclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export type Api = {
* Define javascript values for each route
*/
export const routesData: RoutesData<Api> = {
getStateProof: {url: "/eth/v1/light_client/proof/:stateId", method: "GET"},
getUpdates: {url: "/eth/v1/light_client/updates", method: "GET"},
getOptimisticUpdate: {url: "/eth/v1/light_client/optimistic_update/", method: "GET"},
getFinalityUpdate: {url: "/eth/v1/light_client/finality_update/", method: "GET"},
getBootstrap: {url: "/eth/v1/light_client/bootstrap/:blockRoot", method: "GET"},
getStateProof: {url: "/eth/v1/beacon/light_client/proof/:stateId", method: "GET"},
getUpdates: {url: "/eth/v1/beacon/light_client/updates", method: "GET"},
getOptimisticUpdate: {url: "/eth/v1/beacon/light_client/optimistic_update/", method: "GET"},
getFinalityUpdate: {url: "/eth/v1/beacon/light_client/finality_update/", method: "GET"},
getBootstrap: {url: "/eth/v1/beacon/light_client/bootstrap/:blockRoot", method: "GET"},
};

/* eslint-disable @typescript-eslint/naming-convention */
Expand Down

0 comments on commit db9450b

Please sign in to comment.