From d8acc169180a44ddff5abcaa48d51889b38b79ca Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Tue, 11 Jun 2024 15:12:09 +0530 Subject: [PATCH] rename: KzgCell --> Cell --- beacon_chain/spec/eip7594_helpers.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon_chain/spec/eip7594_helpers.nim b/beacon_chain/spec/eip7594_helpers.nim index 1e9505c7d..bc09fdebf 100644 --- a/beacon_chain/spec/eip7594_helpers.nim +++ b/beacon_chain/spec/eip7594_helpers.nim @@ -78,7 +78,7 @@ proc compute_extended_matrix* (blobs: seq[KzgBlob]): Result[ExtendedMatrix, cstr ok(extended_matrix) # https://github.com/ethereum/consensus-specs/blob/5f48840f4d768bf0e0a8156a3ed06ec333589007/specs/_features/eip7594/das-core.md#recover_matrix -proc recover_matrix*(cells_dict: Table[(BlobIndex, CellID), KzgCell], blobCount: uint64): Result[ExtendedMatrix, cstring] = +proc recover_matrix*(cells_dict: Table[(BlobIndex, CellID), Cell], blobCount: uint64): Result[ExtendedMatrix, cstring] = # This helper demonstrates how to apply recover_all_cells # The data structure for storing cells is implementation-dependent @@ -94,7 +94,7 @@ proc recover_matrix*(cells_dict: Table[(BlobIndex, CellID), KzgCell], blobCount: if blIdx == blobIndex: cellIds.add(cellId) - var cells: seq[KzgCell] + var cells: seq[Cell] for cellId in cellIds: var interim_key = (BlobIndex(blobIndex), cellId) @@ -130,7 +130,7 @@ proc get_data_column_sidecars*(signed_block: deneb.SignedBeaconBlock, blobs: seq let blobCount = blobs.len var - cells: seq[seq[KzgCell]] + cells: seq[seq[Cell]] proofs: seq[seq[KzgProof]] for i in 0..