Skip to content

Commit

Permalink
fix(tests): add terminating op to tstore eof variant test (#831)
Browse files Browse the repository at this point in the history
The runtime code of the TSTORE test is not valid EOF, it requires a
terminating instruction.

Signed-off-by: Danno Ferrin <[email protected]>
  • Loading branch information
shemnon authored Sep 24, 2024
1 parent b035ad3 commit 0767d80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0767d80

Please sign in to comment.