Skip to content

Commit 240e626

Browse files
committed
conversion: add test case for empty-code with non-empty storage non-partial conversion
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent c4bb35b commit 240e626

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/verkle/eip7748/accounts.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def __init__(self, code_length: int, storage_slot_count: int):
6161
AccountConfig(5, 2),
6262
AccountConfig(8, 1),
6363
],
64+
[AccountConfig(0, stride - 1)],
6465
],
6566
ids=[
6667
"EOA",
@@ -74,15 +75,16 @@ def __init__(self, code_length: int, storage_slot_count: int):
7475
"Contract and EOA perfect-fit",
7576
"Contract and Contract under-fit",
7677
"Contract and Contract perfect-fit",
78+
"Empty code with storage slots perfect-fit",
7779
],
7880
)
7981
@pytest.mark.parametrize(
8082
"fill_first_block",
81-
[False, True],
83+
[True, False],
8284
)
8385
@pytest.mark.parametrize(
8486
"fill_last_block",
85-
[False, True],
87+
[True, False],
8688
)
8789
def test_non_partial(
8890
blockchain_test: BlockchainTestFiller,

0 commit comments

Comments
 (0)