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

hyperledger / fabric-x-common
82%
main: 82%

Build:
Build:
LAST BUILD BRANCH: fix-data-hash
DEFAULT BRANCH: main
Repo Added 08 Feb 2026 08:56AM UTC
Files 181
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

LAST BUILD ON BRANCH fix-data-hash
branch: fix-data-hash
CHANGE BRANCH
x
Reset
  • fix-data-hash
  • blk-itr-ctx
  • coveralls
  • cryptogen-recreate
  • dependabot/go_modules/go_modules-9c5197dcb8
  • expose-ledger-api
  • fabric-lib-go-v1.1.3
  • grpc-logger
  • hash-tls-cert
  • load-config-material
  • main
  • return-not-found-blk-store
  • sidecar-notify-reject

02 Apr 2026 10:35AM UTC coverage: 82.222% (-0.01%) from 82.234%
23896319898

Pull #97

github

cendhu
fix: use length-delimited hashing in ComputeBlockDataHash

  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.

  Fixes #83

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #97: fix: use length-delimited hashing in ComputeBlockDataHash

8 of 8 new or added lines in 1 file covered. (100.0%)

4 existing lines in 2 files now uncovered.

14610 of 17769 relevant lines covered (82.22%)

0.92 hits per line

Relevant lines Covered
Build:
Build:
17769 RELEVANT LINES 14610 COVERED LINES
0.92 HITS PER LINE
Source Files on fix-data-hash
  • Tree
  • List 181
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23896319898 fix-data-hash fix: use length-delimited hashing in ComputeBlockDataHash ComputeBlockDataHash previously concatenated all data items and hashed the result, which is not cryptographically safe — different sets of items with different boundaries can produce... Pull #97 02 Apr 2026 10:37AM UTC cendhu github
82.22
23896191131 fix-data-hash fix: use length-delimited hashing in ComputeBlockDataHash ComputeBlockDataHash previously concatenated all data items and hashed the result, which is not cryptographically safe — different sets of items with different boundaries can produce... Pull #97 02 Apr 2026 10:34AM UTC cendhu github
82.23
See All Builds (46)
  • Repo on GitHub
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