-
Notifications
You must be signed in to change notification settings - Fork 238
docs: add minimum symbols to proto api explanation #1211
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
Conversation
@@ -29,6 +29,8 @@ message DisperseBlobRequest { | |||
// The blob to be dispersed. | |||
// | |||
// The size of this byte array may be any size as long as it does not exceed the maximum length of 16MiB. | |||
// While there is no minimum size, the blob size charged against the payment method will be rounded up to | |||
// the nearest multiple of `minNumSymbols` defined by the payment vault contract (https://github.com/Layr-Labs/eigenda/blob/1430d56258b4e814b388e497320fd76354bfb478/contracts/src/payments/PaymentVaultStorage.sol#L9). | |||
// (In the future, the 16MiB limit may be increased, but this is not guaranteed to happen.) |
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.
Drop this line?
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.
// (In the future, the 16MiB limit may be increased, but this is not guaranteed to happen.)
is this not true anymore?
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.
removed the line but still curious
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.
Just not quite useful to mention a "maybe" future that doesn't have any specifics at the API.
When we actually increase it, we'll announce it loud and clear anyway (and update this documentation).
@@ -29,6 +29,8 @@ message DisperseBlobRequest { | |||
// The blob to be dispersed. | |||
// | |||
// The size of this byte array may be any size as long as it does not exceed the maximum length of 16MiB. | |||
// While there is no minimum size, the blob size charged against the payment method will be rounded up to |
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.
Can it be 0? len(blob)>0 is required right?
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.
you are right, fixed the sentence
Why are these changes needed?
Checks