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
Consider changing various xxx_root and xxx_hash fields into xxx_commitment where applicable e.g. in the block header.
Ideally root should only be used to describe fields representing the root of some tree. Take into account potential future changes e.g. just because the commitment is currently the root of some tree, does not mean it will always be. Commitments often change to encompass other tree roots, or combine other hashes which results in api churn and breaking changes.
Some of these changes could be contested, so I suggest submitting a list of proposed fields before embarking on a wider refactor.
The text was updated successfully, but these errors were encountered:
Originally raised as a concern in 0xPolygonMiden/miden-node#620 (comment).
Consider changing various
xxx_root
andxxx_hash
fields intoxxx_commitment
where applicable e.g. in the block header.Ideally
root
should only be used to describe fields representing the root of some tree. Take into account potential future changes e.g. just because the commitment is currently the root of some tree, does not mean it will always be. Commitments often change to encompass other tree roots, or combine other hashes which results in api churn and breaking changes.Some of these changes could be contested, so I suggest submitting a list of proposed fields before embarking on a wider refactor.
The text was updated successfully, but these errors were encountered: