ethereum-consensus icon indicating copy to clipboard operation
ethereum-consensus copied to clipboard

support SSZ encoding

Open ralexstokes opened this issue 2 years ago • 3 comments

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

although the beacon APIs support a SSZ codec for some methods

ralexstokes avatar Sep 05 '22 14:09 ralexstokes

on it.

chirag-bgh avatar Feb 10 '23 05:02 chirag-bgh

@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 avatar Feb 15 '23 04:02 ralexstokes

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 avatar Aug 16 '23 16:08 ralexstokes