Closed anorth closed 1 week ago
The proof verification is adapted from OpenZeppelin libraries, with the hash changed to SHA256. The testing code includes building of trees from an array of roots, which we must replicate off-chain.
The proof verification is adapted from OpenZeppelin libraries, with the hash changed to SHA256. The testing code includes building of trees from an array of roots, which we must replicate off-chain.