Repository navigation
[solana-syscalls] clean up abort_on_invalid_curve (SIMD-0137) - #16420
Merged
samkim-crypto merged 2 commits intoOct 27, 2026
Merged
samkim-crypto merged 2 commits into
samkim-crypto merged 2 commits into
Conversation
samkim-crypto
force-pushed
the
cleanup/abort-on-invalid-curve-feature
branch
from
October 27, 2026 04:50
11c1d90 to
df71ac4
Compare
buffalojoec
approved these changes
Oct 27, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #16420 +/- ##
=========================================
- Coverage 82.4% 82.4% -0.1%
=========================================
Files 954 954
Lines 373595 373580 -15
=========================================
- Hits 308077 308020 -57
- Misses 65518 65560 +42 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
abort_on_invalid_curve(SIMD-0137) is active on all networks, but the curve syscalls still check it on an unsupported curve ID or group op. This is a follow-up to #13918 (comment) and #16230.Summary of Changes
Similar to #16230, I cleaned up the
abort_on_invalid_curvegate by returningInvalidAttributeunconditionally from the fallback arms insol_curve_validate_point,sol_curve_group_opandsol_curve_multiscalar_mul, and removedabort_on_invalid_curvefromSVMFeatureSetandFeatureSnapshot. The feature definition itself is unchanged.