Skip to content

Commit 9825246

Browse files
committed
chore(ci): update clippy version to rust-1.81
1 parent 723f90a commit 9825246

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
sudo apt install -y protobuf-compiler
1818
- uses: actions-rs/toolchain@v1
1919
with:
20-
toolchain: 1.79
20+
toolchain: 1.81
2121
components: rustfmt, clippy
2222
default: true
2323
- uses: actions-rs/cargo@v1
@@ -36,4 +36,4 @@ jobs:
3636
name: clippy
3737
with:
3838
token: ${{ secrets.GITHUB_TOKEN }}
39-
args: --all-targets -- -D warnings
39+
args: --all-targets -- -D warnings --allow clippy::mutable_key_type --allow clippy::result_unit_err

mina-p2p-messages/benches/gossip-binprot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(unexpected_cfgs)]
12
#![cfg(benchmarks)]
23
#![feature(test)]
34

mina-p2p-messages/tests/rpc-read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ fn debugger_to_wire() {
158158
"v1/rpc/get-transition-knowledge",
159159
"v1/rpc/get-ancestry",
160160
] {
161-
for_all_with_path(&PathBuf::from(d).join("response"), |encoded, path| {
161+
for_all_with_path(PathBuf::from(d).join("response"), |encoded, path| {
162162
let mut p = &encoded[1..];
163163
let tag = BinprotTag::binprot_read(&mut p).unwrap().to_string_lossy();
164164
let ver = Ver::binprot_read(&mut p).unwrap();

node/testing/src/node/ocaml/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ impl OcamlNode {
106106

107107
cmd.arg("daemon");
108108
cmd.arg("--config-dir").arg(&config_dir);
109-
cmd.arg("--libp2p-keypair").arg(&Self::privkey_path(dir));
109+
cmd.arg("--libp2p-keypair").arg(Self::privkey_path(dir));
110110
cmd.args(["--external-ip", "127.0.0.1"])
111111
.args(["--external-port", &config.libp2p_port.to_string()])
112112
.args(["--client-port", &config.client_port.to_string()])

node/testing/src/scenarios/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//! Initial Joining:
33
//! * Ensure new nodes can discover peers and establish initial connections.
44
//! * Test how nodes handle scenarios when they are overwhelmed with too many connections or data requests.
5+
//!
56
//! TODO(vlad9486):
67
//! Reconnection: Validate that nodes can reconnect after both intentional and unintentional disconnections.
78
//! Handling Latency: Nodes should remain connected and synchronize even under high latency conditions.

0 commit comments

Comments
 (0)