You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, roots/checkpoints are used and held in a variety of places. We may be unintentionally storing subtrees when the roots/checkpoints are retrieved from a tree-backed object.
Describe the bug
Currently, roots/checkpoints are used and held in a variety of places. We may be unintentionally storing subtrees when the roots/checkpoints are retrieved from a tree-backed object.
See ChainSafe/persistent-merkle-tree#26 for why this is an issue, and remains an issue in Node <v14
Expected behavior
Ensure that roots and checkpoints are always explicitly converted to struct, eg: Uint8Array, by calling
valueOf
.Relies on ChainSafe/ssz#82
Also may be implemented in parallel with ChainSafe/ssz#83
The text was updated successfully, but these errors were encountered: