• 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: SELECT
CHANGE BRANCH
x
  • No branch selected
  • blk-itr-ctx
  • coveralls
  • cryptogen-recreate
  • dependabot/go_modules/go_modules-9c5197dcb8
  • expose-ledger-api
  • fabric-lib-go-v1.1.3
  • fix-data-hash
  • 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 main
  • 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
23531958197 main Update to fabric-lib-go v1.1.3 (#96) #### Type of change - Bug fix #### Description - Update dependency fabric-lib-go to v1.1.3 which resolves a data race #### Related issues - https://github.com/hyperledger/fabric-lib-go/issues/47 Signed-o... push 25 Mar 2026 08:34AM UTC web-flow github
82.23
23531823167 fabric-lib-go-v1.1.3 Update to fabric-lib-go v1.1.3 Signed-off-by: Liran Funaro <liran.funaro@gmail.com> Pull #96 25 Mar 2026 08:31AM UTC liran-funaro github
82.23
23434305087 main [grpc logger] reduce GRPC log level by default for tests (#95) #### Type of change - Bug fix - Test update #### Description - This PR adds `-race` flag for the tests and fix the race conditions - Fix minor race condition in test - Use `gotests... push 23 Mar 2026 11:10AM UTC web-flow github
82.22
23400636953 grpc-logger [grpc logger] reduce GRPC log level by default for tests Signed-off-by: Liran Funaro <liran.funaro@gmail.com> Pull #95 22 Mar 2026 10:00AM UTC liran-funaro github
82.2
23400190677 grpc-logger [grpc logger] reduce GRPC log level by default for tests Signed-off-by: Liran Funaro <liran.funaro@gmail.com> Pull #95 22 Mar 2026 09:37AM UTC liran-funaro github
82.23
23400179155 main Bump google.golang.org/grpc from 1.78.0 to 1.79.3 in the go_modules group across 1 directory (#94) Bumps the go_modules group with 1 update in the / directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go). Updates `google.golang.org... push 22 Mar 2026 09:32AM UTC web-flow github
82.22
23400157650 grpc-logger [grpc logger] reduce GRPC log level by default for tests Signed-off-by: Liran Funaro <liran.funaro@gmail.com> Pull #95 22 Mar 2026 09:32AM UTC liran-funaro github
82.2
23295932706 grpc-logger [grpc logger] add a flogging wrapper to easily disable the GRPC logger Signed-off-by: Liran Funaro <liran.funaro@gmail.com> Pull #95 19 Mar 2026 12:57PM UTC liran-funaro 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