diff --git a/api/docs/disperser_v2.html b/api/docs/disperser_v2.html index 168ceeaf09..2435d12a47 100644 --- a/api/docs/disperser_v2.html +++ b/api/docs/disperser_v2.html @@ -780,7 +780,7 @@

SignedBatch

BlobStatus

-

BlobStatus represents the status of a blob.

The status of a blob is updated as the blob is processed by the disperser.

The status of a blob can be queried by the client using the GetBlobStatus API.

Intermediate states are states that the blob can be in while being processed, and it can be updated to a differet state:

- QUEUED

- ENCODED

Terminal states are states that will not be updated to a different state:

- CERTIFIED

- FAILED

- INSUFFICIENT_SIGNATURES

+

BlobStatus represents the status of a blob.

The status of a blob is updated as the blob is processed by the disperser.

The status of a blob can be queried by the client using the GetBlobStatus API.

Intermediate states are states that the blob can be in while being processed, and it can be updated to a differet state:

- QUEUED

- ENCODED

Terminal states are states that will not be updated to a different state:

- CERTIFIED

- FAILED

@@ -814,15 +814,7 @@

BlobStatus

- - - - - - - + diff --git a/api/docs/disperser_v2.md b/api/docs/disperser_v2.md index 7c02307bc5..4a52f3ccb8 100644 --- a/api/docs/disperser_v2.md +++ b/api/docs/disperser_v2.md @@ -285,7 +285,6 @@ Intermediate states are states that the blob can be in while being processed, an Terminal states are states that will not be updated to a different state: - CERTIFIED - FAILED -- INSUFFICIENT_SIGNATURES | Name | Number | Description | | ---- | ------ | ----------- | @@ -293,8 +292,7 @@ Terminal states are states that will not be updated to a different state: | QUEUED | 1 | QUEUED means that the blob has been queued by the disperser for processing | | ENCODED | 2 | ENCODED means that the blob has been encoded and is ready to be dispersed to DA Nodes | | CERTIFIED | 3 | CERTIFIED means the blob has been dispersed and attested by the DA nodes | -| FAILED | 4 | FAILED means that the blob has failed permanently (for reasons other than insufficient signatures, which is a separate state) | -| INSUFFICIENT_SIGNATURES | 5 | INSUFFICIENT_SIGNATURES means that the confirmation threshold for the blob was not met for at least one quorum. | +| FAILED | 4 | FAILED means that the blob has failed permanently | diff --git a/api/docs/eigenda-protos.html b/api/docs/eigenda-protos.html index 7ffceec025..168b8699db 100644 --- a/api/docs/eigenda-protos.html +++ b/api/docs/eigenda-protos.html @@ -2443,7 +2443,7 @@

SignedBatch

BlobStatus

-

BlobStatus represents the status of a blob.

The status of a blob is updated as the blob is processed by the disperser.

The status of a blob can be queried by the client using the GetBlobStatus API.

Intermediate states are states that the blob can be in while being processed, and it can be updated to a differet state:

- QUEUED

- ENCODED

Terminal states are states that will not be updated to a different state:

- CERTIFIED

- FAILED

- INSUFFICIENT_SIGNATURES

+

BlobStatus represents the status of a blob.

The status of a blob is updated as the blob is processed by the disperser.

The status of a blob can be queried by the client using the GetBlobStatus API.

Intermediate states are states that the blob can be in while being processed, and it can be updated to a differet state:

- QUEUED

- ENCODED

Terminal states are states that will not be updated to a different state:

- CERTIFIED

- FAILED

NameNumberDescription
FAILED 4

FAILED means that the blob has failed permanently (for reasons other than insufficient -signatures, which is a separate state)

INSUFFICIENT_SIGNATURES5

INSUFFICIENT_SIGNATURES means that the confirmation threshold for the blob was not met -for at least one quorum.

FAILED means that the blob has failed permanently

@@ -2477,15 +2477,7 @@

BlobStatus

