You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
engine: vdf.rs exceeds the 6000-line lint limit and fails pnpm lint #471
src/simlin-engine/src/vdf.rs reached 6,001 lines, one over the 6,000-line limit that scripts/lint-project.sh enforces on Rust source files, so pnpm lint and the pre-commit hook failed on main:
ERROR: src/simlin-engine/src/vdf.rs has 6001 lines (threshold: 6000).
The fix is to move a self-contained piece of vdf.rs into a submodule under src/simlin-engine/src/vdf/.
Current state
vdf.rs is 5,371 lines on main; record-result decoding and other pieces now live in vdf/record_results.rs, vdf/section3.rs, vdf/section5_dims.rs, and vdf/signatures.rs.
src/simlin-engine/src/vdf.rs is 5,371 lines on main, under the 6,000-line limit in scripts/lint-project.sh:74, with code split into src/simlin-engine/src/vdf/{record_results,section3,section5_dims,signatures}.rs.
Activity
[-]engine: vdf.rs exceeds MAX_LINES=6000 lint threshold (6001 lines), breaking pnpm lint[/-][+]engine: vdf.rs exceeds the 6000-line lint limit and fails pnpm lint[/+]bpowers commentedon Oct 12, 2026
Closing: already fixed on main.
src/simlin-engine/src/vdf.rs is 5,371 lines on main, under the 6,000-line limit in scripts/lint-project.sh:74, with code split into src/simlin-engine/src/vdf/{record_results,section3,section5_dims,signatures}.rs.