Merge branch 'master' into fix/audit-issue-68

This commit is contained in:
Giuliano Mega 2026-04-30 19:59:56 -03:00 committed by GitHub
commit 9563179bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,9 +70,6 @@ func verify*(self: StorageMerkleProof, leaf: MultiHash, root: MultiHash): ?!bool
self.verify(leafBytes, rootBytes)
func verify*(self: StorageMerkleProof, leaf: Cid, root: Cid): ?!bool =
self.verify(?leaf.mhash.mapFailure, ?leaf.mhash.mapFailure)
proc rootCid*(
self: StorageMerkleTree, version = CIDv1, dataCodec = DatasetRootCodec
): ?!Cid =