stackrlabs / succinct-residency-exps

A not so succinct comparison (with numbers) between zkVMs (Q4 2024 edition)
6 stars 2 forks source link

Fix `leaves` type in Merklize #29

Closed aashutoshrathi closed 1 month ago

aashutoshrathi commented 1 month ago

Description

Right now the leaves are of type Vec<Vec<u8>>, it can be Vec<[u8; n]>

0xRampey commented 1 month ago

The leaves we pass in can have arbitrary sizes, they are hashed inside the zkVM before being merkelized.

aashutoshrathi commented 1 month ago

ah! should we fix sizes or make them ints?

0xRampey commented 1 month ago

We can fix size to 32 bytes perhaps. Arbitrary size is more practical use case for merkelization tho

aashutoshrathi commented 1 month ago

We do have this fixed now