From 1025e36a1d12cd06bb82f3200d405e88c5daa800 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 17 Jan 2025 15:16:51 +0800 Subject: [PATCH] fix: index should be list of 8 integers --- src/steps/da.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/da.py b/src/steps/da.py index 98e587f..f3e6123 100644 --- a/src/steps/da.py +++ b/src/steps/da.py @@ -5,7 +5,7 @@ from src.steps.common import StepsCommon def prepare_dispersal_data(data): data_bytes = data.encode("utf-8") - dispersal_data = {"data": list(data_bytes), "metadata": {"app_id": [1] + [0] * 31, "index": 0}} + dispersal_data = {"data": list(data_bytes), "metadata": {"app_id": [1] + [0] * 31, "index": [0] * 8}} return dispersal_data