Skip to main content

Questions tagged [slottime]

The tag has no usage guidance.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
76 views

Constraints.mustValidateIn in a StateMachine

I have an issue with Constraints.mustValidateIn in a StateMachine. In the case using Interval.to deadline everything works as expected. But in the case: Interval.from deadline the constraint is never ...
sbcdn's user avatar
  • 66
1 vote
1 answer
61 views

Plutus Cohort 3: slot count why 11 and not 14

I ran the auction exactly as shown. The slot count at the closing (after the additional wait) comes up to 14, not 11, as shown in the video. (if I add all the waits, the result is, indeed, 14). If the ...
user1867563's user avatar
0 votes
0 answers
25 views

Why is "Current Time" (slot) validating script logic when its interval is not contained within the deadline interval (as defined in script logic)?

I have locked my "deadline" (which is set into the future) in "POSIXTime" to the On-Chain Datum of my contract. To unlock it, I am using the "current time" (aka current ...
Basho's user avatar
  • 13
0 votes
2 answers
84 views

Diagnosing a POSIXTime discrepancy

My computer's date command is returning a timestamp wildly different from what testnet wants. Using this formula, > slotToEndPOSIXTime testnetConf 55047601 POSIXTime {getPOSIXTime = 1651015217999} ...
waalge's user avatar
  • 403
0 votes
0 answers
13 views

How to Ensure Constant Timing in Contracts Given Slots can be Changed?

The amount of time a slot represents can be changed. This means if I code a smart contract that has some sort of waiting function for N slots, the amount of time it waits for will change with the slot ...
KryptoKing's user avatar