-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore!: break out BlobTx and IndexWrapper types into separate tx package #97
Conversation
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.
Do we also want to move the proto definitions for BlobTx and IndexWrapper from proto/blob/v1/blob.proto
to something like proto/tx/blobtx.proto
and proto/tx/indexwrapper.proto
@@ -7,8 +7,10 @@ | |||
Package | Description | |||
----------|--------------------------------------------------------------------------------------------------------------------- | |||
inclusion | Package inclusion contains functions to generate the blob share commitment from a given blob. | |||
proto | Package contains proto definitions and go generated code |
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.
[question] does this proto package actually exist? It looks like the proto definition for BlobTx and IndexWrapper are still inside proto/blob/v1
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.
put another way: there is no Go package named proto
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.
No but here is generated code in the proto directory and that's what I was referring to. I'm happy to remove it
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.
I thought this list was just Go packages but I can see an argument for expanding this list to all directories and not just Go packages
Yeah it seems more logical to separate them but we don't need to |
While updating
celestia-app
, it felt out of place that BlobTx and IndexWrapper should be part of theshares
package. This moves them out