From 08dbc24d48b1e11c4e9524f60687ce4070abf310 Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 5 Mar 2025 17:43:14 -0300 Subject: [PATCH] Remove comment --- programs/sbf/rust/invoke/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/programs/sbf/rust/invoke/src/lib.rs b/programs/sbf/rust/invoke/src/lib.rs index 49bf2c5855478a..f4506943bcb328 100644 --- a/programs/sbf/rust/invoke/src/lib.rs +++ b/programs/sbf/rust/invoke/src/lib.rs @@ -1482,8 +1482,6 @@ fn process_instruction<'a>( #[cfg(feature = "dynamic-frames")] // When we have dynamic frames, the stack grows from the higher addresses, so we // compare from zero until the beginning of a function frame. - // We have 64 * 4096 = 262.144 bytes of stack space, and we consider around 2 * 4096 - // already used by the current function and previous calls. { const ZEROED_BYTES_LENGTH: usize = (MAX_CALL_DEPTH - 2) * STACK_FRAME_SIZE; assert_eq!(sol_memcmp(stack, &ZEROS, ZEROED_BYTES_LENGTH), 0);