<p>Did you do this in repl before simulation?</p>
<pre><code>import Data.Default
import Ledger.TimeSlot
slotToEndPOSIXTime def 10
</code></pre>
<p>The last command will give you the correct value  for spDeadline after 10 slots.</p>

CC BY-SA 4.0
2022-01-17T17:21:16.953Z
What exatly the cabal repl does?
Angelo Badellino
CC BY-SA 4.0
2022-01-18T10:35:50.800Z
Yes I have. I put in the correct timeslot, and deliberately went over the deadline. The TX did not go through, but I could find any reference (log/trace) to the reason the TX failed
Rony Shtamler
CC BY-SA 4.0
2022-02-16T17:20:42.807Z
What about waiting for 2 slots at the end?
kindofdev
CC BY-SA 4.0
2022-01-17T16:50:50.700Z
2022-01-17T16:50:50.700Z
d_fajardo
<p>I have made a sample scenario:</p>
<ol>
<li>Start auction with a deadline of +10 slots</li>
<li>wait for 12 slots</li>
<li>Bid</li>
<li>Wait for 1 slot to allow TX to be processed</li>
</ol>
<p>The third transaction is not shown - which is understandable since the transaction should not be happening.</p>
<p>My question is: how can I figure out what was wrong, and why did the TX was not made.
There is no error log in the log/trace.</p>

<plutus-pioneer-program>
English Auction rejected translations are not shown
# English Auction rejected translations are not shown

(Asked by: username_0 on 2022-01-17)

I have made a sample scenario:

1. Start auction with a deadline of +10 slots
2. wait for 12 slots
3. Bid
4. Wait for 1 slot to allow TX to be processed

The third transaction is not shown - which is understandable since the transaction should not be happening.

My question is: how can I figure out what was wrong, and why did the TX was not made.
There is no error log in the log/trace.

**Tags:** plutus-pioneer-program

---

## 1 answers

### Answer by username_1 on 2022-01-17. Score: 0

Did you do this in repl before simulation?
import Data.Default
import Ledger.TimeSlot
slotToEndPOSIXTime def 10

The last command will give you the correct value  for spDeadline after 10 slots.

> **Comments:**
> **username_2**: What exatly the cabal repl does?  
> **username_0**: Yes I have. I put in the correct timeslot, and deliberately went over the deadline. The TX did not go through, but I could find any reference (log/trace) to the reason the TX failed  
> **username_3**: What about waiting for 2 slots at the end?  

---

