From 552b6210a411dc237580e53de0ab2f385c4f4016 Mon Sep 17 00:00:00 2001 From: imabdulbasit Date: Mon, 20 Jul 2026 13:34:55 +0500 Subject: [PATCH] chore: update Rust to 1.97.1 and fix test call sites for apply_pair Bumps the rust-overlay flake input (Rust 1.97.0 -> 1.97.1) and updates two new-protocol test call sites left on the removed apply(proposal_input_consensus) signature to apply_pair, so the workspace compiles under clippy. --- crates/hotshot/new-protocol/src/tests/consensus.rs | 4 ++-- flake.lock | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/hotshot/new-protocol/src/tests/consensus.rs b/crates/hotshot/new-protocol/src/tests/consensus.rs index 3e663a555b2..ab687e76db7 100644 --- a/crates/hotshot/new-protocol/src/tests/consensus.rs +++ b/crates/hotshot/new-protocol/src/tests/consensus.rs @@ -850,7 +850,7 @@ async fn test_timeout_proposal_chains_from_lock_not_timed_out_cert1() { // Lock on cert1(1). harness - .apply(test_data.views[0].proposal_input_consensus(&leader_for_view_3)) + .apply_pair(test_data.views[0].proposal_input_consensus(&leader_for_view_3)) .await; harness .apply(test_data.views[0].block_reconstructed_input()) @@ -909,7 +909,7 @@ async fn test_bridged_legacy_qc_adopts_lock_and_reproposes() { // Lock on cert1(1); hold view 2's proposal but no cert for it. harness - .apply(test_data.views[0].proposal_input_consensus(&leader_for_view_3)) + .apply_pair(test_data.views[0].proposal_input_consensus(&leader_for_view_3)) .await; harness .apply(test_data.views[0].block_reconstructed_input()) diff --git a/flake.lock b/flake.lock index b25dd150045..c7b29e6a274 100644 --- a/flake.lock +++ b/flake.lock @@ -397,11 +397,11 @@ ] }, "locked": { - "lastModified": 1783663825, - "narHash": "sha256-TTrNVoFdEw8j0Hn+shP1KAsimTmszTWBIIUliTaAuY0=", + "lastModified": 1784526465, + "narHash": "sha256-L37teKC6oINWG4PGZLIqbphMWvSQ0PEz+aWxAk+rIDw=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "072adf9b18936c1062c48123a9b77891d5968f2c", + "rev": "58c6334db52d51fc5dd8877c90b01f00cf8a696b", "type": "github" }, "original": {