From 0767d80e83c67dc9b4c99289daba771f13917e36 Mon Sep 17 00:00:00 2001 From: Danno Ferrin Date: Tue, 24 Sep 2024 02:26:05 -0600 Subject: [PATCH] fix(tests): add terminating op to tstore eof variant test (#831) The runtime code of the TSTORE test is not valid EOF, it requires a terminating instruction. Signed-off-by: Danno Ferrin --- tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py b/tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py index 1e8f16ad30..0b3d560b8e 100644 --- a/tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py +++ b/tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py @@ -47,7 +47,7 @@ def test_tstore_clear_after_deployment_tx( code: Optional[Container | Initcode] = None if evm_code_type == EVMCodeType.EOF_V1: code = Container.Init( - deploy_container=Container.Code(deploy_code), initcode_prefix=init_code + deploy_container=Container.Code(deploy_code + Op.STOP), initcode_prefix=init_code ) else: code = Initcode(deploy_code=deploy_code, initcode_prefix=init_code)