• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Chia-Network / chia_rs / 13810175549

12 Mar 2025 11:24AM UTC coverage: 84.616% (+0.1%) from 84.516%
13810175549

push

github

web-flow
Remove chia-blockchain dependency for most of chia_rs (#887)

* remove imports from test_blscache and delete test_program_fidelity

* remove imports from block_record by implement pot_iterations

* clippy and fmt

* don't export new functions

* black tests

* import PyValueError at top of file

* add pot_iterations and pos_quality modules; refactor block_record to use new functions

* fix circular import

* temp commit

* fix build with py-bindings

* clippy and fmt

* black format test

* fix fetching rust values from python

* tests run but overflow

* correct order of blockrecord args

* add tests to pot_iterations.rs

* fix bug in implementation

* fix python test

* fmt and black

* add ip_iters pytest

* clippy changes

* update type stubs for new python functions

* fix stubs

* add expected_plot_size to api.rs

* black test

* process signage_point_index as u32 to prevent overflows

* pytests passing

* black test again

* use sized ints in stub definition

* Remove commented-out test

* make rust Result versions of the functions which are referred to in python bindings

* fmt

* fix export mod / build issues

* make specific error type and unwrap with ?

* flatten if as they now return the same error code

* specifically catch overflows and underflows in arithmetic

* safety check div and mod

* remove redundant OK(?) pattern

* add pytest for expected_plot_size

* revert pybinding setup

* black test_pot_iterations

* use Ok(?) for expected_plot_size

* remove redundant comments and function wrappers

* remove unused import

* maybe fix mypy stubs

* commit the typestubs

* attempt mypy fix

* change allowlist for new implementation

* fix tests

287 of 310 new or added lines in 4 files covered. (92.58%)

77 existing lines in 3 files now uncovered.

14004 of 16550 relevant lines covered (84.62%)

1160026.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.67
/wheel/src/run_program.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc