Fix Custom State HashTreeRoot Caching for Arrays of Roots #4445
Labels
Bug
Something isn't working
Help Wanted
Extra attention is needed
Priority: Medium
Medium priority item
Hi all,
In #4154 we implemented a custom HashTreeRoot for our beacon state data structure. A major optimization included in there is caching for fields such as
BlockRoots [8192][32]byte
and other arrays of Merkle roots. Unfortunately, the cache is seeing some collisions at runtime leading to problems in state transitions. This needs to be gated behind a feature flag to toggle it here and explorer further.The text was updated successfully, but these errors were encountered: