Skip to content

Commit 30144fd

Browse files
authored
fix(tests): fix invalid log opcode keyword 7702 fails (#1856)
* fix(tests): fix invalid kwarg fails in 7702 `test_set_code_to_log` * docs: update and fix changelog
1 parent ab891c9 commit 30144fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prague/eip7702_set_code_tx/test_set_code_txs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,9 +2496,9 @@ def test_set_code_to_log(
24962496
sender = pre.fund_eoa()
24972497

24982498
log_kwargs = {}
2499-
if "topic_1" not in log_opcode.kwargs:
2499+
if "topic_1" in log_opcode.kwargs:
25002500
log_kwargs["topic_1"] = 1
2501-
if "topic_2" not in log_opcode.kwargs:
2501+
if "topic_2" in log_opcode.kwargs:
25022502
log_kwargs["topic_2"] = 2
25032503
if "topic_3" in log_opcode.kwargs:
25042504
log_kwargs["topic_3"] = 3

0 commit comments

Comments
 (0)