-
Notifications
You must be signed in to change notification settings - Fork 971
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
share: Availability interface and implementation #171
Conversation
16956e1
to
1bb2126
Compare
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.
👍🏻
9c1e2b8
to
69f9ba9
Compare
Extracted flaky test fixing commits into celestiaorg/celestia-app#1639 |
…umns; fix flakyness; rename testheper to proper name
Co-authored-by: rene <[email protected]>
Co-authored-by: rene <[email protected]>
Co-authored-by: rene <[email protected]>
Co-authored-by: rene <[email protected]>
Co-authored-by: rene <[email protected]>
69f9ba9
to
65555ef
Compare
…n test and reduce flakiness
be4c40b
to
7523c68
Compare
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.
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.
lfg
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.
Joining too late to the party. Saw this was already merged 💪🏼
func Share(lc fx.Lifecycle, dag ipld.DAGService) share.Service { | ||
service := share.NewService(dag) | ||
func Share(ctx context.Context, lc fx.Lifecycle, dag ipld.DAGService) share.Service { | ||
avail := share.NewLightAvailability(merkledag.NewSession(fxutil.WithLifecycle(ctx, lc), dag)) |
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.
Wondering if we should not directly use the fxutil.WithLifecycle(ctx, lc)
as a param instead?
getter format.NodeGetter | ||
} | ||
|
||
// NewLightAvailability creates a new Light DataAvailability. |
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.
~~What is a Light DataAvailability?~~NVM, just saw the comment on top of lightAvailability
. The comment here is still somewaht confusing imo.
Content
share
package with a newAvailability
interface to checkSharesAvailable