Address audit findings (5.3 diff audit) (#5584)

Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2025-03-19 17:00:49 +01:00
committed by GitHub
parent bfdbb67ebc
commit 994399d3cf
10 changed files with 34 additions and 14 deletions

View File

@ -178,7 +178,7 @@ library MerkleTree {
* root (before the update) and "new" root (after the update). The caller must verify that the reconstructed old
* root is the last known one.
*
* The `proof` must be an up-to-date inclusion proof for the leaf being update. This means that this function is
* The `proof` must be an up-to-date inclusion proof for the leaf being updated. This means that this function is
* vulnerable to front-running. Any {push} or {update} operation (that changes the root of the tree) would render
* all "in flight" updates invalid.
*