Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Conversation

schroedingerscode
Copy link
Contributor

This PR modifies the visibility of SSZ#merkleHash to be public, which allows compatibility and ease of implementation with some versions of the Eth2 Beacon Chain spec. More details are provided in the linked issue.

Resolves #197

@cleishm
Copy link
Contributor

cleishm commented Mar 22, 2019

If it's exposed publicly, it's worth adding more error checking to the method itself. E.g. validate the argument is not null, and probably check that all list elements are of the same size.

@schroedingerscode
Copy link
Contributor Author

Makes sense, I'll look through it once more and add some sensible error checks.

@schroedingerscode schroedingerscode force-pushed the feat/public-visibility-for-ssz-merkleHash branch from 1461f5c to 29ebdc9 Compare March 25, 2019 16:34
@schroedingerscode schroedingerscode force-pushed the feat/public-visibility-for-ssz-merkleHash branch from 29ebdc9 to 34722c6 Compare March 25, 2019 16:34
@atoulme
Copy link
Contributor

atoulme commented Apr 17, 2019

Going to close this for now. Please reopen if you would like to see this come through.

@atoulme atoulme closed this Apr 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose SSZ#merkleHash to Allow Callers to Implement Signed Roots
3 participants