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

Commit

Permalink
test: fix condition expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou committed Sep 4, 2024
1 parent 44c6539 commit 01a23d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/kakarot/instructions/test_memory_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def test_should_copy_a_value_from_memory(
dst_offset_mcopy=int_to_uint256(dst_offset_mcopy),
)
memory_init_state_expansion = memory_init_state + [0] * (
dst_offset_mcopy + size_mcopy - len(memory_init_state)
max(src_offset_mcopy, dst_offset_mcopy)
+ size_mcopy
- len(memory_init_state)
)
segment_to_copy = memory_init_state_expansion[
dst_offset_mcopy : dst_offset_mcopy + size_mcopy
Expand Down

0 comments on commit 01a23d1

Please sign in to comment.