Closed 0xbok closed 1 year ago
Ah yes, you're right. We could check that keccak256(abi,encodePacked(protoId, index))
is equal to the cloneId
provided to dissolve()
.
Or we can pass protoId and index? edit: oh I forgot we made this change for easy composability. Let's discuss offline on what would be best.
We dont check that the clone is related to the proto