Skip to content
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

missing builder_proposals flag for lighthouse #63

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions stakewise_cli/commands/sync_validator_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def sync_validator_keys(
web3signer_url=web3signer_url,
default_fee_recipient=default_fee_recipient,
solo_fee_mapping=solo_fee_mapping,
proposal_builder_enabled=proposal_builder_enabled,
)
with open(join(output_dir, LIGHTHOUSE_CONFIG_FILENAME), "w") as f:
f.write(lighthouse_config)
Expand Down Expand Up @@ -138,6 +139,7 @@ def _generate_lighthouse_config(
web3signer_url: str,
default_fee_recipient: str,
solo_fee_mapping: Dict[str, str],
proposal_builder_enabled: bool
) -> str:
"""
Generate config for Lighthouse clients
Expand All @@ -151,6 +153,7 @@ def _generate_lighthouse_config(
"suggested_fee_recipient": solo_fee_mapping.get(
public_key, default_fee_recipient
),
"builder_proposals": proposal_builder_enabled,
}
for public_key in public_keys
]
Expand Down