ferranbt / fastssz

Fast Ethereum2.0 SSZ encoder/decoder
MIT License
73 stars 44 forks source link

If a struct tag exists, the generate doesn't implicitly recognize SSZ-able types #156

Closed ocnc closed 3 months ago

ocnc commented 4 months ago

Prior to specifying my json tag, I was able to generate against a custom struct without specifiyng ssz-size. After adding a json tag, it no longer works

ferranbt commented 4 months ago

I was able to reproduce this. This was introduced in #155. I have to refactor a little bit the part that handles the tags and the dimensions.