Skip to content

Commit

Permalink
fix: pass through env var now for builder_signing_tx_key (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y committed Sep 20, 2023
1 parent fbe6c00 commit a63f2fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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

0 comments on commit a63f2fd

Please sign in to comment.