• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
You are now the owner of this repo.

iotaledger / iota
67%

Build:
DEFAULT BRANCH: develop
Repo Added 25 Nov 2024 10:41AM UTC
Token yKKuQEyCdK2Zjpx0P9aXmMMadtLkrfmxk regen
Build 494 Last
Files 1076
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

LAST BUILD ON BRANCH develop
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • dev-tools/fix-toolchain
  • dev-tools/include-external-crates-coverage
  • dev-tools/reenable-coverage-ci
  • develop

28 May 2026 01:19PM UTC coverage: 66.88% (+0.004%) from 66.876%
26612825483

push

github

web-flow
feat(iota-types): compile iota-types to wasm32 (#11660)

## Summary

Makes the `iota-types` crate compile to `wasm32-unknown-unknown`, a
prerequisite for running the Move VM / execution layer in the browser.
The guiding rule: **client-visible types stay wasm-compatible; node-only
types are gated out entirely.**

Fixes https://github.com/iotaledger/iota/issues/11546

Two mechanisms, applied per module:

- **Module is node-only** → gate the whole module out on wasm. The
native file stays byte-identical to `develop`.
- `messages_consensus` + `messages_grpc` (consensus / gRPC machinery;
pull in `fastcrypto-tbls` / `tonic`).
- `iota_system_state::epoch_start_iota_system_state`
(`EpochStartSystemState`; pulls in `anemo` / `starfish-config`). The
single trait link that surfaced it —
`IotaSystemStateTrait::into_epoch_start_state` — is gated along with its
V1/V2 impls.
- Knock-on edits only: `transaction.rs` now imports
`CancelledTransaction` / `ConsensusCommitPrologueV1` /
`ConsensusDeterminedVersionAssignments` directly from `iota_sdk_types`
(they were re-exports), and the `BcsSignable` impl for
`VersionedMisbehaviorReport` is gated.

- **Module exports types the execution/client path needs on wasm** →
provide no-op stubs.
- `metrics`: native items gated in place (no re-indentation);
`LimitsMetrics` / `BytecodeVerifierMetrics` stubs appended behind
`#[cfg(wasm32)]`.
- `multiaddr`: `Multiaddr` appears in on-chain validator metadata;
backed by a small wasm stub in `wasm_multiaddr.rs` (the only added
file).

`Cargo.toml` sorts the wasm-incompatible dependencies (`prometheus`,
`anemo`, `tonic`, `fastcrypto-tbls`, `starfish-config`, …) into
`[target.'cfg(not(target_arch = "wasm32"))'.dependencies]`.

## CI

Adds a `check-wasm32` job to `_rust_tests.yml` that installs the
`wasm32-unknown-unknown` target and runs `cargo check -p iota-types
--target wasm32-unknown-unknown`, guarding the new constraint going
forward.

## Test plan

- [x] `cargo check -p iota-types --... (continued)

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

1831 existing lines in 33 files now uncovered.

152496 of 228015 relevant lines covered (66.88%)

463561.33 hits per line

Relevant lines Covered
Build:
Build:
228015 RELEVANT LINES 152496 COVERED LINES
463561.33 HITS PER LINE
Source Files on develop
  • Tree
  • List 1076
  • Changed 53
  • Source Changed 33
  • Coverage Changed 52
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26612825483 develop feat(iota-types): compile iota-types to wasm32 (#11660) ## Summary Makes the `iota-types` crate compile to `wasm32-unknown-unknown`, a prerequisite for running the Move VM / execution layer in the browser. The guiding rule: **client-visible type... push 29 May 2026 02:34AM UTC web-flow github
66.88
26549227281 develop refactor(iota-indexer): support filtered queries on transactions with a fallback to the archival store (#11656) # Description of change This PR adds support for pruned transactions to be retrieved form the fallback archival store in the `Indexer... push 28 May 2026 02:30AM UTC web-flow github
66.88
26485628984 develop upstream(iota-core): cache signed_effects_digests in memory (#11612) # Description of change Port of MystenLabs/sui#26431 ("Cache `signed_effects_digests` in memory to avoid disk reads"). `get_signed_effects_digest(&tx_digest)` is called on eve... push 27 May 2026 02:36AM UTC web-flow github
66.89
26427363945 develop chore: `iota_grpc_client::Client::new` is now sync (#11634) # Description of change It didn't need to be async so i was made sync in the SDK, this PR updates the rev. ## How the change has been tested - [x] Basic tests (linting, compilation, f... push 26 May 2026 02:33AM UTC web-flow github
66.88
26378894697 develop fix(typed-store,starfish-core): port upstream storage iterator and VecDeque fixes (#11610) # Description of change Ports three upstream correctness fixes touching storage iterators and consensus block scanning. Each commit corresponds to a separ... push 25 May 2026 02:37AM UTC web-flow github
66.91
26348771894 develop fix(typed-store,starfish-core): port upstream storage iterator and VecDeque fixes (#11610) # Description of change Ports three upstream correctness fixes touching storage iterators and consensus block scanning. Each commit corresponds to a separ... push 24 May 2026 02:35AM UTC web-flow github
66.91
26319962911 develop fix(typed-store,starfish-core): port upstream storage iterator and VecDeque fixes (#11610) # Description of change Ports three upstream correctness fixes touching storage iterators and consensus block scanning. Each commit corresponds to a separ... push 23 May 2026 02:30AM UTC web-flow github
66.91
26263444057 develop chore(iota-protocol-config): add consensus block restrictions to v27 comment (#11604) # Description of change The starfish hardening PR (#11529) bumped `MAX_PROTOCOL_VERSION` to 27 but did not update the protocol-version history comment at the t... push 22 May 2026 02:34AM UTC web-flow github
66.92
26200321126 develop fix(graphql-rpc): include all dryRunTransactionBlock argument types in query cost evaluation (#11583) # Description of change With #9152, we only considered `txBytes` as the eligible argument to contribute to tx-payload size, but clearly this is... push 21 May 2026 02:34AM UTC web-flow github
66.86
26136038453 develop feat(consensus): Starfish hardening (#11529) # Description of change Bounds the size of a starfish block header to `O(committee_size)` and adds the supporting machinery needed to keep that bound workable in steady state. All new behavior is gate... push 20 May 2026 02:36AM UTC web-flow github
67.01
See All Builds (493)

Badge your Repo: iota

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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