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

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

Build:
Build:
LAST BUILD BRANCH: cleanup/lts-1.3-entry
DEFAULT BRANCH: main
Ran 14 Sep 2026 01:13PM 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 12:43PM UTC coverage: 66.349% (-0.04%) from 66.386%
34845506344

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

0 of 4 new or added lines in 2 files covered. (0.0%)

2 existing lines in 2 files now uncovered.

18230 of 27476 relevant lines covered (66.35%)

41387.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
71.79
-6.21% vochain/ist/store.go
2
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 integration - 34845506344.1 14 Sep 2026 01:13PM UTC 175
53.75
GitHub Action Run
2 unit - 34845506344.2 14 Sep 2026 01:13PM UTC 167
54.83
GitHub Action Run
Source Files on build 34845506344
  • Tree
  • List 184
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1460
  • PR Base - cleanup/erc20-storage-proofs (#34845503465)
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