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

iotaledger / iota / 40612933562
72%

Build:
DEFAULT BRANCH: develop
Ran 28 Oct 2026 02:01AM UTC
Jobs 1
Files 1129
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

27 Oct 2026 07:03PM UTC coverage: 71.717% (+0.03%) from 71.691%
40612933562

push

github

web-flow
fix(iota-node): load the migration data only until the genesis checkpoint is executed (#13350)

# Description of change

- A node whose genesis contains migration transactions loaded
`migration.blob` on every startup: it read and validated the whole file
and re-executed every migration transaction to rebuild its objects, even
though the data is only needed until the genesis checkpoint has been
executed.
- The node now loads the migration data only when the database is empty
or the genesis checkpoint has not been executed yet (no highest executed
checkpoint recorded). The executor records that watermark only after the
checkpoint's transaction outputs are on disk, so once it is set all
migration transactions are executed and stored.
- Once the genesis checkpoint has been executed, the owner index no
longer receives the migration objects at startup. Index creation is
being reworked separately, so this case is not handled here.

## Links to any relevant issues

None.

## 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

No existing test starts a node from a genesis with migration data; a
restart against a testnet or mainnet database is still needed to confirm
the faster startup.

### Release Notes

- [ ] Protocol:
- [x] Nodes (Validators and Full nodes): Nodes no longer load and
re-execute the migration data (`migration.blob`) on startup once the
genesis checkpoint has been executed.
- [ ] Indexer:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [ ] CLI:
- [ ] Rust SDK:
- [ ] gRPC:

<!-- Do not remove: everything below this line is ignored by the
release-notes check. -->

---

6 of 7 new or added lines in 1 file covered. (85.71%)

535 existing lines in 38 files now uncovered.

197677 of 275634 relevant lines covered (71.72%)

449660.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
89.89
0.02% crates/iota-node/src/lib.rs

Coverage Regressions

Lines Coverage ∆ File
73
0.0
0.0% crates/iota-indexer/src/apis/indexer_api.rs
58
85.99
0.02% crates/iota-json-rpc/src/read_api.rs
48
94.09
0.0% iota-execution/latest/iota-adapter/src/programmable_transactions/execution.rs
44
88.21
0.0% iota-execution/latest/iota-adapter/src/temporary_store.rs
35
92.53
0.0% crates/iota-types/src/move_package.rs
34
82.94
0.41% crates/iota-core/src/safe_client.rs
27
77.25
2.58% crates/iota-types/src/iota_system_state/mod.rs
25
89.58
0.0% crates/iota-config/src/genesis.rs
22
89.53
-0.72% crates/iota-core/src/transaction_orchestrator.rs
18
42.86
-1.59% crates/iota-indexer/src/models/display.rs
18
79.95
0.55% crates/test-cluster/src/lib.rs
14
89.43
-5.28% iota-execution/latest/iota-move-natives/src/authentication_context.rs
13
95.83
-0.3% crates/starfish/core/src/authority_service.rs
12
92.8
-0.03% crates/iota-network/src/state_sync/mod.rs
7
96.16
-0.37% crates/starfish/core/src/transactions_synchronizer.rs
7
87.91
-7.69% iota-execution/latest/iota-move-natives/src/transaction_context.rs
6
71.17
-3.68% crates/iota-json-rpc/src/lib.rs
6
96.41
1.26% crates/iota-network-stack/src/grpc_timeout.rs
6
89.4
0.16% crates/iota-test-transaction-builder/src/lib.rs
6
91.02
0.0% crates/iota-types/src/lib.rs
5
51.49
0.99% crates/iota-json-rpc-types/src/object_changes.rs
5
89.32
0.59% crates/iota-transaction-builder/src/utils.rs
4
75.81
-1.86% crates/iota-core/src/test_utils.rs
4
59.04
0.52% crates/iota-json-rpc-types/src/iota_object.rs
4
51.36
-0.68% crates/iota-sdk/src/apis/read.rs
4
0.0
-80.0% crates/iota-types/src/messages_safe_client.rs
3
84.41
-0.14% crates/iota-core/src/checkpoints/mod.rs
3
82.14
0.0% crates/iota-genesis-builder/src/validator_info.rs
3
20.59
-2.21% crates/iota-json-rpc-types/src/iota_checkpoint.rs
3
64.37
0.41% crates/iota-json-rpc-types/src/iota_transaction.rs
3
82.47
-1.2% crates/iota-metrics/src/histogram.rs
3
97.46
0.02% crates/iota-network-stack/src/concurrency.rs
3
82.09
-0.34% crates/iota-sdk/src/wallet_context.rs
3
56.24
-0.58% crates/iota-types/src/storage/shared_in_memory_store.rs
2
92.56
-0.06% crates/iota-core/src/authority/authority_per_epoch_store.rs
2
93.33
-0.12% crates/iota-core/src/consensus_adapter.rs
1
94.12
0.0% crates/iota-grpc-server/src/server.rs
1
85.42
-2.08% crates/iota-network-stack/src/anemo_ext.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 40612933562.1 28 Oct 2026 02:01AM UTC 1129
71.72
GitHub Action Run
Source Files on build 40612933562
  • Tree
  • List 1129
  • Changed 74
  • Source Changed 22
  • Coverage Changed 68
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40612933562
  • 3e02eb50 on github
  • Prev Build on develop (#40432264074)
  • Next Build on develop (#40798250795)
  • Delete
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