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

iotaledger / iota-rust-sdk / 37870922016
49%

Build:
DEFAULT BRANCH: develop
Ran 09 Oct 2026 01:43AM UTC
Jobs 1
Files 195
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

08 Oct 2026 04:06PM UTC coverage: 0.368% (-0.006%) from 0.374%
37870922016

push

github

web-flow
feat(graphql-client)!: append Move view call arguments and take the function by package, module and name (#1353)

* feat(iota-sdk-transaction-builder): add a MoveViewCallBuilder

Assembling a Move `#[view]` call meant passing the whole argument list in one
expression and stringifying the function name and type arguments by hand. Add a
MoveViewCallBuilder that takes arguments one at a time or in bulk and derives
the type arguments from a Rust generic.

The builder executes through a MoveViewCallClient trait rather than a concrete
client, so it lives here rather than in the GraphQL crate and works with any
transport that can reach a view endpoint. The trait returns the return values
directly and reports a refused view function through the client's own error
type, so no result wrapper crosses the boundary.

Closes #537

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* feat(iota-sdk-ffi): add MoveViewCallBuilder and ClientMoveViewCallBuilder

Expose the Move view call builder over FFI as the same pair the transaction
builder uses: a clientless builder that assembles the call and reports its wire
form, and a client-bound one that executes it. GraphQLClient implements
MoveViewCallClient, so a call can also be started straight from the client.

Arguments arrive either as the existing MoveViewArg values or as raw JSON, and
that argument type moves next to the builder, mirroring where it now lives on
the Rust side; the GraphQL call API keeps using it.

Executing through an Arc'd client needs MoveViewCallClient on Arc<T>, which the
trait was missing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* chore(bindings): show the view call builder in the MoveViewCall examples

Give every binding example the builder section the Rust example gained, so the
new API is visible where FFI users actually read.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix doc

* fix merge

* refactor(graphql-client): replace MoveViewCallBuilder with appendab... (continued)

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

2366 existing lines in 32 files now uncovered.

118 of 32081 relevant lines covered (0.37%)

0.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
76
0.0
0.0% crates/iota-sdk-graphql-client/src/api/move_view_call.rs

Coverage Regressions

Lines Coverage ∆ File
321
0.0
0.0% crates/iota-sdk-move-types/src/packages/iota_framework.rs
276
0.0
0.0% crates/iota-sdk-graphql-client/src/api/transactions.rs
200
0.0
0.0% crates/iota-sdk-graphql-client/src/streams.rs
149
0.0
0.0% crates/iota-sdk-graphql-client/src/api/package.rs
147
0.0
0.0% crates/iota-sdk-grpc-client/src/api/ledger/checkpoints.rs
122
0.0
0.0% crates/iota-sdk-graphql-client/src/api/checkpoints.rs
117
0.0
0.0% crates/iota-sdk-graphql-client/src/subscription.rs
116
0.0
0.0% crates/iota-sdk-graphql-client/src/client.rs
89
0.0
0.0% crates/iota-sdk-graphql-client/src/api/dynamic_fields.rs
88
0.0
0.0% crates/iota-sdk-graphql-client/src/api/coins.rs
74
0.0
0.0% crates/iota-sdk-graphql-client/src/api/objects.rs
73
0.0
0.0% crates/iota-sdk-graphql-client/src/api/iota_names.rs
72
0.0
0.0% crates/iota-sdk-graphql-client/src/api/network.rs
69
0.0
0.0% crates/iota-sdk-graphql-client/src/error.rs
56
0.0
0.0% crates/iota-sdk-graphql-client/src/query_types/subscriptions.rs
55
0.0
0.0% crates/iota-sdk-transaction-builder/src/builder/ptb_arguments.rs
50
0.0
0.0% crates/iota-sdk-grpc-client/src/transaction_builder_client.rs
47
0.0
0.0% crates/iota-sdk-grpc-client/src/api/execution/execute.rs
41
0.0
0.0% crates/iota-sdk-types/src/crypto/mod.rs
34
0.0
0.0% crates/iota-sdk-graphql-client/src/query_types/transaction.rs
32
0.0
0.0% crates/iota-sdk-graphql-client/src/api/dry_run.rs
31
0.0
0.0% crates/iota-sdk-graphql-client/src/api/events.rs
31
0.0
0.0% crates/iota-sdk-graphql-client/src/transaction_builder_client.rs
20
0.0
0.0% crates/iota-sdk-graphql-client/src/output_types/mod.rs
17
0.0
0.0% crates/iota-sdk-grpc-client/src/api/state/owned_objects.rs
12
0.0
0.0% crates/iota-sdk-graphql-client/src/query_types/object.rs
8
0.0
0.0% crates/iota-sdk-grpc-client/src/api/ledger/epochs.rs
6
0.0
0.0% crates/iota-sdk-graphql-client/src/query_types/events.rs
5
0.0
0.0% crates/iota-sdk-graphql-client/src/query_types/iota_names.rs
5
0.0
0.0% crates/iota-sdk-grpc-client/src/api/state/coins.rs
2
0.0
0.0% crates/iota-sdk-transaction-builder/src/types/mod.rs
1
0.0
0.0% crates/iota-sdk-graphql-client/src/query_types/checkpoint.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest - 37870922016.1 09 Oct 2026 01:43AM UTC 195
0.37
GitHub Action Run
Source Files on build 37870922016
  • Tree
  • List 195
  • Changed 44
  • Source Changed 44
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37870922016
  • 5cdf671c on github
  • Prev Build on develop (#37713941733)
  • Next Build on develop (#38013911133)
  • 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