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

iotaledger / iota / 19751538162

27 Nov 2025 02:53PM UTC coverage: 65.853% (+0.03%) from 65.824%
19751538162

push

github

web-flow
fix(consensus): return last own block with None if transactions are missing (#9440)

# Description of change

Fix recovery logic for Starfish to safely handle cases where a node's
own non-genesis block may not be available in the DAG State after
restart. Instead of panicking when transactions are missing, the
recovery process now gracefully returns None and continues.

## Links to any relevant issues

Fixes #9439

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes

26 of 30 new or added lines in 2 files covered. (86.67%)

483 existing lines in 22 files now uncovered.

237259 of 360288 relevant lines covered (65.85%)

2347408.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.41
/consensus/core/src/commit_syncer.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc