-
Notifications
You must be signed in to change notification settings - Fork 25
Add bootnode component for EL and CL nodes. #99
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
Thanks for contributing! Ferran is out of office at the moment and will be back next week. |
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
internal/components.go
Outdated
@@ -253,6 +254,7 @@ func (r *RethEL) Run(svc *service, ctx *ExContext) { | |||
"--ipcpath", "{{.Dir}}/reth.ipc", | |||
"--addr", "127.0.0.1", | |||
"--port", `{{Port "rpc" 30303}}`, | |||
"--bootnodes", "enode://"+defaultDiscoveryEnodeID+"@bootnode:30301", |
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 cannot hardcode any service name (bootnode
in this case).
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.
hey @ferranbt! do i take it from commandline args? and only the service name? the port and enode ID will be like this right?
@@ -49,18 +53,33 @@ func (l *L1Recipe) Artifacts() *ArtifactsBuilder { | |||
return builder | |||
} | |||
|
|||
func (m *Manifest) AddServiceWithDeps(name string, service Service, deps ...string) { |
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.
Dependencies are mostly defined at the components level, not at the recipe.
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.
Added some comments
265aeff
to
c91c6c0
Compare
@ferranbt can you please check now if the changes look good? |
Hey, appreciate your work here. I am going to follow up the work myself here #147 because there are too many layers. This was not a correct "Good first issue". |
I attempted to address #66 with this PR. @ferranbt please lmk if any changes need to be done