-
Notifications
You must be signed in to change notification settings - Fork 949
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(modshare): implement GetRow #4002
base: main
Are you sure you want to change the base?
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.
Generally LGTM
Co-authored-by: Hlib Kanunnikov <[email protected]>
2114715
to
1d0a582
Compare
@@ -0,0 +1 @@ | |||
{"x-token": "cdb1b3af1f4f7d841e948ed4a62cae4d4c1ee722"} |
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.
?
const odsSize = 8 | ||
eds := edstest.RandEDS(t, odsSize) | ||
for rowIdx := 0; rowIdx < odsSize*2; rowIdx++ { | ||
for _, side := range []RowSide{Left, 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.
add Both
@@ -150,6 +150,10 @@ func (sg *Getter) GetSamples(context.Context, *header.ExtendedHeader, []shwap.Sa | |||
return nil, fmt.Errorf("getter/shrex: GetShare %w", shwap.ErrOperationNotSupported) | |||
} | |||
|
|||
func (sg *Getter) GetRow(_ context.Context, _ *header.ExtendedHeader, _ int) (shwap.Row, error) { | |||
return shwap.Row{}, fmt.Errorf("getter/shrex: GetShare %w", shwap.ErrOperationNotSupported) |
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.
s/GetShare/GetRow
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.
Realized that this needs a Swamp test
closes #3981