Questions tagged [txinfovalidrange]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

How to have a contract on chain for extended periods of time?

In PPP Larz explains that there's a limit to how long a contract can remain on chain, what is that limit and how do I go about extending it?
user avatar
2 votes
2 answers

How do I set txInfoValidRange on the testnet using cardano-cli

How does txInfoValidRange get set on the testnet? I've been made aware that on the Plutus Playground a piece of off-chain code: "Constraints.mustValidateIn (from now)" will set ...
user avatar
1 vote
1 answer

Where is the txValidRange default value set?

In lecture 3 of the Plutus Pioneer Program Vesting.hs, I noticed that the example vesting give/ grab endpoints work by waiting a number of slots after the deadline. The script then checks ...
user avatar
  • 113
0 votes
0 answers

Working with time in tests

I'm trying to write some tests for EnglishAuction, from Plutus pioneers #1. I want to write a test that first starts an auction and then tries to close an auction before the deadline has passed (...
user avatar
4 votes
1 answer

Does txInfoValidRange adjust as time continues on?

Given that the function A contains B is true when all of B is contained in A, and false otherwise, wouldn't that mean that the txInfoValidRange info would have to move its "start point" in ...
user avatar