Commit Graph

6 Commits

Author SHA1 Message Date
dependabot[bot] 8eb984b331
build(deps): bump rand from 0.7.3 to 0.8.5 (#4034)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Cinque <joncinque@pm.me>
2023-05-03 11:07:09 +00:00
Noah Gundotra 5504af4996
Account Compression: Add CMT checks for out of bounds leaf indices and initialization (#3724)
* cmt: add check for leaf index OOB

* ac: add checks for leaf index OOB

* ac: add tests for leaf index OOB

* nit: fix some poor logging & unused imports

* cmt: add initialization checks before public methods

* cmt: update LeafContentsModified error message

* cmt: make tests easier to read, add PartialEq, Eq to CMTError

* ac: make LeafOOB error the last error in the struct to prevent breaking changes

* ac: fmt fix
2022-10-21 14:06:47 -04:00
Noah Gundotra 410390b301
cmt: add method to check if the tree is empty (#3640) 2022-09-23 16:30:50 -04:00
Jon Cinque f97a3dc7cf
clippy: Deny integer arithmetic, add allows where needed (#3606) 2022-09-15 13:16:53 +02:00
Noah Gundotra 74a41cc140
Concurrent Merkle Tree: Improve Docs (#3589) 2022-09-10 10:42:44 +05:30
Noah Gundotra d685fe1918
Introduce Concurrent Merkle Tree Implementation (#3455) 2022-08-16 10:54:37 -07:00