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

[PAN-2824] Blake validation errors are hard errors #1882

Merged
merged 3 commits into from
Aug 26, 2019

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Aug 26, 2019

PR description

Change the blake validation errors from soft errors (empty data) to hard errors
(precompile failed).

Change the blake validation errors from soft errors (empty data) to hard errors
(precompile failed).
Copy link
Contributor

@AbdelStark AbdelStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment about the error handling approach, not a blocker. Looks good to me.

Copy link
Contributor

@RatanRSur RatanRSur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but we should consider using Optionals here in the future. Unless there's a good reason to use null here I'm not seeing

@shemnon
Copy link
Contributor Author

shemnon commented Aug 26, 2019

Optionals are a good idea, but this code segment predates my time at pegasys so to do the smallest possible change I am following the design as implemented. Perhaps in another sprint.

@shemnon shemnon merged commit 47295f1 into PegaSysEng:master Aug 26, 2019
pscott pushed a commit to pscott/pantheon that referenced this pull request Sep 2, 2019
Change the blake validation errors from soft errors (empty data) to hard errors
(precompile failed).
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.

3 participants