From 4b1aab9fb7aa8828409fe91198f932fcc8e56f78 Mon Sep 17 00:00:00 2001 From: dapplion <35266934+dapplion@users.noreply.github.com> Date: Thu, 30 Apr 2026 13:44:10 +0200 Subject: [PATCH] Allow large stack frame in proposer_boost_re_org_test Rust 1.94.0 raised `clippy::large_stack_frames` against this function (548365 bytes vs. 512000 default threshold), failing pre-push lint. Match the per-function `#[allow]` pattern used elsewhere in the codebase (store_tests.rs, basic_sim.rs, etc.). --- beacon_node/http_api/tests/interactive_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/beacon_node/http_api/tests/interactive_tests.rs b/beacon_node/http_api/tests/interactive_tests.rs index 15f61537a0..d82f291a1c 100644 --- a/beacon_node/http_api/tests/interactive_tests.rs +++ b/beacon_node/http_api/tests/interactive_tests.rs @@ -385,6 +385,7 @@ pub async fn proposer_boost_re_org_weight_misprediction() { /// - `num_empty_votes`: percentage of comm of attestations for the parent block /// - `num_head_votes`: number of attestations for the head block /// - `should_re_org`: whether the proposer should build on the parent rather than the head +#[allow(clippy::large_stack_frames)] pub async fn proposer_boost_re_org_test( ReOrgTest { head_slot,