Skip to content
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 kzgpad util for using grpcurl to test eigenda #459

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

teddyknox
Copy link
Contributor

Why are these changes needed?

4844 encoding validation breaks naive grpcurl commands. This new CLI command can be used in combination with grpcurl to properly encode inputs, e.g.

grpcurl -proto ./api/proto/disperser/disperser.proto -import-path ./api/proto -d '{"data": "'$(tools/kzgpad/bin/kzgpad -e hello)'"}' disperser-holesky.eigenda.xyz:443 disperser.Disperser/DisperseBlob

Testing

I've tested this like this:

$ echo "hello" | go run tools/encoding-cli/cmd/main.go -e - | go run tools/encoding-cli/cmd/main.go -d -
hello

Copy link
Contributor

@jianoaix jianoaix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making it easier for users to send requests

Copy link
Contributor

@ian-shim ian-shim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are the submodule changes intended?

@teddyknox
Copy link
Contributor Author

@ian-shim nope... updated.

@teddyknox teddyknox requested a review from jianoaix April 8, 2024 22:19
@teddyknox teddyknox requested a review from ian-shim April 8, 2024 22:58
@jianoaix jianoaix merged commit 45982f4 into Layr-Labs:master Apr 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants