Skip to content

Commit

Permalink
verkle: enable sub-tests with partial witness charging
Browse files Browse the repository at this point in the history
  • Loading branch information
jsign committed Sep 20, 2024
1 parent aa1c8ae commit d0e104e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/verkle/eip4762_verkle_gas_witness/test_contract_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,16 @@ def code_with_jumps(size, jumps: list[Jump | Jumpi] = []):
21000 + 200 + 10 + 3 + 3,
[[0, 0]],
),
# ( # sufficient_gas_for_jump_instruction_but_not_for_code_chunk
# code_with_jumps(150 * 31, [Jump(10, 1000)]),
# 21000 + 200 + 10 + 3 + 8,
# [[0, 0]],
# ),
# ( # sufficient_gas_for_jumpi_instruction_but_not_for_code_chunk
# code_with_jumps(150 * 31, [Jumpi(10, 1000, True)]),
# 21000 + 200 + 10 + 3 + 3 + 10,
# [[0, 0]],
# ),
( # sufficient_gas_for_jump_instruction_but_not_for_code_chunk
code_with_jumps(150 * 31, [Jump(10, 1000)]),
21000 + 200 + 10 + 3 + 8,
[[0, 0]],
),
( # sufficient_gas_for_jumpi_instruction_but_not_for_code_chunk
code_with_jumps(150 * 31, [Jumpi(10, 1000, True)]),
21000 + 200 + 10 + 3 + 3 + 10,
[[0, 0]],
),
( # jump_outside_code_size
code_with_jumps(150 * 31, [Jump(10, 150 * 31 + 42)]),
1_000_000,
Expand Down Expand Up @@ -204,8 +204,8 @@ def code_with_jumps(size, jumps: list[Jump | Jumpi] = []):
"false_jumpi",
"insufficient_gas_for_jump_instruction",
"insufficient_gas_for_jumpi_instruction",
# "sufficient_gas_for_jump_instruction_but_not_for_code_chunk", # TODO(verkle): re-enable when fixing in geth
# "sufficient_gas_for_jumpi_instruction_but_not_for_code_chunk",# TODO(verkle): re-enable when fixing in geth
"sufficient_gas_for_jump_instruction_but_not_for_code_chunk",
"sufficient_gas_for_jumpi_instruction_but_not_for_code_chunk",
"jump_outside_code_size",
"jumpi_outside_code_size",
"push20_with_data_split_in_two_chunks",
Expand Down

0 comments on commit d0e104e

Please sign in to comment.