Skip to content

Conversation

@rjl493456442
Copy link
Member

@rjl493456442 rjl493456442 commented Jul 15, 2025

The main purpose of this change is to enforce the version setting when constructing
the blobSidecar, avoiding creating sidecar with wrong/default version tag.

if err != nil {
// TODO @rjl @marius we should return an error
log.Info("Failed to get cell proof", "err", err)
return nil, nil
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure it's the correct way to return the error in engine API. @lightclient @MariusVanDerWijden please check it out

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InvalidParams is probably the most correct in this case

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, much cleaner than before

miner/worker.go Outdated
if err := sidecar.ToV1(); err != nil {
txs.Shift()
txs.Pop()
log.Info("Failed to recompute cell proofs", "hash", ltx.Hash, "err", err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be a warn or an error, it means that we have transactions in our blobpool that we can't turn into V1 transactions, thus someone could fill up the pool with invalid/non-mineable transaction

@fjl fjl removed the status:triage label Jul 15, 2025
@rjl493456442 rjl493456442 merged commit 0dacfef into ethereum:master Jul 17, 2025
4 of 8 checks passed
@rjl493456442 rjl493456442 added this to the 1.16.2 milestone Jul 17, 2025
howjmay pushed a commit to iotaledger/go-ethereum that referenced this pull request Aug 27, 2025
The main purpose of this change is to enforce the version setting when
constructing the blobSidecar, avoiding creating sidecar with wrong/default 
version tag.
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Sep 11, 2025
The main purpose of this change is to enforce the version setting when
constructing the blobSidecar, avoiding creating sidecar with wrong/default 
version tag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants