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

iotaledger / iota / 19351335464

13 Nov 2025 06:32PM UTC coverage: 65.983% (-0.004%) from 65.987%
19351335464

push

github

web-flow
fix(iota): fix ptb --publish (#9151)

# Description of change

Fix `iota client ptb --publish` if used more than once or in combination
with an `--upgrade` call.
Added `update_lock_file_with_package_id()` for the test, as
`update_lock_file()` accepts a transaction and then only updates a
single package.

## How the change has been tested

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

### Release Notes

- [ ] Protocol:
- [ ] Nodes (Validators and Full nodes):
- [ ] Indexer:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [x] CLI: Fixed `iota client ptb --publish` so it can be called more
than once
- [ ] Rust SDK:
- [ ] REST API:

17 of 25 new or added lines in 2 files covered. (68.0%)

967 existing lines in 31 files now uncovered.

236250 of 358048 relevant lines covered (65.98%)

2450544.75 hits per line

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

94.69
/crates/starfish/core/src/commit_observer.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