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

hyperledger / fabric-x-committer / 36525669342
91%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 05:25AM UTC
Jobs 3
Files 139
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

29 Sep 2026 05:20AM UTC coverage: 90.495% (-0.2%) from 90.69%
36525669342

push

github

web-flow
[sidecar] Back a block's decoded transactions with one allocation (#833)

#### Type of change

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

#### Description

- `serialization.UnmarshalTxInto` unmarshals into a caller-provided TX.
`UnmarshalTx` now
  delegates to it, so there is one implementation.
- `mapBlock` carries a third per-block slab for the decoded TXs,
alongside the ones it already
  has for `TxRef` and `TxWithRef`.
- All three slab fields are renamed to `refSlab` / `txWithRefSlab` /
`txSlab`. Without it the new
field would be `blockMapper.txs`, one character from the
`blockWithStatus.txs` that
`appendTx` and `rejectTx` write on adjacent lines — a different type at
a different struct
  depth, which compiles either way.
- Adds the tests `utils/serialization` was missing, including one that
pins what the slab
depends on: `proto.Unmarshal` resets its destination, so a reused entry
is replaced rather
than merged into. Two transactions silently merging is the failure this
rules out.

#### Related issues

- resolves #788

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

19 of 19 new or added lines in 2 files covered. (100.0%)

33 existing lines in 12 files now uncovered.

9530 of 10531 relevant lines covered (90.49%)

10544.77 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
93.27
-4.81% mock/coordinator.go
4
74.47
-4.26% service/vc/validator.go
4
83.11
-1.32% service/vc/database.go
3
92.2
-1.38% service/sidecar/relay.go
3
90.32
-1.61% service/vc/validator_committer_service.go
3
93.37
-1.66% service/coordinator/signature_verifier_manager.go
3
85.71
-3.06% loadgen/adapters/broadcast.go
2
81.76
0.46% service/sidecar/sidecar.go
2
91.19
-0.61% mock/orderer.go
2
93.37
-1.02% service/coordinator/coordinator.go
1
85.33
-1.33% loadgen/adapters/verifier.go
1
76.0
-2.0% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 36525669342.1 29 Sep 2026 05:27AM UTC 106
48.44
GitHub Action Run
2 unit-test - 36525669342.2 29 Sep 2026 05:26AM UTC 94
85.99
GitHub Action Run
3 db-test - 36525669342.3 29 Sep 2026 05:25AM UTC 139
78.2
GitHub Action Run
Source Files on build 36525669342
  • Tree
  • List 139
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4e083485 on github
  • Prev Build on main (#35868271258)
  • Next Build on main (#36525890411)
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