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

fix: pass through env var now for builder_signing_tx_key #207

Merged
merged 4 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ To configure the package behaviour, you can modify your `network_params.json` fi
// A list of optional extra params that will be passed to the EL client container for modifying its behaviour
"el_extra_params": [],

// A list of optional extra env_vars the el container should spin up with
"el_extra_env_vars": {},

// The type of CL client that should be started
// Valid values are "nimbus", "lighthouse", "lodestar", "teku", and "prysm"
"cl_client_type": "lighthouse",
Expand Down
2 changes: 2 additions & 0 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ATTR_TO_BE_SKIPPED_AT_ROOT = ("network_params", "participants", "mev_params")

package_io_constants = import_module("github.com/kurtosis-tech/eth-network-package/package_io/constants.star")
package_io_parser = import_module("github.com/kurtosis-tech/eth-network-package/package_io/input_parser.star")
genesis_constants = import_module("github.com/kurtosis-tech/eth-network-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star")


def parse_input(plan, input_args):
Expand Down Expand Up @@ -151,6 +152,7 @@ def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_typ
"--miner.extradata=\"Illuminate Dmocratize Dstribute\"",
"--builder.algotype=greedy"
] + parsed_arguments_dict["mev_params"]["mev_builder_extra_args"],
"el_extra_env_vars": {"BUILDER_TX_SIGNING_KEY": "0x" + genesis_constants.PRE_FUNDED_ACCOUNTS[0].private_key},
"validator_extra_params": ["--builder-proposals"],
"builder_network_params": None
}
Expand Down