0xPolygonMiden / crypto

Cryptographic primitives used in Polygon Miden rollup
MIT License
97 stars 32 forks source link

Added leaf count to `SimpleSmt` #302

Closed polydez closed 5 months ago

polydez commented 5 months ago

Implemented leaf count to SimpleSmt. It's needed for serialization of the notes tree.

I've recreated branch and PR due to difficulties rebasing those branch on main.

Old PR: https://github.com/0xPolygonMiden/crypto/pull/301