Skip to content

Update dependencies#522

Merged
nazar-pc merged 3 commits into
mainfrom
update-dependencies
Jan 12, 2026
Merged

Update dependencies#522
nazar-pc merged 3 commits into
mainfrom
update-dependencies

Conversation

@nazar-pc
Copy link
Copy Markdown
Owner

libp2p changes were mostly pulled from autonomys/subspace#3737 with slow tests ignored since it is most likely that libp2p will be ripped from the codebase eventually anyway

Copilot AI review requested due to automatic review settings January 12, 2026 13:12
@nazar-pc nazar-pc enabled auto-merge January 12, 2026 13:14
Copy link
Copy Markdown
Contributor

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 updates multiple dependencies across the project, with a primary focus on updating libp2p from version 0.54.2 to 0.56.0 and making necessary API adjustments. Additionally, the PR updates rand from 0.10.0-rc.5 to 0.10.0-rc.6 (migrating from OsRng to SysRng), upgrades blake3 from 1.8.2 to 1.8.3 (removing the git patch), and updates numerous other dependencies including tokio, clap, and various supporting crates.

Changes:

  • Updated libp2p to 0.56.0 with corresponding API changes including method renames and additional pattern matching fields
  • Migrated rand RNG types from OsRng to SysRng and updated feature flags from os_rng to sys_rng
  • Ignored slow-running libp2p tests and increased timeout delays from 1000ms to 12000ms

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
crates/shared/ab-networking/src/protocols/reserved_peers/tests.rs Updated API calls from next_swarm_event() to select_next_some(), added #[ignore] attributes to slow tests, increased timeout delays
crates/shared/ab-networking/src/protocols/request_response/request_response_factory.rs Replaced manual DialOpts construction with send_request_with_addresses(), removed unused import, added exhaustive pattern matching fields
crates/shared/ab-networking/src/behavior.rs Added #[expect(clippy::large_enum_variant)] attribute to Event enum
crates/node/ab-client-database/src/storage_backend_adapter.rs Changed OsRng to SysRng for random number generation
crates/node/ab-client-database/src/lib.rs Updated error type from OsError to SysError
crates/node/ab-client-database/Cargo.toml Updated rand feature from os_rng to sys_rng
crates/farmer/ab-farmer/src/single_disk_farm/identity.rs Updated imports and usage from OsRng/OsError to SysRng/SysError
Cargo.toml Updated 20+ dependencies and removed blake3 git patch
Cargo.lock Comprehensive dependency tree updates reflecting all version changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nazar-pc nazar-pc merged commit fc6d703 into main Jan 12, 2026
62 checks passed
@nazar-pc nazar-pc deleted the update-dependencies branch January 12, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants