mirror of
https://github.com/logos-co/nomos-e2e-tests.git
synced 2025-02-24 04:08:08 +00:00
fix: convert string into list of bytes
This commit is contained in:
parent
b424456225
commit
0eac80fc57
@ -4,7 +4,8 @@ from src.steps.common import StepsCommon
|
||||
|
||||
|
||||
def prepare_dispersal_data(data):
|
||||
dispersal_data = {"data": data, "metadata": {"app_id": 10, "index": 0}}
|
||||
data_bytes = data.encode("utf-8")
|
||||
dispersal_data = {"data": list(data_bytes), "metadata": {"app_id": 10, "index": 0}}
|
||||
return dispersal_data
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user