Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace SVAL with a function #1905

Merged
merged 2 commits into from
Oct 28, 2020
Merged

Conversation

WhatisRT
Copy link
Contributor

@WhatisRT WhatisRT commented Oct 9, 2020

This is roughly how the spec would look like if SVAL was replaced with a function. Regarding errors, the only issue the way it is with this patch is that we can't return an error message telling us which script failed, if we would raise an error. We probably want that functionality, but it could be done by returning the script that failed from evalScripts, as a Maybe ScriptHash, or maybe a list of all the scripts that didn't succeed in a List ScriptHash instead of the Bool, so this isn't a big issue.

@polinavino polinavino self-requested a review October 15, 2020 16:53
@polinavino
Copy link
Contributor

polinavino commented Oct 15, 2020

Reviewed this on a call, looked good - but needs squashing

@WhatisRT WhatisRT force-pushed the andre/goguen-spec-remove-sval branch from 008133b to 007e96f Compare October 26, 2020 16:12
Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

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

LGTM!

@JaredCorduan JaredCorduan merged commit 6d39f1c into master Oct 28, 2020
@iohk-bors iohk-bors bot deleted the andre/goguen-spec-remove-sval branch October 28, 2020 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants