diff --git a/op-service/txmgr/txmgr.go b/op-service/txmgr/txmgr.go index 88013632b5b5..1f5265070414 100644 --- a/op-service/txmgr/txmgr.go +++ b/op-service/txmgr/txmgr.go @@ -229,6 +229,11 @@ func (m *SimpleTxManager) send(ctx context.Context, candidate TxCandidate) (*typ m.l.Warn("unable to create blob commitment to celestia", "err", err) return nil, err } + err = m.daClient.Header.SyncWait(ctx) + if err != nil { + m.l.Warn("unable to wait for celestia header sync", "err", err) + return nil, err + } height, err := m.daClient.Blob.Submit(ctx, []*blob.Blob{dataBlob}) if err != nil { m.l.Warn("unable to publish tx to celestia", "err", err)