Skip to content

Commit

Permalink
allow no blob to be found, return nil so it doesnt stop inexing
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Apr 25, 2024
1 parent 7bc6b78 commit 59df0e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/blobstorage/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package indexer
import (
"context"
"crypto/sha256"
"errors"
"math/big"
"sync"
"time"
Expand Down Expand Up @@ -332,5 +331,10 @@ func (i *Indexer) storeBlob(ctx context.Context, event *taikol1.TaikoL1BlockProp
}
}

return errors.New("BLOB not found")
slog.Warn("no blob found",
"slot", slot,
"emittedIn", event.Raw.BlockNumber,
)

return nil
}

0 comments on commit 59df0e1

Please sign in to comment.