Skip to content

Commit b4bf2ae

Browse files
internal/ethapi: comment
1 parent 38d1d12 commit b4bf2ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/ethapi/transaction_args.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ func (args *TransactionArgs) setBlobTxSidecar(ctx context.Context, config sideca
307307
return fmt.Errorf("number of blobs and commitments mismatch (have=%d, want=%d)", len(args.Commitments), n)
308308
}
309309
proofLen := n
310+
// if V0: len(blobs) == len(proofs)
311+
// if V1: len(blobs) == len(proofs) * 128
310312
if config.blobSidecarVersion == types.BlobSidecarVersion1 {
311313
proofLen = n * kzg4844.CellProofsPerBlob
312314
}

0 commit comments

Comments
 (0)