Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove redundant words in comment #1656

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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