Skip to content

Commit

Permalink
apply suggestion regarding dummy_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
trocher committed Oct 22, 2024
1 parent 1982adf commit 96dc6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/builtins/codegen/test_create_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 96dc6a9

Please sign in to comment.