`skyscraper/core/src/reduce`: These should live in some field arithmetic crate.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- cryptography
Research direction
Start with skyscraper/core/src/reduce.rs, especially its arithmetic and constants imports, and inspect the surrounding crate structure to identify an appropriate field arithmetic crate. The work is complete when the Bn254 scalar field reduction routines no longer belong in this module and their use remains supported through the chosen crate.
Written by the indexing model from the issue text.
Description
On 2025-08-27 in d91b2f2 “Merge pull request #142 from worldfnd/sl/skyscraper-refactor”:
These should live in some field arithmetic crate.
//! Bn254 scalar field modular reduction routines.
//!
//! TODO: These should live in some field arithmetic crate.
use {
crate::{
arithmetic::{less_than, overflowing_sub, sub},
constants::{MODULUS, MODULUS_N_MINUS_RC},
- Dominant language
- Noir
- Stars
- 138
- Forks
- 47
- Avg merge
- 1d 34m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from worldfnd/provekit
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in worldfnd/provekit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aegis-aead/libaegis#35 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
snapshot-labs/snapshot.js#1247 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ietf-plants-wg/merkle-tree-certs#323 · 1 reaction ·
-
DataRowRecord JSON key order differs from canonical output (breaks raw-string ciphertext detection) Openbug documentation rust
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
godaddy/asherah-ffi#392 ·