-
Notifications
You must be signed in to change notification settings - Fork 21
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
base: main
Are you sure you want to change the base?
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.
@@ -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).
@@ -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
I attempted to address #66 with this PR. @ferranbt please lmk if any changes need to be done