Skip to content

Commit 0d95113

Browse files
authored
chore(tests): fix pre alloc phase for deposit test (#1749)
* chore(tests): fix pre alloc phase for deposit test * chore(tests): fix
1 parent 1a8c885 commit 0d95113

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

tests/prague/eip6110_deposits/test_modified_contract.py

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,25 +71,42 @@
7171

7272

7373
@pytest.mark.parametrize(
74-
"include_deposit_event",
74+
"include_deposit_event,extra_event_type",
7575
[
7676
pytest.param(
7777
True,
78+
"transfer_log",
7879
marks=pytest.mark.pre_alloc_group(
79-
"deposit_extra_logs_with_event",
80+
"deposit_extra_logs_with_event_transfer",
8081
reason="Deposit contract with Transfer log AND deposit event",
8182
),
8283
),
84+
pytest.param(
85+
True,
86+
"no_topics",
87+
marks=pytest.mark.pre_alloc_group(
88+
"deposit_extra_logs_with_event_no_topics",
89+
reason="Deposit contract with no-topics log AND deposit event",
90+
),
91+
),
8392
pytest.param(
8493
False,
94+
"transfer_log",
8595
marks=pytest.mark.pre_alloc_group(
86-
"deposit_extra_logs_no_event",
96+
"deposit_extra_logs_no_event_transfer",
8797
reason="Deposit contract with Transfer log NO deposit event",
8898
),
8999
),
100+
pytest.param(
101+
False,
102+
"no_topics",
103+
marks=pytest.mark.pre_alloc_group(
104+
"deposit_extra_logs_no_event_no_topics",
105+
reason="Deposit contract with no-topics log NO deposit event",
106+
),
107+
),
90108
],
91109
)
92-
@pytest.mark.parametrize("extra_event_type", ["transfer_log", "no_topics"])
93110
def test_extra_logs(
94111
blockchain_test: BlockchainTestFiller,
95112
pre: Alloc,

0 commit comments

Comments
 (0)