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

iotaledger / iota / 26670870516

29 May 2026 12:13PM UTC coverage: 66.897% (+0.02%) from 66.88%
26670870516

push

github

web-flow
fix(iota-indexer): use lamport-1 for NotYetCreated backward-history rows (#11687)

# Description of change

Switch the not yet created version to `lamport - 1`, matching the unwrap
path and the original design proposal. Each create now results in a
distinct version keeping versions of each object monotonic, so
MIN(version) works properly in the consistent view query.

Add an e2e test exercising create -> delete -> recreate of a DOF across
four checkpoints. The test fails on the old `-1` ingestion (`cv2_after`
returns no edges) and passes with the fix.

## Links to any relevant issues

fixes https://github.com/iotaledger/iota/issues/11686

## How the change has been tested

Describe the tests that you ran to verify your changes.

Make sure to provide instructions for the maintainer as well as any
relevant configurations.

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)

### Infrastructure QA (only required for crates that are maintained by
@iotaledger/infrastructure)

- [ ] Synchronization of the indexer from genesis for a network
including migration objects.
- [ ] Restart of indexer synchronization locally without resetting the
database.
- [ ] Restart of indexer synchronization on a production-like database.
- [ ] Deployment of services using Docker.
- [ ] Verification of API backward compatibility.

0 of 1 new or added line in 1 file covered. (0.0%)

1351 existing lines in 49 files now uncovered.

152102 of 227369 relevant lines covered (66.9%)

463357.13 hits per line

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

91.26
/crates/iota-core/src/execution_cache/writeback_cache.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