MevShield
#30MEV protection mechanisms
Part of Consensus & Finality: Block production, finality, and chain security
Announces the ML-KEM public key that will become the active encryption key in the following block.
Per-block author public keys used to encrypt MEV-shielded extrinsics.
The announced ML‑KEM encapsulation key length is invalid.
Counter for the related counted storage map
The currently active ML-KEM-768 public key for encrypting MEV-protected transactions.
Emitted when an encrypted transaction wrapper is accepted into the MEV protection queue.
Extrinsic decode failed during on_initialize.
Extrinsic was successfully dispatched during on_initialize.
Extrinsic dispatch failed during on_initialize.
Extrinsic expired (exceeded max block lifetime).
Configurable extrinsic lifetime (max block difference between submission and execution).
Extrinsic lifetime was updated.
Extrinsic postponed due to weight limit.
Encrypted extrinsic was stored for later execution.
Extrinsic exceeded the per-extrinsic weight limit and was removed.
Per-migration boolean flag tracking which MevShield runtime migrations have completed.
Configurable maximum weight for a single extrinsic dispatched during on_initialize.
Maximum per-extrinsic weight was updated.
Configurable maximum number of pending extrinsics.
Maximum pending extrinsics limit was updated.
The ML-KEM-768 public key that will become CurrentKey in the following block.
Block number at which `NextKey` is no longer valid (exclusive upper bound).
Next index to use when inserting a pending extrinsic (unique auto-increment).
Configurable maximum weight for on_initialize processing.
Maximum on_initialize weight was updated.
Per-block buffer of encrypted MEV-shielded extrinsics awaiting decryption.
Next block author's key, staged here before promoting to `CurrentKey`.
Block number at which `PendingKey` is no longer valid (exclusive upper bound).
Set the maximum weight allowed for a single extrinsic during on_initialize processing.
Set the maximum number of pending extrinsics allowed in the queue.
Set the maximum weight allowed for on_initialize processing.
Set the extrinsic lifetime (max blocks between submission and execution).
Store an encrypted extrinsic for later execution in on_initialize.
Submits an encrypted transaction wrapper for MEV-protected execution.
Too many pending extrinsics in storage.
Unreachable.
Weight exceeds the absolute maximum (half of total block weight).