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

Production code is using debug endpoints #158

Closed
KaloyanTanev opened this issue Sep 4, 2024 · 1 comment
Closed

Production code is using debug endpoints #158

KaloyanTanev opened this issue Sep 4, 2024 · 1 comment

Comments

@KaloyanTanev
Copy link

In the validators file, there is a call to fetch all validators from beacon state if neither PKs or indices are supplied. Then this function calls the BeaconState function, which sends a request to debug endpoint.

This shouldn't be used in production code, instead the proper v1 endpoint for this should be put into use.

@mcdee
Copy link
Contributor

mcdee commented Sep 4, 2024

Having debug in the endpoint is a misnomer nowadays, this namespace is enabled by default in all major beacon node implementations and the only reason that the endpoint wasn't moved to a non-debug namespace was the effort involved in migration.

@mcdee mcdee closed this as completed Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants