chore: Update Rust and Node dependencies#183
Merged
BlobMaster41 merged 2 commits intomainfrom Mar 8, 2026
Merged
Conversation
Bump several Rust and Node dependencies and regenerate lockfiles. Cargo.toml updates include tokio 1.49.0 -> 1.50.0, chrono 0.4.43 -> 0.4.44, bitcoin 0.33.0-beta.0 -> 0.32.8, and adjustments to secp256k1-related versions; other Rust crate versions were aligned accordingly. package.json/package-lock.json update @types/node to ^25.3.5 (and its transitive undici-types). Cargo.lock and package-lock.json were updated to reflect the new dependency graph.
Bump release version to 1.0.0-rc.2 (Cargo.toml/Cargo.lock and package.json/package-lock.json). Update Rust code to match bitcoin crate API by removing TestnetVersion and using Network::Testnet4. Update test in validate_bitcoin_address_import to assert Ok(false) instead of is_err(). These changes adapt the codebase and tests to the updated bitcoin crate behavior.
There was a problem hiding this comment.
Pull request overview
This PR bumps several Rust and Node.js dependencies to newer versions, regenerates lockfiles, and adjusts the bitcoin address validation code to match the API of the downgraded bitcoin crate (from the pre-release 0.33.0-beta.0 to the stable 0.32.8). It also includes a minor test correctness fix.
Changes:
- Rust dependency version bumps:
bitcoin0.33.0-beta.0 → 0.32.8 (stable),tokio1.49.0 → 1.50.0,chrono0.4.43 → 0.4.44, along with downstreamsecp256k1,wasm-bindgen, and other crate version updates inCargo.lock. - Node.js
@types/nodebumped from^25.2.3to^25.3.5(and its transitiveundici-typesfrom7.16.0to7.18.2), with version bumped to1.0.0-rc.2in all manifests. validate_bitcoin_address_import.rsupdated to remove the beta-eraTestnetVersionAPI (Network::Testnet(TestnetVersion::V4)) in favor ofNetwork::Testnet4(which is the stable API in bitcoin 0.32.x), and a previously incorrect test assertion was fixed.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/domain/runner/import_functions/validate_bitcoin_address_import.rs |
Adapts to bitcoin 0.32.x API: replaces Network::Testnet(TestnetVersion::V4) with Network::Testnet4; fixes incorrect test assertion |
Cargo.toml |
Bumps tokio, chrono, bitcoin (to stable), version to 1.0.0-rc.2 |
Cargo.lock |
Regenerated to reflect new Rust dependency graph |
package.json |
Bumps @types/node to ^25.3.5, version to 1.0.0-rc.2 |
package-lock.json |
Regenerated to reflect updated Node.js dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bump several Rust and Node dependencies and regenerate lockfiles. Cargo.toml updates include tokio 1.49.0 -> 1.50.0, chrono 0.4.43 -> 0.4.44, bitcoin 0.33.0-beta.0 -> 0.32.8, and adjustments to secp256k1-related versions; other Rust crate versions were aligned accordingly. package.json/package-lock.json update @types/node to ^25.3.5 (and its transitive undici-types). Cargo.lock and package-lock.json were updated to reflect the new dependency graph.
Type of Change
Checklist
Build & Tests
npm run buildcompletes without errorsnpm testpasses all unit testscargo clippyreports no warningscargo fmt --checkpasses (code is formatted)Code Quality
Documentation
Security
OP_NET Specific
Testing
Related Issues
Screenshots
By submitting this PR, I confirm that my contribution is made under the terms of the project's license.