Update dependencies#522
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
OsRngtoSysRngand updated feature flags fromos_rngtosys_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.
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.
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