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.
KeyHashMismatch
Error Removed v361 → v385 (removed) 30.6The provided key_hash doesn't match the expected epoch key hash.
Encountered by: developers
Why This Error Exists
This is the technical companion to KeyExpired - it provides more debugging information about exactly what went wrong with epoch binding.
From Chain Metadata
The provided `key_hash` does not match the expected epoch key hash.
What This Means
The provided key_hash doesn't match the expected epoch key hash.
Common Causes
- Encryption used wrong key epoch
- Client-side key hash computation error
- Race condition between key announcement and submission
How to Fix
- Verify key_hash matches KeyHashByBlock for submission block
- Re-encrypt with correct current epoch key
- Ensure atomic fetch-encrypt-submit flow
Storage to Check
Thrown By
Runtime Info
- Pallet Index
- 30
- Error Index
- 6
- Error Code
- 30.6
- Removed In
- v385