Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce light-client dependency on api #6542

Open
jeluard opened this issue Mar 13, 2024 · 0 comments
Open

Reduce light-client dependency on api #6542

jeluard opened this issue Mar 13, 2024 · 0 comments
Labels
prio-low This is nice to have. scope-devex Issues for improving developer experience. scope-light-clients All issues regarding light client development.

Comments

@jeluard
Copy link
Contributor

jeluard commented Mar 13, 2024

api is pretty big and depends indirectly on a number of NodeJS specifics (via eventsource).

Specific consideration regarding EventSource: it is about to be merged in node.

ligth-client depends on api for the following API:

  • import {type Api, ApiError, routes} from "@lodestar/api";
  • import {Api, ApiError} from "@lodestar/api";
  • import {getClient} from "@lodestar/api";

Figure out a way to ensure that those API do not drag the whole api package and it's dependencies.

@philknows philknows added prio-low This is nice to have. scope-devex Issues for improving developer experience. scope-light-clients All issues regarding light client development. labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-low This is nice to have. scope-devex Issues for improving developer experience. scope-light-clients All issues regarding light client development.
Projects
None yet
Development

No branches or pull requests

2 participants