Skip to content

Commit 0bbd4f6

Browse files
committed
eip7748: fixes and more cases
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent 88c37f1 commit 0bbd4f6

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

tests/verkle/eip7748/accounts.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,23 @@ def __init__(self, code_length: int, storage_slot_count: int):
5050
@pytest.mark.parametrize(
5151
"account_configs",
5252
[
53-
[AccountConfig(0, 0)],
54-
[AccountConfig(0, 0), AccountConfig(0, 0)],
53+
# [AccountConfig(0, 0)],
54+
# [AccountConfig(0, 0), AccountConfig(0, 0)],
5555
[AccountConfig(0, 0), AccountConfig(0, 0), AccountConfig(0, 0)],
56+
# [AccountConfig(15, 1)],
5657
],
5758
ids=[
58-
"One EOA",
59-
"Two EOAs",
59+
# "One EOA",
60+
# "Two EOAs",
6061
"Three EOAs",
62+
# "Small contract"
6163
],
6264
)
6365
@pytest.mark.parametrize(
6466
"fill_first_block, stride",
6567
[
6668
(False, 3),
67-
(True, 3),
69+
# (True, 3),
6870
],
6971
)
7072
def test_conversions(
@@ -91,10 +93,10 @@ def test_conversions(
9193

9294
pre_state[accounts[i]] = Account(
9395
balance=100 + 1000 * i,
94-
code=Op.STOP * account_config.code_length,
96+
code=Op.JUMPDEST * account_config.code_length,
9597
storage=storage,
9698
)
97-
conversion_units += 1 + math.ceil(account_config.code_length / 31) + len(storage)
99+
conversion_units += 1 + math.ceil(account_config.code_length / 31)
98100

99101
_state_conversion(blockchain_test, pre_state, stride, math.ceil(conversion_units / stride))
100102

0 commit comments

Comments
 (0)