diff --git a/miner/worker.go b/miner/worker.go index 7943b61bb8..b480e91e21 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -394,10 +394,18 @@ func (miner *Miner) commitTransactions(env *environment, plainTxs, blobTxs *tran // Make sure all transactions after osaka have cell proofs if miner.chainConfig.IsOsaka(env.header.Number, env.header.Time) { if sidecar := tx.BlobTxSidecar(); sidecar != nil { - if len(sidecar.Blobs) != len(sidecar.Proofs)*kzg4844.CellProofsPerBlob { - log.Warn("Ignoring V1 blob transaction post-Osaka", "hash", ltx.Hash) - txs.Pop() - continue + if sidecar.Version == 0 { + log.Warn("Encountered Version 0 transaction post-Osaka, recompute proofs", "hash", ltx.Hash) + sidecar.Proofs = make([]kzg4844.Proof, 0) + for _, blob := range sidecar.Blobs { + cellProofs, err := kzg4844.ComputeCells(&blob) + if err != nil { + panic(err) + } + sidecar.Proofs = append(sidecar.Proofs, cellProofs...) + } + //txs.Pop() + //continue } } }