Skip to content

chore: Update Rust and Node dependencies#183

Merged
BlobMaster41 merged 2 commits intomainfrom
upgrade/deps
Mar 8, 2026
Merged

chore: Update Rust and Node dependencies#183
BlobMaster41 merged 2 commits intomainfrom
upgrade/deps

Conversation

@BlobMaster41
Copy link
Contributor

@BlobMaster41 BlobMaster41 commented Mar 8, 2026

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

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Performance improvement
  • Refactoring (no functional changes)
  • Documentation update
  • CI/CD changes
  • Dependencies update

Checklist

Build & Tests

  • npm run build completes without errors
  • npm test passes all unit tests
  • cargo clippy reports no warnings
  • cargo fmt --check passes (code is formatted)

Code Quality

  • Code follows the project's coding standards
  • No new compiler warnings introduced
  • Error handling is appropriate (no unwrap() in production code)
  • No unsafe code added (or justified if necessary)

Documentation

  • Code comments added for complex logic
  • Public APIs are documented
  • README updated (if applicable)
  • CHANGELOG entry added (if applicable)

Security

  • No sensitive data (keys, credentials) committed
  • No new security vulnerabilities introduced
  • Gas metering considered for new VM operations

OP_NET Specific

  • Changes are compatible with existing smart contracts
  • WASM execution behavior is unchanged (or documented if changed)
  • Memory safety verified for any new external function calls

Testing

Related Issues

Screenshots


By submitting this PR, I confirm that my contribution is made under the terms of the project's license.

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.
@BlobMaster41 BlobMaster41 added the enhancement New feature or request label Mar 8, 2026
@BlobMaster41 BlobMaster41 requested a review from Copilot March 8, 2026 06:57
@BlobMaster41 BlobMaster41 merged commit 7fe8255 into main Mar 8, 2026
17 of 29 checks passed
@BlobMaster41 BlobMaster41 deleted the upgrade/deps branch March 8, 2026 06:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: bitcoin 0.33.0-beta.0 → 0.32.8 (stable), tokio 1.49.0 → 1.50.0, chrono 0.4.43 → 0.4.44, along with downstream secp256k1, wasm-bindgen, and other crate version updates in Cargo.lock.
  • Node.js @types/node bumped from ^25.2.3 to ^25.3.5 (and its transitive undici-types from 7.16.0 to 7.18.2), with version bumped to 1.0.0-rc.2 in all manifests.
  • validate_bitcoin_address_import.rs updated to remove the beta-era TestnetVersion API (Network::Testnet(TestnetVersion::V4)) in favor of Network::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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants