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

support SSZ encoding #238

Open
ralexstokes opened this issue Sep 5, 2022 · 3 comments
Open

support SSZ encoding #238

ralexstokes opened this issue Sep 5, 2022 · 3 comments
Labels
beacon-api-client enhancement New feature or request

Comments

@ralexstokes
Copy link
Owner

right now this repo only supports the JSON codec for the API

although the beacon APIs support a SSZ codec for some methods

@chirag-bgh
Copy link
Contributor

on it.

@ralexstokes
Copy link
Owner Author

@chirag-bgh happy to chat high-level strategy before you get too far

ideally we can keep most of the current client architecture as is and just support SSZ {de,en}coding for the methods that support it, where we can dispatch on Content-Type before proceeding down either way

@ralexstokes ralexstokes added the enhancement New feature or request label Jul 7, 2023
@ralexstokes
Copy link
Owner Author

we should add some kind of Codec input when constructing a client, and then the client should use the input to support the more efficient encodings where possible

@ralexstokes ralexstokes transferred this issue from ralexstokes/beacon-api-client Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beacon-api-client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants