Skip to content

Commit

Permalink
Update v2 blob statuses (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-shim authored Jan 31, 2025
1 parent b5e3c8b commit d7fb87f
Show file tree
Hide file tree
Showing 23 changed files with 348 additions and 180 deletions.
4 changes: 2 additions & 2 deletions api/clients/v2/payload_disperser.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (pd *PayloadDisperser) pollBlobStatusUntilCertified(
case <-ctx.Done():
return nil, fmt.Errorf(
"timed out waiting for %v blob status, final status was %v: %w",
dispgrpc.BlobStatus_CERTIFIED.Descriptor(),
dispgrpc.BlobStatus_COMPLETE.Descriptor(),
previousStatus.Descriptor(),
ctx.Err())
case <-ticker.C:
Expand All @@ -237,7 +237,7 @@ func (pd *PayloadDisperser) pollBlobStatusUntilCertified(

// TODO: we'll need to add more in-depth response status processing to derive failover errors
switch newStatus {
case dispgrpc.BlobStatus_CERTIFIED:
case dispgrpc.BlobStatus_COMPLETE:
return blobStatusReply, nil
case dispgrpc.BlobStatus_QUEUED, dispgrpc.BlobStatus_ENCODED:
continue
Expand Down
35 changes: 22 additions & 13 deletions api/docs/disperser_v2.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 7 additions & 9 deletions api/docs/disperser_v2.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 22 additions & 13 deletions api/docs/eigenda-protos.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d7fb87f

Please sign in to comment.