Skip to content

Commit

Permalink
Merge pull request #2186 from OffchainLabs/NIT-2113-das-no-4844
Browse files Browse the repository at this point in the history
Disable EIP-4844 blob posting when another DAS is enabled
  • Loading branch information
Tristan-Wilson authored Mar 14, 2024
2 parents d1b4201 + 116d23f commit ef2766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbnode/batch_poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ func (b *BatchPoster) maybePostSequencerBatch(ctx context.Context) (bool, error)
}
var use4844 bool
config := b.config()
if config.Post4844Blobs && latestHeader.ExcessBlobGas != nil && latestHeader.BlobGasUsed != nil {
if config.Post4844Blobs && b.daWriter == nil && latestHeader.ExcessBlobGas != nil && latestHeader.BlobGasUsed != nil {
arbOSVersion, err := b.arbOSVersionGetter.ArbOSVersionForMessageNumber(arbutil.MessageIndex(arbmath.SaturatingUSub(uint64(batchPosition.MessageCount), 1)))
if err != nil {
return false, err
Expand Down

0 comments on commit ef2766d

Please sign in to comment.