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

iotaledger / iota-rust-sdk / 27996482092
36%

Build:
DEFAULT BRANCH: develop
Ran 23 Jun 2026 01:48AM UTC
Jobs 1
Files 187
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

19 Jun 2026 07:44AM UTC coverage: 35.379% (+0.06%) from 35.318%
27996482092

push

github

web-flow
refactor: remove deprecated zklogin variants from public signature enums (#1195)

* refactor: remove deprecated zklogin variants from public signature enums

Drop ZkLoginAuthenticatorDeprecated from the public UserSignature and
SignatureScheme enums. Neither is serialized by variant index
(UserSignature uses a custom flag-byte encoding, SignatureScheme uses an
explicit #[repr(u8)]), so removing them does not shift any BCS
discriminants and needs no serde-specific placeholder.

The 0x05 flag is left documented as reserved. The index-locked
placeholders on the private BinaryPublicKey / MemberSignature serde
structs are kept, since removing those would shift the on-chain wire
format.

https://claude.ai/code/session_01GKkvevz4vSZike1ryqCQMz

* test: pin BCS tags for signature enums touched by zklogin removal

Round-trip tests can't catch a shifted discriminant (encode and decode
move together), so add hardcoded-value anchors:

- signature_scheme_flag_values: pins every SignatureScheme flag byte and
  asserts the reserved 0x05 (zklogin) is rejected.
- user_signature_rejects_zklogin_flag: a bare 0x05 flag must no longer
  decode.
- member_signature_bcs_tags: pins the multisig MemberSignature tags,
  guarding the retained ZkLoginDeprecated placeholder that keeps Passkey
  at tag 0x04.

https://claude.ai/code/session_01GKkvevz4vSZike1ryqCQMz

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Thibault Martinez <thibault@iota.org>

39 of 40 new or added lines in 2 files covered. (97.5%)

27 existing lines in 8 files now uncovered.

7977 of 22547 relevant lines covered (35.38%)

10138.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
83.01
-0.22% crates/iota-sdk-types/src/crypto/multisig.rs

Coverage Regressions

Lines Coverage ∆ File
6
72.4
1.47% crates/iota-sdk-types/src/crypto/signature.rs
4
83.01
-0.22% crates/iota-sdk-types/src/crypto/multisig.rs
4
80.0
-0.63% crates/iota-sdk-types/src/lib.rs
3
26.88
-3.23% crates/iota-sdk-types/src/crypto/ed25519.rs
3
86.86
-1.71% crates/iota-sdk-types/src/crypto/passkey.rs
3
19.35
-3.23% crates/iota-sdk-types/src/crypto/secp256k1.rs
3
61.76
0.0% crates/iota-sdk-types/src/framework.rs
1
0.0
0.0% crates/iota-sdk-crypto/src/multisig.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest - 27996482092.1 23 Jun 2026 01:48AM UTC 187
35.38
GitHub Action Run
Source Files on build 27996482092
  • Tree
  • List 187
  • Changed 10
  • Source Changed 3
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27996482092
  • d961e833 on github
  • Prev Build on develop (#27800872811)
  • Next Build on develop (#28069441485)
  • 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