From 0e4fc984ef662f9d7c869d6e2d0f64901d2625e1 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Sat, 20 Apr 2024 02:16:19 +0100 Subject: [PATCH] Remove unused return value (#3704) --- specs/_features/eip7594/polynomial-commitments-sampling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/_features/eip7594/polynomial-commitments-sampling.md b/specs/_features/eip7594/polynomial-commitments-sampling.md index 1a50b0078..d8f21f0c6 100644 --- a/specs/_features/eip7594/polynomial-commitments-sampling.md +++ b/specs/_features/eip7594/polynomial-commitments-sampling.md @@ -525,7 +525,7 @@ def construct_vanishing_polynomial(missing_cell_ids: Sequence[CellID]) -> Tuple[ else: # cell_id in cell_ids assert all(a != 0 for a in zero_poly_eval_brp[start:end]) - return zero_poly_coeff, zero_poly_eval, zero_poly_eval_brp + return zero_poly_coeff, zero_poly_eval ``` ### `recover_shifted_data` @@ -624,7 +624,7 @@ def recover_all_cells(cell_ids: Sequence[CellID], cells = [bytes_to_cell(cell_bytes) for cell_bytes in cells_bytes] missing_cell_ids = [cell_id for cell_id in range(CELLS_PER_EXT_BLOB) if cell_id not in cell_ids] - zero_poly_coeff, zero_poly_eval, zero_poly_eval_brp = construct_vanishing_polynomial(missing_cell_ids) + zero_poly_coeff, zero_poly_eval = construct_vanishing_polynomial(missing_cell_ids) eval_shifted_extended_evaluation, eval_shifted_zero_poly, shift_inv = recover_shifted_data( cell_ids,