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
* Reduce CI/build warning noise and harden cross-platform behavior.
Rebase warning-cleanup work onto current main, keep vdf_client session parser refactor from #313, and apply targeted warning/robustness fixes across CI workflows, CMake/build scripts, and core/runtime code paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Restore full 2weso CI durations and tighten Python/Cargo target plumbing.
Remove temporary shortened 2weso test overrides in vdf-client-hw CI and align build scripts with modern CMake/Cargo target variables to eliminate unused PYTHON_EXECUTABLE warnings and keep MSVC-only CRT overrides scoped correctly.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Consolidate checked integer casts across C/C++ and Python bindings.
Replace ad-hoc narrowing checks and release-elided asserts with a shared checked_cast helper to keep overflow handling consistent across wrapper and test paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix unsigned-to-signed checked_cast overflow guard and add regression coverage.
The unsigned-to-signed conversion path now checks against the signed destination max, preventing silent wraparound for values above INT32_MAX, and adds a GoogleTest regression to lock this behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix signed-widening behavior in checked_cast and add regression coverage.
Avoid truncated bounds checks for same-signed widening casts and add positive/negative int32-to-int64 tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Use checked_cast for primetest and verifier discriminant conversions.
Replace manual narrowing checks/casts with checked_cast to keep overflow handling consistent and centralized.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Use 64-bit recursion and proof lengths in verifier APIs.
Align the Python and C bindings with the native verifier interface by accepting full-size proof blob lengths and recursion depth instead of narrowing to int32, removing wrapper-level truncation guards.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Use logical OR for uint128 comparison operators.
Switch boolean composition in <= and >= from bitwise OR to logical OR for clearer intent and short-circuit behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Update verifier proof-length tests and known-proof fixture.
Switch verifier and stress tests to pass proof blob lengths as size_t without narrowing casts, and refresh verifier_test's fixed proof vector to a current-format fixture so the known-proof assertion remains meaningful with the widened verifier API.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Mirror production verifier path in known-proof test.
Update verifier_test to construct and reuse the discriminant before calling CheckProofOfTimeNWesolowski directly, so the test reflects production verifier usage while keeping the current-format known-proof fixture.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Pass witness_type directly to uint64 depth API.
Remove the obsolete int32_t intermediate cast in stress_test so the call matches the updated verifier depth parameter type.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Inline env_flag use in prover_test fast-mode check.
Remove the redundant env_truthy wrapper and call env_flag directly to keep the test setup path simpler without changing behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "Use logical OR for uint128 comparison operators."
This reverts commit 8db997d.
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments