Skip to content

feat: introduce SLH-DSA Verification Precompile - #118

Merged
QEDK merged 4 commits into
mainfrom
feat/mip-draft-slh-dsa
Nov 24, 2026
Merged

QEDK merged 4 commits into
mainfrom
feat/mip-draft-slh-dsa

Conversation

@QEDK

@QEDK QEDK commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator
  • introduces MIP for SLH-DSA signature verification
  • self-assigns 24 as the next sequential number

@QEDK QEDK self-assigned this Nov 20, 2026
@QEDK
QEDK requested a review from pdobacz as a code owner November 20, 2026 09:17
@QEDK QEDK added the process Updates to a MIP's status label Nov 20, 2026
Copilot AI max review requested due to automatic review settings November 20, 2026 09:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A preamble linter issue remains because MIP-24’s discussions-to points to the generic forum category page instead of a specific proposal thread URL, requiring an update to the correct thread link.

1 open issue
What changed in this PR

This PR adds MIP-24, a Standards Track Core proposal introducing a new stateless precompile (VERIFY_SLHDSA_SHA2_128S at 0x0000000000000000000000000000000000001002) that verifies FIPS 205 SLH-DSA-SHA2-128s signatures in pure mode with an empty context. It targets high-assurance post-quantum keys (for example, account recovery and rotation keys held in HSMs), fitting into Monad's precompile range and complementing existing secp256k1/secp256r1 verification. The proposal is self-contained documentation plus conformance test vectors and does not modify existing protocol behavior.

Changes:

  • Adds the MIP-24 specification, including input/output layout, gas schedule, rationale, security considerations, and a complete Python reference verifier.
  • Self-assigns MIP number 24 and precompile address 0x1002 as the next sequentially available slot.
  • Adds vectors.json with nine test cases (valid, invalid, short, and ACVP-derived inputs) in the go-ethereum precompile-test JSON layout.
File Description
MIPs/​MIP-24.md New MIP specifying the SLH-DSA verification precompile, gas pricing, rationale, security notes, and reference implementation.
assets/​MIP-24/​vectors.json Conformance test vectors (inputs, expected outputs, and gas) backing the MIP's Test Cases section.

Review effort: Max
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

Comment thread MIPs/MIP-24.md Resolved
@QEDK
QEDK merged commit bf7e387 into main Nov 24, 2026
5 checks passed
@QEDK
QEDK deleted the feat/mip-draft-slh-dsa branch November 24, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

process Updates to a MIP's status

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants