AztecProtocol / aztec-packages

Apache License 2.0
172 stars 178 forks source link

Fix "as any" in merkle tree find operations #5448

Open alexghr opened 5 months ago

alexghr commented 5 months ago

In #5355 we started adding type parameters for merkle tree leaves but this has caused compiler issues in the MerkleTrees wrapper class (the one that holds all the different state trees). This is probably due to the complex generics used for the trees.

Investigate if it's possible to remove the as any type casts in the files (look for "TODO" comments mentioning this issue).

alexghr commented 1 month ago

Attempted fix in #7443