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

Protobufs for the relay #803

Merged
merged 4 commits into from
Oct 28, 2024
Merged

Conversation

cody-littley
Copy link
Contributor

Why are these changes needed?

This PR adds protobufs for the relay. WIP.

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • I've checked the new test coverage and the coverage percentage didn't drop.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@cody-littley cody-littley self-assigned this Oct 11, 2024
Signed-off-by: Cody Littley <[email protected]>
@cody-littley cody-littley marked this pull request as ready for review October 15, 2024 16:35
// The chunk requested.
common.ChunkData chunk = 1;
// The error that occurred while trying to fetch a blob or chunks.
enum RelayError {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we make the RelayError class a combination of an enum field + a string field for error message? Having error message will be helpful for 1) providing detailed error message, 2) representing more granular errors within error code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. Done.

@cody-littley cody-littley merged commit 57647ef into Layr-Labs:master Oct 28, 2024
7 checks passed
@cody-littley cody-littley deleted the relay-proto branch October 28, 2024 13:55
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.

2 participants