Skip to content

Commit 5acdc9f

Browse files
committed
linter
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent d52d458 commit 5acdc9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/zkevm/test_worst_compute.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@ def test_worst_precompile_fixed_cost(
385385
concatenated_hex_string = "".join(parameters_str)
386386
concatenated_bytes = bytes.fromhex(concatenated_hex_string)
387387
elif all(isinstance(p, (bytes, BytesConcatenation)) for p in parameters):
388-
parameters_bytes_list = [bytes(p) for p in parameters]
388+
parameters_bytes_list = [
389+
bytes(p) for p in cast(list[BytesConcatenation | bytes], parameters)
390+
]
389391
concatenated_bytes = b"".join(parameters_bytes_list)
390392
else:
391393
raise TypeError(

0 commit comments

Comments
 (0)