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

Builtins.equalsByteString redeemerHash redeemerHash hangs #852

Closed
j-mueller opened this issue Apr 5, 2019 · 2 comments
Closed

Builtins.equalsByteString redeemerHash redeemerHash hangs #852

j-mueller opened this issue Apr 5, 2019 · 2 comments
Assignees
Labels

Comments

@j-mueller
Copy link
Contributor

On the anemish/actus-bond branch, equalsByteString hangs when a hashed bytestring is involved. The problem goes away after commenting out Hash.sha2 from plcSHA2_256.

@j-mueller j-mueller added the bug label Apr 5, 2019
@j-mueller j-mueller self-assigned this Apr 5, 2019
@j-mueller
Copy link
Contributor Author

@nau I poked around the anemish/actus-bond branch some more. I added a test specifically for the hash function (see my commit fcfea58 on that branch) which didn't reveal anything unusual. Also I noticed that the problem does not go away anymore after commenting out Hash.sha2 so I'm not sure whether hashing has anything to do with it now.

Then I tried to isolate the loop but I don't understand the marlowe code well enough - could you try to narrow down the bug to a smaller example?

@michaelpj
Copy link
Contributor

Closing unless we can reproduce it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants