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

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

Build:
DEFAULT BRANCH: main
Ran 27 Sep 2026 11:39AM UTC
Jobs 22
Files 503
Run time 2min
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

27 Sep 2026 11:37AM UTC coverage: 86.481%. Remained the same
36316333925

push

github

web-flow
fix(fabric,fabricx): report a missing endorsement or response instead of dereferencing it (#1901)

driver.ProposalResponse wraps a peer.ProposalResponse received from a
counterparty before its signature is verified. Endorsement and Response
are optional protobuf fields, so a syntactically valid message can omit
either one and still unmarshal successfully, leaving the field nil.

Both the classic-Fabric and fabricx implementations of ProposalResponse
dereferenced Endorsement and Response directly in Endorser,
EndorserSignature, ResponseStatus, ResponseMessage, and
VerifyEndorsement, so a peer could crash the process handling the
response by omitting either field. The endorser view calls Endorser()
on every response before VerifyEndorsement runs, so the panic is
reachable before the response's signature is checked. Transaction's
recordProposalResponse compares the same fields directly while
deduplicating incoming endorsements, so it panics the same way.

Read every field through the generated Get*() accessors, which already
return the zero value on a nil receiver. This matches how the rest of
each package already treats these messages, for example ledger.go and
queryservice/query.go on the fabricx side.

Add tests covering the accessors, VerifyEndorsement, and
recordProposalResponse/AppendProposalResponse with a nil Endorsement on
either side of the comparison, for both platforms.

Fixes #1899

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>

14 of 14 new or added lines in 4 files covered. (100.0%)

11 existing lines in 5 files now uncovered.

27763 of 32103 relevant lines covered (86.48%)

2299.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
84.49
-1.39% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
92.86
-2.38% platform/view/services/comm/service.go
2
76.83
-0.61% platform/fabric/core/generic/msp/idemix/provider.go
1
92.16
-0.21% platform/fabric/core/generic/committer/committer.go
1
87.5
-2.08% platform/fabric/events.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36316333925.1 27 Sep 2026 11:40AM UTC 8
52.57
GitHub Action Run
2 itest-fabric-twonets - 36316333925.2 27 Sep 2026 11:42AM UTC 449
29.23
GitHub Action Run
3 itest-fabric-events - 36316333925.3 27 Sep 2026 11:42AM UTC 454
29.06
GitHub Action Run
4 utest-root - 36316333925.4 27 Sep 2026 11:43AM UTC 494
83.43
GitHub Action Run
5 itest-fabricx-atsa - 36316333925.5 27 Sep 2026 11:40AM UTC 481
30.66
GitHub Action Run
6 itest-fabricx-configupdate - 36316333925.6 27 Sep 2026 11:41AM UTC 481
28.42
GitHub Action Run
7 itest-fabric-configupdate - 36316333925.7 27 Sep 2026 11:42AM UTC 459
38.76
GitHub Action Run
8 itest-fsc-signedpingpong - 36316333925.8 27 Sep 2026 11:40AM UTC 240
31.63
GitHub Action Run
9 itest-fsc-stoprestart - 36316333925.9 27 Sep 2026 11:41AM UTC 241
33.52
GitHub Action Run
10 itest-fabric-atsachaincode - 36316333925.10 27 Sep 2026 11:41AM UTC 454
30.95
GitHub Action Run
11 itest-fabric-iou - 36316333925.11 27 Sep 2026 11:44AM UTC 459
40.39
GitHub Action Run
12 itest-fabric-runtimeconfig - 36316333925.12 27 Sep 2026 11:42AM UTC 459
38.97
GitHub Action Run
13 itest-fabricx-iou - 36316333925.13 27 Sep 2026 11:40AM UTC 481
29.24
GitHub Action Run
14 itest-fabric-iou-libp2p - 36316333925.14 27 Sep 2026 11:42AM UTC 459
36.55
GitHub Action Run
15 utest-postgres - 36316333925.15 27 Sep 2026 11:41AM UTC 494
9.75
GitHub Action Run
16 itest-fabric-atsa - 36316333925.16 27 Sep 2026 11:43AM UTC 449
43.65
GitHub Action Run
17 itest-fabricx-deployment - 36316333925.17 27 Sep 2026 11:40AM UTC 481
28.4
GitHub Action Run
18 itest-fabricx-simple - 36316333925.18 27 Sep 2026 11:39AM UTC 481
27.83
GitHub Action Run
19 itest-fabric-iouhsm - 36316333925.19 27 Sep 2026 11:43AM UTC 459
39.62
GitHub Action Run
20 itest-fabric-stoprestart - 36316333925.20 27 Sep 2026 11:41AM UTC 449
31.23
GitHub Action Run
21 itest-fabricx-multiendorsement - 36316333925.21 27 Sep 2026 11:40AM UTC 481
28.44
GitHub Action Run
22 itest-fsc-pingpong - 36316333925.22 27 Sep 2026 11:41AM UTC 245
34.7
GitHub Action Run
Source Files on build 36316333925
  • Tree
  • List 503
  • Changed 31
  • Source Changed 4
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36316333925
  • d6577652 on github
  • Prev Build on main (#36315020518)
  • Next Build on main (#36317430862)
  • 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