-
Notifications
You must be signed in to change notification settings - Fork 132
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: add option to disable CL #373
Conversation
I think this PR could be made a lot more simple. You probably can do the checks if the CL image is set to If CL img is set to null, then don't spin it up, else do. |
Could you add the aura config into examples/aura.yaml instead of network config? |
Please run |
@gr8h Thanks for the contribution - some notes
|
Actually cl_client_type being null is probably better, the image being set to null is not logical indeed. |
Okay, Make sense. |
@barnabasbusa one thing i noticed is that the |
yes it is. As its supposed to be extra arguments to a sane default, which would mean that the operation is append, not a find and replace. |
Will nethermind be able to take the later values? |
I had to change chainspecs path in the |
I'm still a bit confused about what you are trying to do here - el_client_type: nethermind
el_client_image: nethermind/nethermind:latest
el_extra_params:
- --config=/nethermind/configs/validator.cfg
- --Init.ChainSpecPath=/nethermind/chainspec/chainspec.json
beacon_extra_params: []
validator_extra_params: []
builder_network_params: null
validator_count: null
snooper_enabled: false
ethereum_metrics_exporter_enabled: false
count: 1 But nowhere here did you define that you want to set the cl_client_type to null if you don't define some parameter, then the defaults will be used Also I'm fairly sure that nethermind:latest is not deneb ready, so why are you triggering deneb on fork 4 wait_for_finalization is not something thats working anymore also you don't have to define the commands that are default false like wait_for_finalization: false
global_client_log_level: info
snooper_enabled: false
ethereum_metrics_exporter_enabled: false
parallel_keystore_generation: false so maybe you want your config to look something like this: participants:
- el_client_type: nethermind
el_client_image: nethermind/nethermind:latest
el_extra_params:
- --config=/nethermind/configs/validator.cfg
- --Init.ChainSpecPath=/nethermind/chainspec/chainspec.json
cl_client_type: null
validator_count: 0
- el_client_type: nethermind
el_client_image: nethermind/nethermind:latest
el_extra_params:
- --config=/nethermind/configs/node.cfg
- --Init.ChainSpecPath=/nethermind/chainspec/chainspec.json
cl_client_type: null
validator_count: 0
count: 2
additional_services:
- tx_spammer
- prometheus_grafana however, without any validators what kind of consensus mechanism you plan to be using? I see that you have mentioned that Aura consensus mechanism. I'm sorry but I haven't heard of that. Would you be open to creating an "aura-package" instead of trying to add a different consensus mechanism to ethereum-package (which only has ethereum consensus mechanism). I've ran a test with this config, and as expected, we no longer support non validating nodes.
|
Add a feature to disable the Consensus Layer (CL)/Beacon node, useful for scenarios where only the Execution Layer (EL) client is needed.
Use Case:
Supporting Aura consensus from Nethermind with an EL client only.