metacraft-labs / DendrETH

A smart contract implementation of the Ethereum light client sync protocol
GNU General Public License v3.0
45 stars 9 forks source link

Hstaykov/refactor arrays to static vectors #281

Closed HristoStaykov closed 5 months ago

HristoStaykov commented 8 months ago

Refactor that allows to pack the data structures used.

In order to work with the JSON parser the data structures that the circuits accept must be packed. In this PR we refactor all usages of std::array to a custom type that is a wrapper of a C style array.