Skip to content

Commit adf5648

Browse files
authored
Fix incorrect ordering of row_index/column_index (#4764)
This incorrect ordering was confusing and can cause clients to implement wrongly the following functions. According to the structure, `row_index` should be the 4th parameter.
1 parent 3d21bad commit adf5648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs/fulu/das-core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def compute_matrix(blobs: Sequence[Blob]) -> Sequence[MatrixEntry]:
152152
MatrixEntry(
153153
cell=cell,
154154
kzg_proof=proof,
155-
row_index=blob_index,
156155
column_index=cell_index,
156+
row_index=blob_index,
157157
)
158158
)
159159
return matrix
@@ -181,8 +181,8 @@ def recover_matrix(
181181
MatrixEntry(
182182
cell=cell,
183183
kzg_proof=proof,
184-
row_index=blob_index,
185184
column_index=cell_index,
185+
row_index=blob_index,
186186
)
187187
)
188188
return matrix

0 commit comments

Comments
 (0)