chore(deps): bump tx3-sdk to 0.13.0#52
Conversation
Updates the `tx3-sdk` dependency from 0.9.2 to the latest published release, 0.13.0, and adapts to its API changes: - `BytesEnvelope`'s `encoding: BytesEncoding` field became `content_type: String`; submit now passes `content_type: "hex"` (matching the SDK's own convention) and drops the removed `BytesEncoding` import. - `MissingTxArgDiagnostic.ty` was renamed to `arg_type`. The bump also pulls pallas up to the stable 1.x line, whose `pallas-crypto` moved key generation to `rand_core` 0.10. cshell otherwise stays on `rand_core` 0.9 (bip39/bip32, private-key encryption), so the `private_key_encryption_roundtrip` test now builds its test keys from bytes via the existing byte constructors instead of `SecretKey::new`/`SecretKeyExtended::new`. The `trp::Error` match and the `ParamType` match needed no changes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughBumps the Changestx3-sdk 0.13.0 API adaptation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Brings cshell's
tx3-sdkdependency up to date: 0.9.2 → 0.13.0 (latest published on crates.io), and adapts to the SDK's API changes along the way.Changes
Cargo.toml/Cargo.lock—tx3-sdk = "0.13.0". The re-resolve also movespallasfrom1.0.0-alpha.3to the stable1.1.0line, which tx3-sdk 0.13.0 requires.src/tx/invoke.rs—BytesEnvelope'sencoding: BytesEncoding::Hexfield becamecontent_type: Stringin 0.13.0; submit now passescontent_type: "hex"(matching the SDK's own convention) and drops the removedBytesEncodingimport.src/reports.rs—MissingTxArgDiagnostic.ty→.arg_type(field rename).src/wallet/types.rs— pallas-crypto 1.x movedSecretKey::new/SecretKeyExtended::newtorand_core0.10, but cshell stays onrand_core0.9 for bip39/bip32 and private-key encryption (the mix is required, not a bug). Theprivate_key_encryption_roundtriptest now builds its keys from bytes via the existing byte constructors instead.The
trp::Errormatch inreports.rsand theParamTypematch incommon.rsneeded no changes — the error enum is unchanged in 0.13.0, and the newParamTypevariants are absorbed by the existing_ =>arm.Verification
cargo build— cleancargo clippy --all-targets— no new warningscargo test— 6/6 pass (incl.private_key_encryption_roundtrip)cshell tx invoke --help— SDK-linked invoke path builds, links, and parses🤖 Generated with Claude Code
Summary by CodeRabbit