From 35be9b4895ed3bd932cf81f487783368949339f8 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Mon, 9 Dec 2024 16:33:58 +0000 Subject: [PATCH 1/2] fix(tests): Fix `test_all_opcodes.py` --- tests/frontier/opcodes/test_all_opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontier/opcodes/test_all_opcodes.py b/tests/frontier/opcodes/test_all_opcodes.py index e2e91886969..b86b68c26f4 100644 --- a/tests/frontier/opcodes/test_all_opcodes.py +++ b/tests/frontier/opcodes/test_all_opcodes.py @@ -100,7 +100,7 @@ def test_cover_revert(state_test: StateTestFiller, pre: Alloc): sender=pre.fund_eoa(), gas_limit=1_000_000, data=Op.SSTORE(1, 1) + Op.REVERT, - to=b"", + to=None, value=0, protected=False, ) From dd68e6bb1286b52da5da3507ab55474b165ad1d6 Mon Sep 17 00:00:00 2001 From: Dimitry Kh Date: Mon, 9 Dec 2024 19:47:40 +0100 Subject: [PATCH 2/2] revert(0,0) --- tests/frontier/opcodes/test_all_opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontier/opcodes/test_all_opcodes.py b/tests/frontier/opcodes/test_all_opcodes.py index b86b68c26f4..329602eb6b8 100644 --- a/tests/frontier/opcodes/test_all_opcodes.py +++ b/tests/frontier/opcodes/test_all_opcodes.py @@ -99,7 +99,7 @@ def test_cover_revert(state_test: StateTestFiller, pre: Alloc): tx = Transaction( sender=pre.fund_eoa(), gas_limit=1_000_000, - data=Op.SSTORE(1, 1) + Op.REVERT, + data=Op.SSTORE(1, 1) + Op.REVERT(0, 0), to=None, value=0, protected=False,