Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix: remove hardcoded key from geth (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Sep 5, 2023
1 parent 30d2ccf commit 260abff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/el/geth/geth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ shared_utils = import_module("github.com/kurtosis-tech/eth-network-package/share
input_parser = import_module("github.com/kurtosis-tech/eth-network-package/package_io/input_parser.star")
el_client_context = import_module("github.com/kurtosis-tech/eth-network-package/src/el/el_client_context.star")
el_admin_node_info = import_module("github.com/kurtosis-tech/eth-network-package/src/el/el_admin_node_info.star")
genesis_constants = import_module("github.com/kurtosis-tech/eth-network-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star")

package_io = import_module("github.com/kurtosis-tech/eth-network-package/package_io/constants.star")

Expand Down Expand Up @@ -151,7 +152,7 @@ def get_config(
# TODO productize a way to send custom env variables
if BUILDER_IMAGE_STR in image:
env_vars = {
"BUILDER_TX_SIGNING_KEY": "0xef5177cd0b6b21c87db5a0bf35d4084a8a57a9d6a064f86d51ac85f2b873a4e2"
"BUILDER_TX_SIGNING_KEY": "0x" + genesis_constants.PRE_FUNDED_ACCOUNTS[0].private_key
}

accounts_to_unlock_str = ",".join(account_addresses_to_unlock)
Expand Down

0 comments on commit 260abff

Please sign in to comment.