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

vocdoni / vocdoni-node / 34856314267
66%
main: 65%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace-1.45.0
DEFAULT BRANCH: main
Ran 14 Sep 2026 02:45PM UTC
Jobs 2
Files 184
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

14 Sep 2026 02:31PM UTC coverage: 66.338% (-0.02%) from 66.361%
34856314267

Pull #1460

github

altergui
chore: purge legacy consensus code paths

Drop legacy compat scaffolding that was explicitly waiting for the
LTS/1.2 → LTS/1.3 chainID bump:

- vochain/ist/legacy.go: entire file — legacy gob-encoded IST action
  format from before commit 1a5a56e ("adapt to timestamp based
  blockchain"). Comment in-file already stated "this whole legacy.go
  code can be removed once LTS 1.2 chain is upgraded". Along with its
  call site in ist/store.go (findPendingActions no longer branches on
  the "gob: type mismatch" tell-tale) and its dedicated
  TestISTCMigrateLegacy test.
- vochain/transaction/transaction.go: soft-fork gate for LTS/1.2
  (chainID=="vocdoni/LTS/1.2" && height<4138989) around the IST
  Reschedule on SET_PROCESS_DURATION. The window is long past on
  every live chain; SET_PROCESS_DURATION now always schedules.
- vochain/start.go: migrateLegacyDirs — filesystem migration for
  node data-dir layout from before "refactor genesis package" (>2 y).
  Any operator still on that layout has to have upgraded via an
  intermediate release long ago.

Kept for follow-up PRs (bigger scope than expected):
- Block-count based process/vote acceptance: rejecting these requires
  migrating ~40 tests across vochain/indexer/api that construct
  processes with BlockCount instead of Duration. Comments/TODOs on the
  dual paths in election_tx.go and vote_tx.go remain in place; scope
  belongs in its own PR.
- arboproof address-hashing and LeafWeight==nil legacy: verifier-side
  change coupled to census construction on the client (SDK) side;
  needs coordinated release, not a unilateral bump.
- ProcessBlockRegistry / SIK invalidation: tied to timestamp-based
  election deadline semantics; requires a rework of the "max end
  block" check.

Net: +6/-249, all tests still pass under
`go test ./vochain/... ./api/...`.
Pull Request #1460: chore: purge legacy consensus code paths

1 of 4 new or added lines in 2 files covered. (25.0%)

2 existing lines in 2 files now uncovered.

18227 of 27476 relevant lines covered (66.34%)

41371.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
71.79
-6.21% vochain/ist/store.go
1
58.87
-0.15% vochain/transaction/transaction.go

Coverage Regressions

Lines Coverage ∆ File
1
71.79
-6.21% vochain/ist/store.go
1
58.87
-0.15% vochain/transaction/transaction.go
Jobs
ID Job ID Ran Files Coverage
1 unit - 34856314267.1 14 Sep 2026 02:45PM UTC 167
54.86
GitHub Action Run
2 integration - 34856314267.2 14 Sep 2026 02:45PM UTC 175
53.67
GitHub Action Run
Source Files on build 34856314267
  • Tree
  • List 184
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1460
  • PR Base - cleanup/erc20-storage-proofs (#34856054772)
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