-
Notifications
You must be signed in to change notification settings - Fork 479
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
Difficulty debugging freeze on Plutus.Contract.currentTime
#3669
Labels
Comments
Thanks for the gist I was able to also repro on a more recent master a2ce648 and put up a fix |
luigy
added a commit
that referenced
this issue
Aug 3, 2021
luigy
added a commit
that referenced
this issue
Aug 3, 2021
luigy
added a commit
that referenced
this issue
Aug 3, 2021
luigy
added a commit
that referenced
this issue
Aug 4, 2021
luigy
added a commit
that referenced
this issue
Aug 4, 2021
This was referenced Sep 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Area
Summary
Plutus.Contract.currentTime
doesn't seem to yield. Locks up forever. Maybe I'm using it wrong? Note thatcurrentSlot
doesn't exhibit this behavior, it succesfully returns a slot.Steps to reproduce
Call
currentTime
in any contract.Here's a gist that reproduces it fully
Expected behavior
We should get a POSIXTime returned, and it should log it out.
Actual behavior
It locks up indefinitely.
System info (please complete the following information):
The text was updated successfully, but these errors were encountered: