From bc6ec978e4c5223043bc8a132dcaf52fed9402c7 Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Thu, 5 Dec 2024 04:18:38 +0700 Subject: [PATCH] fix ODA-01: 4844 override bug fix --- arbnode/batch_poster.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index 5a2ab45c6..9b2a82a65 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -1516,6 +1516,13 @@ func (b *BatchPoster) maybePostSequencerBatch(ctx context.Context) (bool, error) } } + // blob is successfully dipsersed to EigenDA w/ 4844 as a supported failover + // batch posting destination. Disable 4844 so encodeAddBatch will use + // EigenDA's blob info. + if b.building.useEigenDA && eigenDADispersed && b.building.use4844 { + b.building.use4844 = false + } + if b.dapWriter != nil && !eigenDADispersed { if !b.redisLock.AttemptLock(ctx) { return false, errAttemptLockFailed