We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a309ab commit b1f6bbeCopy full SHA for b1f6bbe
contracts/utils/structs/MerkleTree.sol
@@ -70,7 +70,10 @@ library MerkleTree {
70
* should be pushed to it using the custom push function, which should be the same one as used during the setup.
71
*
72
* IMPORTANT: Providing a custom hashing function is a security-sensitive operation since it may
73
- * compromise the soundness of the tree. Consider using functions from {Hashes}.
+ * compromise the soundness of the tree.
74
+ *
75
+ * NOTE: Consider verifying that the hashing function does not manipulate the memory state directly and that it
76
+ * follows the Solidity memory safety rules. Otherwise, it may lead to unexpected behavior.
77
*/
78
function setup(
79
Bytes32PushTree storage self,
0 commit comments