Commit a63f2fd7 authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

fix: pass through env var now for builder_signing_tx_key (#207)

fixes MEV params post
https://github.com/kurtosis-tech/eth-network-package/pull/128
parent fbe6c004
......@@ -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",
......
......@@ -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):
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment