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

Chaguar / committer / 32845340328
91%

Build:
DEFAULT BRANCH: main
Ran 25 Aug 2026 12:06PM UTC
Jobs 3
Files 132
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

25 Aug 2026 12:01PM UTC coverage: 90.108% (-0.2%) from 90.343%
32845340328

push

github

web-flow
[utils] Migrate testsig off the deprecated raw-field ECDSA API (#778)

#### Type of change

- Improvement (improvement to code, performance, etc)
- Test update

#### Description

- Build the seeded ECDSA key with `ecdsa.ParseRawPrivateKey` instead of
`elliptic.Curve.ScalarBaseMult` plus raw `PublicKey.X`/`Y` and
`PrivateKey.D`
  assignment, clearing all five `SA1019`s in the package.
- Compare keys with `PrivateKey.Equal` rather than the deprecated `D`
field.
- Add `TestEcdsaKeyPairWithSeedIsStable`, pinning the seed -> scalar
mapping.

#### Additional details (Optional)

`ParseRawPrivateKey` requires a fixed-length scalar and rejects a short
one, while
`big.Int.Bytes()` returns the minimal encoding — so seeds whose scalar
has a leading
zero byte need `FillBytes` to pad to the curve size. Seed 115 is such a
case and is
covered explicitly; the previous `ScalarBaseMult` call accepted the
short slice.

The explicit zero-scalar check is kept rather than folded into
`ParseRawPrivateKey`'s
error, so a zero scalar keeps returning `nil, nil` instead of panicking.

#### Related issues

- resolves #776

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>

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

33 existing lines in 10 files now uncovered.

9200 of 10210 relevant lines covered (90.11%)

10842.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
76.46
-1.4% service/sidecar/sidecar.go
6
83.44
-1.95% service/vc/database.go
4
94.23
-3.85% mock/coordinator.go
4
83.7
-2.96% service/vc/committer.go
3
91.26
-1.46% service/vc/validator_committer_service.go
2
92.54
-0.88% service/sidecar/relay.go
2
97.26
-2.74% service/verifier/verifier_server.go
2
93.37
-1.02% service/coordinator/coordinator.go
1
81.82
-2.27% loadgen/adapters/coordinator.go
1
76.0
-2.0% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 32845340328.1 25 Aug 2026 12:07PM UTC 94
84.68
GitHub Action Run
2 core-db-test - 32845340328.2 25 Aug 2026 12:07PM UTC 101
47.87
GitHub Action Run
3 db-test - 32845340328.3 25 Aug 2026 12:06PM UTC 132
77.84
GitHub Action Run
Source Files on build 32845340328
  • Tree
  • List 132
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ef07b62a on github
  • Prev Build on main (#32803089466)
  • Next Build on main (#32845475620)
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