From 2db1c0ae5c6cde13a17a9e8eff72058fec750e84 Mon Sep 17 00:00:00 2001 From: danceratopz Date: Wed, 29 May 2024 22:23:00 +0200 Subject: [PATCH] fix(rlp): fix indexing in block rlp filenames --- tests_consume/test_via_rlp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests_consume/test_via_rlp.py b/tests_consume/test_via_rlp.py index 1578c23590..d74089983d 100644 --- a/tests_consume/test_via_rlp.py +++ b/tests_consume/test_via_rlp.py @@ -136,7 +136,7 @@ def client_files( - Keys are the target file paths in the client's docker container, and, - Values are in-memory buffered file objects. """ - files = {f"/blocks/{i:04d}.rlp": block_rlp for i, block_rlp in enumerate(buffered_blocks_rlp)} + files = {f"/blocks/{i + 1:04d}.rlp": rlp for i, rlp in enumerate(buffered_blocks_rlp)} files["/genesis.json"] = buffered_genesis return files