From 96dc6a9162b9c8f3ad8b8edf791b0e26e00055a5 Mon Sep 17 00:00:00 2001 From: trocher <43437004+trocher@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:53:52 +0200 Subject: [PATCH] apply suggestion regarding dummy_bytes --- tests/functional/builtins/codegen/test_create_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/builtins/codegen/test_create_functions.py b/tests/functional/builtins/codegen/test_create_functions.py index 401b8ab4f6..97c24f4eb9 100644 --- a/tests/functional/builtins/codegen/test_create_functions.py +++ b/tests/functional/builtins/codegen/test_create_functions.py @@ -964,7 +964,7 @@ def __init__(arg: uint256): initcode = bytes.fromhex(out["bytecode"].removeprefix("0x")) runtime = bytes.fromhex(out["bytecode_runtime"].removeprefix("0x")) - dummy_bytes = bytes([2] * (len(initcode) + length_offset)) + dummy_bytes = b"\x02" * (len(initcode) + length_offset) deployer_code = f""" x:DynArray[Bytes[1024],1]