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

hyperledger / fabric-x-committer / 22305991929
90%

Build:
DEFAULT BRANCH: main
Ran 23 Feb 2026 12:28PM UTC
Jobs 2
Files 117
Run time 1min
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

23 Feb 2026 12:24PM UTC coverage: 88.953% (-0.1%) from 89.058%
22305991929

push

github

web-flow
[sidecar/verifier] reject transactions with empty endorsements (#365)

#### Type of change

- Bug fix
 
#### Description

The keyVerifier.Verify method panicked when processing a namespace
transaction with a key-based policy but no endorsements, due to an
unguarded endorsements[0] access on an empty slice.

- Sidecar: verifyTxForm now validates that each namespace has at least
one endorsement, rejecting as MALFORMED_MISSING_SIGNATURE
- Verifier: keyVerifier.Verify returns a descriptive error instead of
panicking on empty endorsements and empty identities.

#### Related issues

  - resolves #343

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

20 of 24 new or added lines in 2 files covered. (83.33%)

20 existing lines in 6 files now uncovered.

9155 of 10292 relevant lines covered (88.95%)

1.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
82.22
-3.32% utils/signature/verify.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.0
-1.54% loadgen/adapters/vcservice.go
2
97.87
0.0% service/verifier/verifier_server.go
2
91.19
0.0% service/coordinator/validator_committer_manager.go
4
65.42
-3.74% service/sidecar/block_delivery.go
5
93.15
-2.02% service/coordinator/coordinator.go
6
82.8
-1.61% service/vc/database.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 22305991929.1 23 Feb 2026 12:28PM UTC 117
83.25
GitHub Action Run
2 unit-test - 22305991929.2 23 Feb 2026 12:29PM UTC 73
65.49
GitHub Action Run
Source Files on build 22305991929
  • Tree
  • List 117
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd134204 on github
  • Prev Build on main (#22305754642)
  • Next Build on main (#22306349363)
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