Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

chore: remove redundant words in comment #1656

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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 cairo/kakarot-ssj/crates/evm/src/stack.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl StackImpl of StackTrait {
///
/// # Errors
///
/// If the stack length is less than than N, returns with a StackUnderflow error.
/// If the stack length is less than N, returns with a StackUnderflow error.
fn pop_n(ref self: Stack, mut n: usize) -> Result<Array<u256>, EVMError> {
ensure(!(n > self.len()), EVMError::StackUnderflow)?;
let mut popped_items = ArrayTrait::<u256>::new();
Expand Down
2 changes: 1 addition & 1 deletion cairo_zero/tests/src/kakarot/test_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_should_return_max_expansion_cost(
)

# If the memory expansion is greater than 2**27 words of 32 bytes
# We saturate it to the hardcoded value corresponding the the gas cost of a 2**32 memory size
# We saturate it to the hardcoded value corresponding to the gas cost of a 2**32 memory size
expected_saturated = (
memory_cost_u32
if (words_len * 32 + expansion.expand_by) >= 2**32
Expand Down
Loading