Add function to update a leaf in a MerkleTree structure (#5453)
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
This commit is contained in:
5
.changeset/good-zebras-ring.md
Normal file
5
.changeset/good-zebras-ring.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'openzeppelin-solidity': minor
|
||||
---
|
||||
|
||||
`MerkleTree`: Add an update function that replaces a previously inserted leaf with a new value, updating the tree root along the way.
|
||||
Reference in New Issue
Block a user