-
Notifications
You must be signed in to change notification settings - Fork 925
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(share): Supplying eds.Store
to bridge and full nodes
#1363
feat(share): Supplying eds.Store
to bridge and full nodes
#1363
Conversation
d94806c
to
7a71515
Compare
EDSStore
to bridge and full nodeseds.Store
to bridge and full nodes
687816d
to
b8ee7c3
Compare
b8ee7c3
to
0edd8ee
Compare
…ling ctx on start correctly
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.
very nice overriding storepath w tempdir :)
Codecov Report
@@ Coverage Diff @@
## main #1363 +/- ##
=======================================
Coverage 56.02% 56.02%
=======================================
Files 188 188
Lines 11551 11561 +10
=======================================
+ Hits 6471 6477 +6
- Misses 4443 4447 +4
Partials 637 637
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
LGTM. One nit and another general comment with actionable issue
fd65644
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.
LGTM. Can you make an FS issue?
PULL REQUEST
Overview
This PR is based on #1232 and closes #1114. It supplies bridge and full nodes with an instance of EDSStore. The base path is provided by FX from
nodebuilder.Store
through a string alias.It also fixes a bug that occurred when initializing the eds.Store twice, where the directories already existed. I have swapped MkDir out for MkDirAll, which does not err if the directory already exists.
No test modifications are done, but the Lifecycle tests would fail if it were to fail building or not be able to provide the EDSStore to the nodes.
Checklist