Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ jobs:
fail-fast: false
matrix:
rust-version: [
1.83.0, # current stable
1.93.1, # current stable
beta,
]
steps:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ members = [
resolver = "2"

[workspace.package]
rust-version = "1.83.0"
rust-version = "1.88.0"
Copy link
Member

Choose a reason for hiding this comment

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

I think we have to bump the version of all our crates because this is a breaking change, right?

Copy link
Member

Choose a reason for hiding this comment

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

Correct. This would be considered a breaking change so I would suggest bumping the crates to the next version.

Copy link
Member

Choose a reason for hiding this comment

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

pff, but yeah let's do it

edition = "2021"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion hole-punching-tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.5-labs
FROM rust:1.83.0 as builder
FROM rust:1.88.0 as builder

# Run with access to the target cache to speed up builds
WORKDIR /workspace
Expand Down
3 changes: 3 additions & 0 deletions libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
- Fix `metrics` delegation to gossipsub protocol.
See [PR 6180](https://github.com/libp2p/rust-libp2p/pull/6180)

- Raise MSRV to 1.88.0.
See [PR 6273](https://github.com/libp2p/rust-libp2p/pull/6273).

## 0.56.0

- Remove `async-std` support.
Expand Down
2 changes: 1 addition & 1 deletion misc/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.5-labs
FROM rust:1.83.0 as chef
FROM rust:1.88.0 as chef
RUN wget -q -O- https://github.com/LukeMathWalker/cargo-chef/releases/download/v0.1.62/cargo-chef-x86_64-unknown-linux-gnu.tar.gz | tar -zx -C /usr/local/bin
WORKDIR /app

Expand Down
9 changes: 7 additions & 2 deletions protocols/gossipsub/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,10 @@ where
self.apply_iwant_penalties();

// check connections to explicit peers
if self.heartbeat_ticks % self.config.check_explicit_peers_ticks() == 0 {
if self
.heartbeat_ticks
.is_multiple_of(self.config.check_explicit_peers_ticks())
{
for p in self.explicit_peers.clone() {
self.check_explicit_peer_connection(&p);
}
Expand Down Expand Up @@ -2321,7 +2324,9 @@ where
}

// should we try to improve the mesh with opportunistic grafting?
if self.heartbeat_ticks % self.config.opportunistic_graft_ticks() == 0
if self
.heartbeat_ticks
.is_multiple_of(self.config.opportunistic_graft_ticks())
&& peers.len() > 1
{
if let PeerScoreState::Active(peer_score) = &self.peer_score {
Expand Down
2 changes: 1 addition & 1 deletion protocols/perf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.5-labs
FROM rust:1.83.0 as builder
FROM rust:1.88.0 as builder

# Run with access to the target cache to speed up builds
WORKDIR /workspace
Expand Down
Loading