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

hyperledger / fabric-x-committer / 24199858132 / 2
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 04:00PM UTC
Files 81
Run time 5s
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

09 Apr 2026 03:54PM UTC coverage: 76.381% (-0.07%) from 76.449%
24199858132.2

push

github

web-flow
[utils] rename TLSMaterials to TLSCredentials, ClientMaterial to DialInfo (#527)

#### Type of change

- Improvement (improvement to code, performance, etc)
 
#### Description

The term "material" is strongly associated with "crypto material" in the
blockchain ecosystem, causing confusion. These structs hold resolved
binary
connection data (loaded certs, endpoints, retry), not raw cryptographic
artifacts.

New naming convention:
- "Config" = user-provided structure (YAML, file paths)
- "TLSCredentials" = resolved TLS data (binary cert/key/CA bytes),
  aligned with gRPC's credentials terminology
- "DialInfo" = complete connection bundle (endpoints + credentials +
retry),
  named for what consumers do with it: dial connections

#### Additional details (Optional)

Renames:
- TLSMaterials -> TLSCredentials
- ClientMaterial -> DialInfo (connection and ordererdial packages)
- NewClientCredentialsFromMaterial -> NewClientGRPCTransportCredentials
- NewServerCredentialsFromMaterial -> NewServerGRPCTransportCredentials
- NewClientTLSMaterials -> NewClientTLSCredentials
- NewServerTLSMaterials -> NewServerTLSCredentials
- NewClientMaterial -> NewDialInfo
- NewTLSMaterials -> NewTLSCredentials
- PartyIDToMaterial -> PartyIDToDialInfo
- connMaterial -> dialInfo
- material.go -> dialinfo.go (file rename)

#### Related issues

  - resolves #467

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

4534 of 5936 relevant lines covered (76.38%)

1110.53 hits per line

Source Files on job unit-test - 24199858132.2
  • Tree
  • List 81
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24199858132
  • d35655cc on github
  • Prev Job for on main (#24196411793.2)
  • Next Job for on main (#24389640678.1)
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