-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add eigenDA client protos #306
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fn main() { | ||
tonic_build::configure() | ||
.build_server(false) | ||
.out_dir("src/") | ||
.compile_protos(&["proto/disperser/disperser.proto"], &["proto"]) | ||
.unwrap(); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
syntax = "proto3"; | ||
package common; | ||
option go_package = "github.com/Layr-Labs/eigenda/api/grpc/common"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this go package? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added the proto files just to know where the compiled code comes from. |
||
|
||
message G1Commitment { | ||
// The X coordinate of the KZG commitment. This is the raw byte representation of the field element. | ||
bytes x = 1; | ||
// The Y coordinate of the KZG commitment. This is the raw byte representation of the field element. | ||
bytes y = 2; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prost
is available as aworkspace
dependency.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the prost version used workspace wide is older than the one required for tonic. I added a comment explaining that