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

hyperledger-labs / fabric-smart-client / 35750882730
91%

Build:
DEFAULT BRANCH: main
Ran 22 Sep 2026 04:00PM UTC
Jobs 22
Files 502
Run time 3min
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

22 Sep 2026 03:57PM UTC coverage: 86.118% (+0.005%) from 86.113%
35750882730

push

github

web-flow
fix(fabric): treat a block with no header as a query failure (#1875)

GetBlockNumberByTxID dereferenced block.Header.Number with no nil check.
The bytes come from a qscc GetBlockByTxID query against a remote peer,
and Header is an optional protobuf message, so a block carrying no header
unmarshals without error, leaves Header nil, and panics the client with a
nil pointer dereference.

Use the nil-safe GetHeader() getter and report a missing header as a query
failure, matching platform/fabricx/core/ledger and the nil Data and
Metadata guards in Block.DataAt and Block.ProcessedTransaction.

Fixes #1874

Signed-off-by: Said Altury <Said.Altury@ibm.com>

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

11 existing lines in 5 files now uncovered.

27537 of 31976 relevant lines covered (86.12%)

2673.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
86.98
1.39% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
96.72
-3.28% platform/common/utils/lazy/provider.go
2
92.35
-1.18% platform/fabric/core/generic/ordering/bft.go
2
91.75
-0.33% platform/view/services/comm/p2p.go
1
59.18
-1.02% platform/fabricx/core/channel/wrappers.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabricx-configupdate - 35750882730.1 22 Sep 2026 04:01PM UTC 480
28.53
GitHub Action Run
2 itest-fabric-stoprestart - 35750882730.2 22 Sep 2026 04:02PM UTC 448
31.17
GitHub Action Run
3 itest-fabric-iou-libp2p - 35750882730.3 22 Sep 2026 04:02PM UTC 458
36.55
GitHub Action Run
4 utest-root - 35750882730.4 22 Sep 2026 04:03PM UTC 493
82.89
GitHub Action Run
5 itest-fabric-events - 35750882730.5 22 Sep 2026 04:02PM UTC 453
29.04
GitHub Action Run
6 itest-fabric-runtimeconfig - 35750882730.6 22 Sep 2026 04:02PM UTC 458
38.89
GitHub Action Run
7 itest-fabric-twonets - 35750882730.7 22 Sep 2026 04:02PM UTC 448
29.2
GitHub Action Run
8 itest-fsc-pingpong - 35750882730.8 22 Sep 2026 04:02PM UTC 245
34.68
GitHub Action Run
9 itest-fabric-atsa - 35750882730.9 22 Sep 2026 04:04PM UTC 448
43.7
GitHub Action Run
10 itest-fsc-signedpingpong - 35750882730.10 22 Sep 2026 04:00PM UTC 240
31.65
GitHub Action Run
11 itest-fabric-atsachaincode - 35750882730.11 22 Sep 2026 04:02PM UTC 453
30.92
GitHub Action Run
12 itest-fabric-iouhsm - 35750882730.12 22 Sep 2026 04:03PM UTC 458
39.62
GitHub Action Run
13 itest-fabric-iou - 35750882730.13 22 Sep 2026 04:05PM UTC 458
40.41
GitHub Action Run
14 itest-fabric-configupdate - 35750882730.14 22 Sep 2026 04:02PM UTC 458
38.81
GitHub Action Run
15 utest-postgres - 35750882730.15 22 Sep 2026 04:02PM UTC 493
9.79
GitHub Action Run
16 itest-fabricx-iou - 35750882730.16 22 Sep 2026 04:00PM UTC 480
29.35
GitHub Action Run
17 itest-fabricx-simple - 35750882730.17 22 Sep 2026 04:00PM UTC 480
27.96
GitHub Action Run
18 utest-extensions - 35750882730.18 22 Sep 2026 04:00PM UTC 8
52.57
GitHub Action Run
19 itest-fabricx-multiendorsement - 35750882730.19 22 Sep 2026 04:00PM UTC 480
28.57
GitHub Action Run
20 itest-fabricx-deployment - 35750882730.20 22 Sep 2026 04:00PM UTC 480
28.52
GitHub Action Run
21 itest-fsc-stoprestart - 35750882730.21 22 Sep 2026 04:01PM UTC 241
33.59
GitHub Action Run
22 itest-fabricx-atsa - 35750882730.22 22 Sep 2026 04:00PM UTC 480
30.69
GitHub Action Run
Source Files on build 35750882730
  • Tree
  • List 502
  • Changed 31
  • Source Changed 1
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35750882730
  • 122b0ba9 on github
  • Prev Build on main (#35742768658)
  • Next Build on main (#35829208038)
  • Delete
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