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

iotaledger / iota / 27178271483
67%

Build:
DEFAULT BRANCH: develop
Ran 09 Jun 2026 02:31AM UTC
Jobs 1
Files 1073
Run time 2min
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

08 Jun 2026 03:31PM UTC coverage: 67.326% (+0.2%) from 67.109%
27178271483

push

github

web-flow
feat(iota-types): replace `ObjectInner` with the external SDK `Object` type (#11718)

# Description of change

This PR is part of the ongoing effort to consolidate blockchain types in
the
canonical `iota-rust-sdk`. Types that are needed by both clients/SDK
consumers
and the node should live in `iota-rust-sdk` and be imported from there,
instead
of being defined twice (once in `iota-types`, once in the SDK).

This PR replaces `Object` / `ObjectInner` (previously defined in
`iota-types`)
with the SDK version `iota_sdk_types::Object`. The node keeps its
`Object(Arc<ObjectInner>)` wrapper — the `Arc` is an in-memory
cheap-clone
optimization specific to the node and not something SDK consumers need —
and
re-exports the SDK type under the original name `ObjectInner`, so
existing
struct-literal construction and the `#[serde(from = "ObjectInner")]`
wrapper
continue to work unchanged.

## Links to any relevant issues

Fixes #11631

## Changes

- Remove the local `ObjectInner` struct in
[crates/iota-types/src/object.rs](crates/iota-types/src/object.rs) and
re-export `iota_sdk_types::Object as ObjectInner`.
- Move the inherent accessor methods (`id`, `version`, `digest`,
`is_shared`, `compute_object_reference`, `is_package`, …) from `impl
ObjectInner` to `impl Object`. `ObjectInner` is now a foreign type, so
it can no longer carry inherent methods; they remain reachable on
`Object` exactly as before (previously via `Deref`, now directly on the
wrapper), so call sites are unchanged.
- `Object::digest()` now hashes the inner SDK object
(`self.as_inner()`), which carries the `BcsSignable`/`Signable` impl.
- Drop the now-redundant SDK→node `TryFrom<iota_sdk_types::Object>`
conversion in
[crates/iota-types/src/iota_sdk_types_conversions.rs](crates/iota-types/src/iota_sdk_types_conversions.rs):
it collided with the `From<ObjectInner>` impl required by
`#[serde(from)]`. The one checkpoint conversion that used it switches to
the infallible `Object::from`, and a `try_int... (continued)

73 of 110 new or added lines in 44 files covered. (66.36%)

1853 existing lines in 63 files now uncovered.

154570 of 229586 relevant lines covered (67.33%)

453986.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
51.63
1.63% crates/iota-types/src/iota_sdk_types_conversions.rs
4
81.72
-0.01% crates/iota-core/src/authority.rs
4
54.23
0.0% crates/iota-replay/src/replay.rs
3
5.24
0.03% crates/iota-tool/src/lib.rs
2
91.19
-0.07% crates/iota-core/src/execution_cache/writeback_cache.rs
2
0.0
0.0% crates/iota-light-client/src/main.rs
1
0.0
0.0% crates/iota-analytics-indexer/src/package_store.rs
1
67.72
-0.56% crates/iota-core/src/authority/authority_store.rs
1
0.0
0.0% crates/iota-core/src/verify_indexes.rs
1
79.49
0.0% crates/iota-framework/src/lib.rs
1
63.4
0.0% crates/iota-grpc-server/src/merge.rs
1
30.36
0.0% crates/iota-indexer/src/models/objects.rs
1
7.82
0.0% crates/iota-indexer/src/types.rs
1
64.35
0.0% crates/iota-light-client/src/verifier.rs
1
64.67
0.0% crates/iota-types/src/storage/mod.rs
1
86.38
0.15% crates/iota-types/src/test_checkpoint_data_builder.rs
1
83.13
0.14% crates/iota-types/src/transaction.rs
1
52.97
0.0% crates/simulacrum/src/epoch_state.rs
1
80.55
0.06% iota-execution/latest/iota-adapter/src/execution_engine.rs

Coverage Regressions

Lines Coverage ∆ File
170
91.13
-0.17% crates/iota-core/src/authority/authority_per_epoch_store.rs
125
94.98
-3.14% crates/starfish/core/src/core.rs
120
89.08
-1.58% crates/iota-protocol-config/src/lib.rs
117
96.36
-0.06% crates/starfish/core/src/dag_state.rs
115
83.35
0.24% crates/starfish/core/src/commit.rs
96
54.11
0.0% crates/iota/src/client_ptb/ptb.rs
84
0.0
0.0% crates/iota-graphql-rpc/src/types/transaction_block/mod.rs
79
83.76
-0.06% crates/iota-transactional-test-runner/src/test_adapter.rs
79
82.45
0.57% crates/starfish/core/src/network/tonic_network.rs
76
0.0
0.0% crates/iota-indexer/src/apis/write_api.rs
76
92.81
-2.24% crates/starfish/core/src/block_header.rs
63
47.87
0.0% crates/iota-replay/src/data_fetcher.rs
58
91.91
1.09% crates/iota-core/src/epoch/randomness.rs
57
93.92
-0.13% crates/starfish/core/src/authority_node.rs
57
71.52
0.15% crates/starfish/core/src/commit_syncer/mod.rs
49
83.55
0.0% crates/iota-transaction-checks/src/lib.rs
39
92.38
0.0% crates/iota-core/src/authority/consensus_quarantine.rs
34
84.1
0.0% crates/iota-grpc-server/src/transaction_filter.rs
32
93.06
-0.32% crates/starfish/core/src/authority_service.rs
28
74.66
-0.2% crates/test-cluster/src/lib.rs
27
97.3
0.54% crates/starfish/core/src/cordial_knowledge.rs
23
97.67
0.48% crates/starfish/core/src/commit_observer.rs
22
89.96
2.12% crates/starfish/core/src/leader_timeout.rs
20
94.74
2.88% crates/starfish/core/src/base_committer.rs
16
90.64
0.0% crates/iota-core/src/checkpoints/checkpoint_executor/mod.rs
15
96.46
0.87% crates/starfish/core/src/block_verifier.rs
11
79.74
-1.59% crates/iota-core/src/traffic_controller/mod.rs
11
0.0
0.0% crates/iota-replay/src/fuzz_mutations/shuffle_command_inputs.rs
11
86.97
-0.96% crates/iota-test-transaction-builder/src/lib.rs
10
67.72
-0.56% crates/iota-core/src/authority/authority_store.rs
10
37.68
-14.49% crates/iota-types/src/messages_grpc.rs
9
82.86
0.0% crates/starfish/core/src/error.rs
8
88.81
-2.71% crates/iota-core/src/authority/test_authority_builder.rs
8
91.94
0.34% crates/starfish/config/src/parameters.rs
7
0.0
0.0% crates/iota-replay/src/fuzz_mutations/shuffle_types.rs
6
83.82
-1.47% crates/iota-core/src/storage.rs
6
54.69
0.98% crates/iota-json-rpc-types/src/iota_object.rs
6
50.0
7.14% crates/iota-types/src/collection_types.rs
5
77.37
0.0% crates/iota-sdk/src/wallet_context.rs
5
99.54
0.16% crates/starfish/core/src/linearizer.rs
5
94.02
0.88% crates/starfish/core/src/universal_committer.rs
4
73.2
-2.06% crates/iota-core/src/test_utils.rs
4
53.24
0.0% crates/iota-sdk/src/apis/read.rs
4
59.24
-1.68% crates/iota-stardust-types/src/block/output/alias.rs
4
83.13
0.14% crates/iota-types/src/transaction.rs
3
91.19
-0.07% crates/iota-core/src/execution_cache/writeback_cache.rs
3
79.46
0.0% crates/iota-genesis-builder/src/validator_info.rs
3
24.14
-2.59% crates/iota-json-rpc-types/src/iota_checkpoint.rs
3
78.32
-1.05% crates/iota-sdk/src/lib.rs
3
19.61
-5.88% crates/iota-stardust-types/src/block/address/mod.rs
3
20.9
-1.69% crates/iota-stardust-types/src/block/output/mod.rs
3
93.5
0.0% crates/iota-transaction-builder/src/package.rs
3
66.67
-33.33% crates/iota-types/src/clock.rs
3
97.96
-2.04% crates/iota-types/src/mock_checkpoint_builder.rs
3
84.21
-3.16% crates/starfish/config/src/crypto.rs
3
78.29
-4.1% crates/starfish/core/src/network/mod.rs
2
74.53
-0.29% crates/iota-network/src/randomness/mod.rs
2
91.76
0.0% crates/transaction-fuzzer/src/transaction_data_gen.rs
1
98.31
0.0% crates/iota-genesis-common/src/lib.rs
1
99.47
0.0% crates/iota-json-rpc/src/transaction_execution_api.rs
1
95.65
-4.35% crates/iota-keys/src/random_names.rs
1
51.63
1.63% crates/iota-types/src/iota_sdk_types_conversions.rs
1
99.59
0.0% iota-execution/src/latest.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 27178271483.1 09 Jun 2026 02:31AM UTC 1073
67.33
GitHub Action Run
Source Files on build 27178271483
  • Tree
  • List 1073
  • Changed 144
  • Source Changed 99
  • Coverage Changed 100
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27178271483
  • 17b38ed9 on github
  • Prev Build on develop (#27111488678)
  • Next Build on develop (#27247469485)
  • Delete
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