Closed aashutoshrathi closed 1 month ago
The leaves we pass in can have arbitrary sizes, they are hashed inside the zkVM before being merkelized.
ah! should we fix sizes or make them ints?
We can fix size to 32 bytes perhaps. Arbitrary size is more practical use case for merkelization tho
We do have this fixed now
Description
Right now the leaves are of type
Vec<Vec<u8>>
, it can beVec<[u8; n]>