We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d52d458 commit 5acdc9fCopy full SHA for 5acdc9f
tests/zkevm/test_worst_compute.py
@@ -385,7 +385,9 @@ def test_worst_precompile_fixed_cost(
385
concatenated_hex_string = "".join(parameters_str)
386
concatenated_bytes = bytes.fromhex(concatenated_hex_string)
387
elif all(isinstance(p, (bytes, BytesConcatenation)) for p in parameters):
388
- parameters_bytes_list = [bytes(p) for p in parameters]
+ parameters_bytes_list = [
389
+ bytes(p) for p in cast(list[BytesConcatenation | bytes], parameters)
390
+ ]
391
concatenated_bytes = b"".join(parameters_bytes_list)
392
else:
393
raise TypeError(
0 commit comments