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
Signed Roots allow calculating the merkle hash of a subset of a SSZ container, specifically to allow signing of a container while excluding signature fields.
While this definition signed_root(container, "signature") = merkle_hash([hash_tree_root(sub_object_1), ..., hash_tree_root(sub_object_N)]) has been deprecated in further versions of the Eth2 SSZ spec, I see no harm in allowing public callers to use SSZ#merkleHash directly for compatibility.
Signed Roots allow calculating the merkle hash of a subset of a SSZ container, specifically to allow signing of a container while excluding signature fields.
While this definition
signed_root(container, "signature") = merkle_hash([hash_tree_root(sub_object_1), ..., hash_tree_root(sub_object_N)])has been deprecated in further versions of the Eth2 SSZ spec, I see no harm in allowing public callers to useSSZ#merkleHashdirectly for compatibility.