- - - - - - - + diff --git a/api/docs/eigenda-protos.md b/api/docs/eigenda-protos.md index fa357e9df0..1e9b61912f 100644 --- a/api/docs/eigenda-protos.md +++ b/api/docs/eigenda-protos.md @@ -986,7 +986,6 @@ Intermediate states are states that the blob can be in while being processed, an Terminal states are states that will not be updated to a different state: - CERTIFIED - FAILED -- INSUFFICIENT_SIGNATURES | Name | Number | Description | | ---- | ------ | ----------- | @@ -994,8 +993,7 @@ Terminal states are states that will not be updated to a different state: | QUEUED | 1 | QUEUED means that the blob has been queued by the disperser for processing | | ENCODED | 2 | ENCODED means that the blob has been encoded and is ready to be dispersed to DA Nodes | | CERTIFIED | 3 | CERTIFIED means the blob has been dispersed and attested by the DA nodes | -| FAILED | 4 | FAILED means that the blob has failed permanently (for reasons other than insufficient signatures, which is a separate state) | -| INSUFFICIENT_SIGNATURES | 5 | INSUFFICIENT_SIGNATURES means that the confirmation threshold for the blob was not met for at least one quorum. | +| FAILED | 4 | FAILED means that the blob has failed permanently | diff --git a/api/grpc/disperser/v2/disperser_v2.pb.go b/api/grpc/disperser/v2/disperser_v2.pb.go index cca3e75dea..ffbfb3c178 100644 --- a/api/grpc/disperser/v2/disperser_v2.pb.go +++ b/api/grpc/disperser/v2/disperser_v2.pb.go @@ -31,7 +31,6 @@ const ( // Terminal states are states that will not be updated to a different state: // - CERTIFIED // - FAILED -// - INSUFFICIENT_SIGNATURES type BlobStatus int32 const ( @@ -42,12 +41,8 @@ const ( BlobStatus_ENCODED BlobStatus = 2 // CERTIFIED means the blob has been dispersed and attested by the DA nodes BlobStatus_CERTIFIED BlobStatus = 3 - // FAILED means that the blob has failed permanently (for reasons other than insufficient - // signatures, which is a separate state) + // FAILED means that the blob has failed permanently BlobStatus_FAILED BlobStatus = 4 - // INSUFFICIENT_SIGNATURES means that the confirmation threshold for the blob was not met - // for at least one quorum. - BlobStatus_INSUFFICIENT_SIGNATURES BlobStatus = 5 ) // Enum value maps for BlobStatus. @@ -58,15 +53,13 @@ var ( 2: "ENCODED", 3: "CERTIFIED", 4: "FAILED", - 5: "INSUFFICIENT_SIGNATURES", } BlobStatus_value = map[string]int32{ - "UNKNOWN": 0, - "QUEUED": 1, - "ENCODED": 2, - "CERTIFIED": 3, - "FAILED": 4, - "INSUFFICIENT_SIGNATURES": 5, + "UNKNOWN": 0, + "QUEUED": 1, + "ENCODED": 2, + "CERTIFIED": 3, + "FAILED": 4, } ) @@ -1125,41 +1118,39 @@ var file_disperser_v2_disperser_v2_proto_rawDesc = []byte{ 0x69, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x75, - 0x73, 0x61, 0x67, 0x65, 0x2a, 0x6a, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x61, 0x67, 0x65, 0x2a, 0x4d, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x53, 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, - 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x53, 0x10, 0x05, - 0x32, 0xf2, 0x02, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x12, 0x54, - 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x21, - 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x69, - 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1f, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, - 0x2e, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x70, - 0x6c, 0x79, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, - 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, - 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x64, - 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x62, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, - 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x61, 0x79, - 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x64, 0x69, 0x73, 0x70, - 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6d, - 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x22, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x69, - 0x67, 0x65, 0x6e, 0x64, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x64, - 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x44, 0x10, 0x04, 0x32, 0xf2, 0x02, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, + 0x72, 0x12, 0x54, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x42, 0x6c, 0x6f, + 0x62, 0x12, 0x21, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x2e, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x62, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, + 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x64, 0x69, 0x73, 0x70, + 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x23, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, + 0x6c, 0x6f, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x64, + 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/proto/disperser/v2/disperser_v2.proto b/api/proto/disperser/v2/disperser_v2.proto index a9425249de..3038fef7e8 100644 --- a/api/proto/disperser/v2/disperser_v2.proto +++ b/api/proto/disperser/v2/disperser_v2.proto @@ -99,7 +99,6 @@ message GetPaymentStateReply { // Terminal states are states that will not be updated to a different state: // - CERTIFIED // - FAILED -// - INSUFFICIENT_SIGNATURES enum BlobStatus { UNKNOWN = 0; @@ -112,13 +111,8 @@ enum BlobStatus { // CERTIFIED means the blob has been dispersed and attested by the DA nodes CERTIFIED = 3; - // FAILED means that the blob has failed permanently (for reasons other than insufficient - // signatures, which is a separate state) + // FAILED means that the blob has failed permanently FAILED = 4; - - // INSUFFICIENT_SIGNATURES means that the confirmation threshold for the blob was not met - // for at least one quorum. - INSUFFICIENT_SIGNATURES = 5; } // SignedBatch is a batch of blobs with a signature. diff --git a/disperser/common/v2/blob.go b/disperser/common/v2/blob.go index 11bf8ff136..b87cca90cc 100644 --- a/disperser/common/v2/blob.go +++ b/disperser/common/v2/blob.go @@ -15,7 +15,6 @@ const ( Encoded Certified Failed - InsufficientSignatures ) func (s BlobStatus) String() string { @@ -28,8 +27,6 @@ func (s BlobStatus) String() string { return "Certified" case Failed: return "Failed" - case InsufficientSignatures: - return "InsufficientSignatures" default: return "Unknown" } @@ -45,8 +42,6 @@ func (s BlobStatus) ToProfobuf() pb.BlobStatus { return pb.BlobStatus_CERTIFIED case Failed: return pb.BlobStatus_FAILED - case InsufficientSignatures: - return pb.BlobStatus_INSUFFICIENT_SIGNATURES default: return pb.BlobStatus_UNKNOWN } @@ -62,8 +57,6 @@ func BlobStatusFromProtobuf(s pb.BlobStatus) (BlobStatus, error) { return Certified, nil case pb.BlobStatus_FAILED: return Failed, nil - case pb.BlobStatus_INSUFFICIENT_SIGNATURES: - return InsufficientSignatures, nil default: return 0, fmt.Errorf("unknown blob status: %v", s) }
NameNumberDescription
FAILED 4

FAILED means that the blob has failed permanently (for reasons other than insufficient -signatures, which is a separate state)

INSUFFICIENT_SIGNATURES5

INSUFFICIENT_SIGNATURES means that the confirmation threshold for the blob was not met -for at least one quorum.

FAILED means that the blob has failed permanently