Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lean-imt): After a sequence of updates a proof is invalid. (#355)
* fix/lean-imt-update-member * fix/lean-imt-update-member * fix/lean-imt-update-member * fix: lean-imt-update-member When a member is removed from the tree (update a leaf with 0n) and then another member is updated, the root that is saved is not correct, so the proof that is generated is not valid.This was caused by a type validation failure. This fix the behavior described above. I detected this when I was testing in Semphore groups. * fix(lean-imt): After a sequence of updates a proof is invalid. due to a bug in type checking, the root is not generated correctly. * fix(lean-imt): After a sequence of updates a proof is invalid. due to a bug in type checking, the root is not generated correctly.
- Loading branch information