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

vocdoni / saas-backend / 29410417712
62%
main: 62%

Build:
Build:
LAST BUILD BRANCH: fix/trim-member-whitespace
DEFAULT BRANCH: main
Ran 15 Jul 2026 11:14AM UTC
Jobs 1
Files 125
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

15 Jul 2026 11:05AM UTC coverage: 62.167% (+0.002%) from 62.165%
29410417712

Pull #579

github

lucasmenendez
fix(processes): serialize org address as internal.HexBytes (bare hex)

The /processes API typed orgAddress as common.Address, which JSON-marshals to a
0x-prefixed EIP-55-checksummed string — inconsistent with upstreamId (and the
other hex ids in these types), which use internal.HexBytes (bare lowercase hex).
Switch CreateVotingProcessRequest.OrgAddress and VotingProcessResponse.OrgAddress
to internal.HexBytes for a consistent API.

- Response: VotingProcessResponseFromDB converts the db common.Address via .Bytes().
- Request: createVotingProcessHandler validates len == common.AddressLength
  (HexBytes, unlike common.Address, doesn't enforce a 20-byte length on decode)
  and converts once to common.Address for the db/auth/subscription calls.
- Inputs stay compatible: HexBytes.UnmarshalJSON strips an optional 0x prefix, so
  clients may still send "0x…". Only the response format changes to bare hex.

Scope is limited to what #571 introduced; legacy /process and census types keep
common.Address.
Pull Request #579: fix(processes): serialize org address as internal.HexBytes (bare hex)

8 of 9 new or added lines in 2 files covered. (88.89%)

56 existing lines in 1 file now uncovered.

11494 of 18489 relevant lines covered (62.17%)

44.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
60.93
0.09% api/processes.go

Coverage Regressions

Lines Coverage ∆ File
56
60.93
0.09% api/processes.go
Jobs
ID Job ID Ran Files Coverage
1 29410417712.1 15 Jul 2026 11:14AM UTC 125
62.17
GitHub Action Run
Source Files on build 29410417712
  • Tree
  • List 125
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #579
  • PR Base - main (#29398189696)
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