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

hyperledger / fabric-x-common / 24034704115 / 1
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 06 Apr 2026 02:00PM UTC
Files 181
Run time 4s
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

06 Apr 2026 01:58PM UTC coverage: 82.234%. Remained the same
24034704115.1

push

github

web-flow
fix: use length-delimited hashing in ComputeBlockDataHash (#97)

#### Type of change

- Bug fix

#### Description

  ComputeBlockDataHash previously concatenated all data items and hashed
  the result, which is not cryptographically safe — different sets of
  items with different boundaries can produce the same hash.

  Switch to length-delimited serialization where each item is prefixed
  with its 4-byte big-endian length before hashing. This matches the
  orderer's BatchedRequests.Digest() computation.

#### Related issues

  - resolves #83

---------

Signed-off-by: Senthilnathan <cendhu@gmail.com>

14613 of 17770 relevant lines covered (82.23%)

0.92 hits per line

Source Files on job 24034704115.1
  • Tree
  • List 181
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24034704115
  • b18df708 on github
  • Prev Job for on main (#23531958197.1)
  • Next Job for on main (#24078364446.1)
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