This error was removed in v385
This error is no longer present in the current runtime. Existed from v361 to v385. Shown here for historical reference.
KeyExpired
Error Removed v361 → v385 (removed) 30.5The encryption key epoch for this submission has expired.
Encountered by: developerswalletsstakers
Why This Error Exists
Keys rotate every block. If you encrypt with block N's NextKey but submit at block N+2, the key has rotated twice and your encryption uses an expired epoch.
From Chain Metadata
The MEV‑Shield key epoch for this submission has expired and is no longer accepted.
What This Means
The encryption key epoch for this submission has expired.
Common Causes
- Too much time passed between encryption and submission
- Used old cached NextKey instead of fetching fresh
- Block time advanced faster than expected
How to Fix
- Fetch fresh NextKey immediately before encrypting
- Submit encrypted transaction promptly
- Don't cache encryption keys across blocks
Storage to Check
Thrown By
Runtime Info
- Pallet Index
- 30
- Error Index
- 5
- Error Code
- 30.5
- Removed In
- v385