Skip to content

Commit

Permalink
force miner to push blob data into sidecar chan
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <pranay.valson@gmail.com>
  • Loading branch information
noslav committed Mar 27, 2024
1 parent 6968553 commit 935f3fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ func (env *environment) copy() *environment {
cpy.sidecars = make([]*types.BlobTxSidecar, len(env.sidecars))
copy(cpy.sidecars, env.sidecars)

go func() {
types.BlobTxSidecarChan <- &types.BlobTxSidecarData{
Sidecar: env.sidecars,
BlockNumber: env.header.Number,
}
}()

return cpy
}

Expand Down

0 comments on commit 935f3fb

Please sign in to comment.