Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: lvyaoting <[email protected]>
  • Loading branch information
lvyaoting committed Dec 6, 2024
1 parent 5a67ae1 commit 302983c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 302983c

Please sign in to comment.