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

Chia-Network / chia_rs / 43084449889
82%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 07:15PM UTC
Jobs 3
Files 143
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Nov 2026 07:08PM UTC coverage: 82.461% (+0.1%) from 82.334%
43084449889

push

github

web-flow
serde_2026: fix max_canonical_blob_size (#1559)

* serde_2026: fix max_canonical_blob_size bound

The old cap, `v + 5 + prefix` (v = max_cost / cost_per_byte), is false.
A pair is charged 3 vbytes but costs one cons plus about one push, and a
push of an index >= 8190 is a 3-byte varint. A left-deep chain
`c[i] = (c[i-1] . c[i-2])` over nil reaches 4/3 of its vbytes, so honest
blocks the builder produces can be rejected at their declared cost.

New cap: `floor(4*v/3) + 9 + prefix` while every varint fits in 3 bytes
(v <= 2^20 + 1, which covers mainnet), else `W*v + 3*W + prefix` with
W = varint width of v (saturating). Mainnet: 916_677 -> 1_222_236.

159 of 160 new or added lines in 3 files covered. (99.38%)

17448 of 21159 relevant lines covered (82.46%)

11476990.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% crates/chia-consensus/examples/gen_serde_2026_fuzz_seeds.rs
Jobs
ID Job ID Ran Files Coverage
1 Linux dev Cargo - 43084449889.1 11 Nov 2026 07:15PM UTC 141
73.13
GitHub Action Run
2 Linux release Cargo - 43084449889.2 11 Nov 2026 07:55PM UTC 141
75.41
GitHub Action Run
3 Linux release pytest - 43084449889.3 11 Nov 2026 07:23PM UTC 117
59.76
GitHub Action Run
Source Files on build 43084449889
  • Tree
  • List 143
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43084449889
  • b13dd82f on github
  • Prev Build on main (#42895295130)
  • Next Build on main (#43091221587)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc