Skip to content

[CHIA-3893] new opcodes for secp operators#700

Merged
arvidn merged 2 commits intomainfrom
secp-operators
Feb 13, 2026
Merged

[CHIA-3893] new opcodes for secp operators#700
arvidn merged 2 commits intomainfrom
secp-operators

Conversation

@arvidn
Copy link
Copy Markdown
Contributor

@arvidn arvidn commented Feb 13, 2026

After the 3.0 hard fork activates, this will enable single-byte op-codes for the Secp operators.


Note

Medium Risk
Changes opcode dispatch in the CLVM dialect for secp verification; while gated by a new flag and covered by tests, it affects consensus-adjacent execution behavior when enabled.

Overview
Adds a new hard-fork-gated flag, ClvmFlags::ENABLE_SECP_OPS, to enable single-byte opcodes 64 and 65 that map to secp256k1_verify and secp256r1_verify in ChiaDialect.

Updates test parsing/dispatch to recognize secp256k1_verify_64 and secp256r1_verify_65, adds runtime tests covering enabled vs. unimplemented behavior, and exposes the new flag to the Python wheel API as ENABLE_SECP_OPS.

Written by Cursor Bugbot for commit 80275bd. This will update automatically on new commits. Configure here.

@arvidn arvidn changed the title new opcodes for secp operators [3893] new opcodes for secp operators Feb 13, 2026
@coveralls-official
Copy link
Copy Markdown

coveralls-official bot commented Feb 13, 2026

Pull Request Test Coverage Report for Build 21992928996

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 90.44%

Totals Coverage Status
Change from base Build 21987151393: 0.007%
Covered Lines: 6641
Relevant Lines: 7343

💛 - Coveralls

@arvidn arvidn requested a review from Rigidity February 13, 2026 00:26
@arvidn arvidn enabled auto-merge February 13, 2026 16:03
@arvidn arvidn changed the title [3893] new opcodes for secp operators [CHIA-3893] new opcodes for secp operators Feb 13, 2026
@arvidn arvidn merged commit d3073db into main Feb 13, 2026
32 checks passed
@arvidn arvidn deleted the secp-operators branch February 13, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants