-
Notifications
You must be signed in to change notification settings - Fork 352
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
feat!: remove namespace and share version from MsgPayForBlobs
#2930
feat!: remove namespace and share version from MsgPayForBlobs
#2930
Conversation
WalkthroughWalkthroughThe overarching change involves the removal of Changes
Assessment against linked issues
The code changes align with the objectives of the linked issue, as they remove the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChat with CodeRabbit Bot (
|
Ready for review but I don't plan on merging until @evan-forbes is back and has time to review. |
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.
yikes, big-oof on us leaving these in. 🙈
left a comment below, but I think we will also need some if statements for versioning
string signer = 1; | ||
// namespaces is a list of namespaces that the blobs are associated with. A | ||
// namespace is a byte slice of length 29 where the first byte is the | ||
// namespaceVersion and the subsequent 28 bytes are the namespaceId. | ||
repeated bytes namespaces = 2; | ||
// 2 was previously used for namespaces. | ||
reserved 2; | ||
// blob_sizes is a list of blob sizes (one per blob). Each size is in bytes. | ||
repeated uint32 blob_sizes = 3; | ||
// share_commitments is a list of share commitments (one per blob). | ||
repeated bytes share_commitments = 4; | ||
// share_versions are the versions of the share format that the blobs | ||
// associated with this message should use when included in a block. The | ||
// share_versions specified must match the share_versions used to generate the | ||
// share_commitment in this message. | ||
repeated uint32 share_versions = 8; | ||
// 8 was previously used for share_versions; | ||
reserved 8; | ||
} |
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.
blocking
since this is breaking, do we need to create a v2 of the proto msg?
I think #2932 (comment) makes sense, and we might have to add an intermediate type to convert between v1 and v2 so that we don't have to have an extra copy of the logic to execute the msg.
Yea good point. Going to close this PR and leave the issue open b/c I think it's prob safe to introduce a new type like |
Closes #2932
Notes for reviewers