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

Chia-Network / clvm / 15879617496

25 Jun 2025 02:44PM UTC coverage: 93.934% (-0.2%) from 94.142%
15879617496

push

github

web-flow
Add an optional `max_size` parameter to serialize to prevent certain attacks where size can blow up (#173)

* initial commit

* flake8

* simplify code and add test

* mypy fixes

* inline and fix byte counting

* Update tests/serialize_test.py

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

* add default max size and fix tests that go above the max

* flake8 fixes

* remove commented lines

* remove deprecated comment

* use non-magic number for tests

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

388 of 434 branches covered (89.4%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

1207 of 1264 relevant lines covered (95.49%)

11.46 hits per line

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

91.11
/clvm/object_cache.py


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

© 2025 Coveralls, Inc