|
Ran
|
Jobs
1
|
Files
187
|
Run time
1min
|
Badge
README BADGES
|
push
github
feat: add `iota-sdk-move-types` crate (#1124) * add move system types crate * add Rust versions of Move types * add StakedIota decode example * add StakedIota to bindings + examples * fmt * add BCS schema * full system package parity * update abnf * Move <-> Rust type match-up verification and nightly CI type drift signaling * use proptests where easily derivable * switch to fixtures * more fixtures + README.md update * fix rebase * handle FFI type conflict * Revert "handle FFI type conflict" This reverts commit 1bd353f68. * handle FFI type conflict 2 * rename crate * rm remnants * fix docs * Validate hand-crafted Rust mirror types against against vendored Move system packages * Add update script * Add CI script * use filtered published_api.txt instead * nit * chore: address some review and route FFI move-types through iota-sdk Review: - mark FromObjectError #[non_exhaustive] - use u64 instead of u128 in decode_staked_iota example - trim the python example header comment to focus on the example - move update_compiled_packages.sh into the crate (matching update_grpc_types.sh) - wire up Source::TypeFilter via IOTA_DISCOVER_TYPE, dropping #[allow(dead_code)] - re-export iota_move_types as iota_sdk::move_types behind the move-types feature - have iota-sdk-ffi reach move-types through iota-sdk - import via iota_sdk::move_types in the decode_staked_iota example * fix(bcs-schema): treat underscores as word boundaries in to_kebab_case ABNF rule names can't contain underscores. Move type names like STARDUST_UPGRADE_LABEL and UQ32_32 reach to_kebab_case and produced invalid rule names (e.g. `stardust_-upgrade_-label`, `uq32_32`). Convert `_` to a word boundary, add a regression test, and update the affected move-types abnf rule names. * fix(move-types): represent Move string types as `string` in the schema The BcsSchema derive keys each abnf rule name off the written type ident, so the `AsciiString` ... (continued)
137 of 761 new or added lines in 7 files covered. (18.0%)
147 existing lines in 9 files now uncovered.7949 of 22527 relevant lines covered (35.29%)
8835.62 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 411 |
1.91 |
crates/iota-sdk-move-types/src/packages/iota_framework.rs | |
| 97 |
0.0 |
crates/iota-sdk-move-types/src/packages/iota_system.rs | |
| 63 |
0.0 |
crates/iota-sdk-move-types/src/packages/stardust.rs | |
| 30 |
0.0 |
crates/iota-sdk-move-types/src/packages/move_stdlib.rs | |
| 16 |
87.6 |
crates/iota-sdk-bcs-schema/src/move_shape.rs | |
| 6 |
0.0 |
crates/iota-sdk-move-types/src/move_shape.rs | |
| 1 |
10.66 |
3.27% | crates/iota-sdk-bcs-schema/src/lib.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 90 |
35.84 |
-3.48% | crates/iota-sdk-types/src/hash.rs |
| 23 |
86.17 |
2.4% | crates/iota-sdk-types/src/crypto/passkey.rs |
| 22 |
63.49 |
-2.08% | crates/iota-sdk-types/src/digest.rs |
| 3 |
78.13 |
-1.88% | crates/iota-sdk-types/src/lib.rs |
| 3 |
0.0 |
-0.85% | crates/iota-sdk-types/src/transaction/mod.rs |
| 2 |
51.65 |
-2.2% | crates/iota-sdk-types/src/crypto/move_authenticator.rs |
| 2 |
71.15 |
0.22% | crates/iota-sdk-types/src/crypto/signature.rs |
| 1 |
10.66 |
3.27% | crates/iota-sdk-bcs-schema/src/lib.rs |
| 1 |
83.14 |
0.0% | crates/iota-sdk-types/src/crypto/multisig.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | nextest - 27731694741.1 | 187 |
35.29 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|