<p>The slot number does not get reset with each epoch. You can see here that the slot number is strictly increasing: <a href="https://explorer.cardano.org/en.html" rel="nofollow noreferrer">https://explorer.cardano.org/en.html</a></p>

CC BY-SA 4.0
2022-01-27T17:43:37.930Z
2022-01-27T17:43:37.930Z
Jey
<p>A policy script can be set to expire. For example:</p>
<pre><code>{ 
  &quot;before&quot;: 51000000
}
</code></pre>
<p>The number corresponds to a slot number within the epoch the script is being created. However, the current slot number will be below that number again in subsequent epochs (since slot number starts at 0 each epoch and counts up). How does a validator know that the policy script is expired when it only contains slot information but not epoch information?</p>

<policy>
How do validators know a policy script is expired based only on slot number?
# How do validators know a policy script is expired based only on slot number?

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

A policy script can be set to expire. For example:
{ 
  "before": 51000000
}

The number corresponds to a slot number within the epoch the script is being created. However, the current slot number will be below that number again in subsequent epochs (since slot number starts at 0 each epoch and counts up). How does a validator know that the policy script is expired when it only contains slot information but not epoch information?

**Tags:** policy

---

## 1 answers

### Answer by username_1 on 2022-01-27. Score: 2 | Accepted answer

The slot number does not get reset with each epoch. You can see here that the slot number is strictly increasing: <https://explorer.cardano.org/en.html>


---

