Skip to content

Commit

Permalink
Made suggested changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Jan 15, 2025
1 parent 4558e55 commit 0366e2c
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 15 deletions.
3 changes: 1 addition & 2 deletions api/docs/disperser_v2.html

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

2 changes: 1 addition & 1 deletion api/docs/disperser_v2.md

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

9 changes: 6 additions & 3 deletions api/docs/eigenda-protos.html

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

4 changes: 2 additions & 2 deletions api/docs/eigenda-protos.md

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

6 changes: 5 additions & 1 deletion api/docs/node_v2.html

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

2 changes: 1 addition & 1 deletion api/docs/node_v2.md

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

1 change: 0 additions & 1 deletion api/grpc/disperser/v2/disperser_v2.pb.go

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

12 changes: 10 additions & 2 deletions api/grpc/node/v2/node_v2_grpc.pb.go

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

1 change: 0 additions & 1 deletion api/proto/disperser/v2/disperser_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ message GetPaymentStateRequest {
// The ID of the account being queried. This account ID is an eth wallet address of the user.
string account_id = 1;
// Signature over the account ID
// TODO: sign over a reservation period or a nonce to mitigate signature replay attacks
bytes signature = 2;
}

Expand Down
6 changes: 5 additions & 1 deletion api/proto/node/v2/node_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ option go_package = "github.com/Layr-Labs/eigenda/api/grpc/node/v2";

// Dispersal is utilized to disperse chunk data.
service Dispersal {
// StoreChunks stores a batch of chunks on the Node.
// StoreChunks instructs the validator to store a batch of chunks. This call blocks until the validator
// either acquires the chunks or the validator determines that it is unable to acquire the chunks. If
// the validator is able to acquire and validate the chunks, it returns a signature over the batch header.
// This RPC describes which chunks the validator should store but does not contain that chunk data. The validator
// is expected to fetch the chunk data from one of the relays that is in possession of the chunk.
rpc StoreChunks(StoreChunksRequest) returns (StoreChunksReply) {}
// GetNodeInfo fetches metadata about the node.
rpc GetNodeInfo(GetNodeInfoRequest) returns (GetNodeInfoReply) {}
Expand Down

0 comments on commit 0366e2c

Please sign in to comment.