build: update rust-dashcore to latest v0.42-dev 9959201#3225
build: update rust-dashcore to latest v0.42-dev 9959201#3225
Conversation
Update all rust-dashcore dependencies (dashcore, dash-spv, dash-spv-ffi, key-wallet, key-wallet-manager, dashcore-rpc) to commit 9959201593826d. Also unify rs-platform-encryption which was pinned to a different older rev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated workspace dependency revisions for dashcore-related crates and fixed invalid dependency keys by removing leading hyphens. Switched a package dashcore entry to workspace usage. Removed the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Remove `create_unsigned_payment_transaction`, `FeeLevel`, and `TransactionError` usage — all removed from the upstream WalletInfoInterface trait in rust-dashcore v0.42-dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
✅ DashSDKFFI.xcframework built for this PR.
SwiftPM (host the zip at a stable URL, then use): .binaryTarget(
name: "DashSDKFFI",
url: "https://your.cdn.example/DashSDKFFI.xcframework.zip",
checksum: "4a236766b7888b843c0be943b0d2e8238c177b061810011ba970daafa9ed23e6"
)Xcode manual integration:
|
There was a problem hiding this comment.
Pull request overview
Updates the workspace’s rust-dashcore-sourced dependencies to the latest v0.42-dev commit and aligns downstream code/lockfile to the new API surface.
Changes:
- Bumped
dashcore/dash-spv/key-wallet/dashcore-rpcworkspace git revs to9959201…. - Updated
platform-encryption’s pinneddashcorerev to the same commit. - Adjusted
PlatformWalletInfo’sWalletInfoInterfaceimpl to match upstream trait changes and regeneratedCargo.lock.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/rs-platform-wallet/src/platform_wallet_info/wallet_info_interface.rs | Removes now-obsolete delegated method and cleans imports to match updated upstream traits/types. |
| packages/rs-platform-encryption/Cargo.toml | Aligns dashcore git rev with the workspace-wide rust-dashcore commit. |
| Cargo.toml | Updates workspace dependency git rev pins for rust-dashcore family crates. |
| Cargo.lock | Regenerated lockfile reflecting the new rust-dashcore commit and transitive dependency changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
🧹 Nitpick comments (1)
packages/rs-platform-encryption/Cargo.toml (1)
11-11: Useworkspace = trueto inheritdashcorefrom the root Cargo.toml.This crate duplicates the workspace dependency definition from line 50 of the root
Cargo.tomlwithout any crate-specific overrides. Usingworkspace = truekeeps the dependency revision single-sourced and prevents drift on future updates.-dashcore = { git = "https://github.com/dashpay/rust-dashcore", rev = "9959201593826def0ad1f6db51b2ceb95b68a1ca" } +dashcore = { workspace = true }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/rs-platform-encryption/Cargo.toml` at line 11, The dashcore dependency in this crate duplicates the root workspace revision; replace the current git+rev entry for dashcore with a workspace reference so it inherits the root definition (i.e., change the dashcore dependency in this crate's Cargo.toml to use workspace = true instead of specifying git and rev), ensuring the crate no longer pins its own git/rev and will follow the root Cargo.toml's dashcore revision.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@packages/rs-platform-encryption/Cargo.toml`:
- Line 11: The dashcore dependency in this crate duplicates the root workspace
revision; replace the current git+rev entry for dashcore with a workspace
reference so it inherits the root definition (i.e., change the dashcore
dependency in this crate's Cargo.toml to use workspace = true instead of
specifying git and rev), ensuring the crate no longer pins its own git/rev and
will follow the root Cargo.toml's dashcore revision.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 8ba3fbbf-624b-47b6-a7b9-b92ba68cec9d
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock
📒 Files selected for processing (3)
Cargo.tomlpackages/rs-platform-encryption/Cargo.tomlpackages/rs-platform-wallet/src/platform_wallet_info/wallet_info_interface.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Issue being fixed or feature implemented
Keep rust-dashcore dependency up to date with the latest
v0.42-devbranch.What was done?
dashcore,dash-spv,dash-spv-ffi,key-wallet,key-wallet-manager,dashcore-rpc) from0bc6592→9959201rs-platform-encryptionwhich was pinned to a separate older rev (2bd764f) — now all crates point to the same commitCargo.lockHow Has This Been Tested?
cargo check --workspacepasses (excluding pre-existingwasm-dpp2errors unrelated to this change)Breaking Changes
None expected — this is a dependency bump within the same
v0.42line.Checklist:
🤖 Co-authored by Claudius the Magnificent AI Agent
Summary by CodeRabbit
Chores
Breaking Changes