From 2df180d18f285938eb6e53a4dd5523722f382c65 Mon Sep 17 00:00:00 2001 From: Dadepo Aderemi Date: Mon, 15 Aug 2022 11:00:49 +0200 Subject: [PATCH] prefix light client paths with beacon --- packages/api/src/beacon/routes/lightclient.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/api/src/beacon/routes/lightclient.ts b/packages/api/src/beacon/routes/lightclient.ts index 800367756112..4263a9df213d 100644 --- a/packages/api/src/beacon/routes/lightclient.ts +++ b/packages/api/src/beacon/routes/lightclient.ts @@ -60,11 +60,11 @@ export type Api = { * Define javascript values for each route */ export const routesData: RoutesData = { - 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 */