diff --git a/main.star b/main.star index d1daea8dc..fd87e9d28 100644 --- a/main.star +++ b/main.star @@ -1,59 +1,33 @@ -parse_input = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) +parse_input = import_module("./src/package_io/parse_input.star") -participant_network = import_module( - "github.com/kurtosis-tech/ethereum-package/src/participant_network.star" -) +participant_network = import_module("./src/participant_network.star") -static_files = import_module( - "github.com/kurtosis-tech/ethereum-package/src/static_files/static_files.star" -) +static_files = import_module("./src/static_files/static_files.star") genesis_constants = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star" + "./src/prelaunch_data_generator/genesis_constants/genesis_constants.star" ) transaction_spammer = import_module( - "github.com/kurtosis-tech/ethereum-package/src/transaction_spammer/transaction_spammer.star" -) -blob_spammer = import_module( - "github.com/kurtosis-tech/ethereum-package/src/blob_spammer/blob_spammer.star" -) -cl_forkmon = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl_forkmon/cl_forkmon_launcher.star" -) -el_forkmon = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el_forkmon/el_forkmon_launcher.star" + "./src/transaction_spammer/transaction_spammer.star" ) +blob_spammer = import_module("./src/blob_spammer/blob_spammer.star") +cl_forkmon = import_module("./src/cl_forkmon/cl_forkmon_launcher.star") +el_forkmon = import_module("./src/el_forkmon/el_forkmon_launcher.star") beacon_metrics_gazer = import_module( - "github.com/kurtosis-tech/ethereum-package/src/beacon_metrics_gazer/beacon_metrics_gazer_launcher.star" -) -dora = import_module( - "github.com/kurtosis-tech/ethereum-package/src/dora/dora_launcher.star" + "./src/beacon_metrics_gazer/beacon_metrics_gazer_launcher.star" ) +dora = import_module("./src/dora/dora_launcher.star") full_beaconchain_explorer = import_module( - "github.com/kurtosis-tech/ethereum-package/src/full_beaconchain/full_beaconchain_launcher.star" -) -prometheus = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prometheus/prometheus_launcher.star" -) -grafana = import_module( - "github.com/kurtosis-tech/ethereum-package/src/grafana/grafana_launcher.star" -) -mev_boost_launcher_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/mev_boost/mev_boost_launcher.star" -) -mock_mev_launcher_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/mock_mev/mock_mev_launcher.star" -) -mev_relay_launcher_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/mev_relay/mev_relay_launcher.star" -) -mev_flood_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/mev_flood/mev_flood_launcher.star" + "./src/full_beaconchain/full_beaconchain_launcher.star" ) +prometheus = import_module("./src/prometheus/prometheus_launcher.star") +grafana = import_module("./src/grafana/grafana_launcher.star") +mev_boost_launcher_module = import_module("./src/mev_boost/mev_boost_launcher.star") +mock_mev_launcher_module = import_module("./src/mock_mev/mock_mev_launcher.star") +mev_relay_launcher_module = import_module("./src/mev_relay/mev_relay_launcher.star") +mev_flood_module = import_module("./src/mev_flood/mev_flood_launcher.star") mev_custom_flood_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/mev_custom_flood/mev_custom_flood_launcher.star" + "./src/mev_custom_flood/mev_custom_flood_launcher.star" ) GRAFANA_USER = "admin" diff --git a/src/beacon_metrics_gazer/beacon_metrics_gazer_launcher.star b/src/beacon_metrics_gazer/beacon_metrics_gazer_launcher.star index 3345eb833..7bdac3342 100644 --- a/src/beacon_metrics_gazer/beacon_metrics_gazer_launcher.star +++ b/src/beacon_metrics_gazer/beacon_metrics_gazer_launcher.star @@ -1,9 +1,5 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -prometheus = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prometheus/prometheus_launcher.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") +prometheus = import_module("../prometheus/prometheus_launcher.star") SERVICE_NAME = "beacon-metrics-gazer" diff --git a/src/cl/lighthouse/lighthouse_launcher.star b/src/cl/lighthouse/lighthouse_launcher.star index c39fa9867..abef27861 100644 --- a/src/cl/lighthouse/lighthouse_launcher.star +++ b/src/cl/lighthouse/lighthouse_launcher.star @@ -1,19 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -cl_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_client_context.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) - -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +cl_client_context = import_module("../../cl/cl_client_context.star") +node_metrics = import_module("../../node_metrics_info.star") + +package_io = import_module("../../package_io/constants.star") LIGHTHOUSE_BINARY_COMMAND = "lighthouse" diff --git a/src/cl/lodestar/lodestar_launcher.star b/src/cl/lodestar/lodestar_launcher.star index 8f74ee0f3..c0f557197 100644 --- a/src/cl/lodestar/lodestar_launcher.star +++ b/src/cl/lodestar/lodestar_launcher.star @@ -1,22 +1,10 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -cl_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_client_context.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -cl_node_ready_conditions = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_node_ready_conditions.star" -) - -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +cl_client_context = import_module("../../cl/cl_client_context.star") +node_metrics = import_module("../../node_metrics_info.star") +cl_node_ready_conditions = import_module("../../cl/cl_node_ready_conditions.star") + +package_io = import_module("../../package_io/constants.star") GENESIS_DATA_MOUNT_DIRPATH_ON_SERVICE_CONTAINER = "/genesis" # ---------------------------------- Beacon client ------------------------------------- diff --git a/src/cl/nimbus/nimbus_launcher.star b/src/cl/nimbus/nimbus_launcher.star index 828710337..e4a61aaaa 100644 --- a/src/cl/nimbus/nimbus_launcher.star +++ b/src/cl/nimbus/nimbus_launcher.star @@ -1,22 +1,10 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -cl_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_client_context.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -cl_node_ready_conditions = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_node_ready_conditions.star" -) - -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +cl_client_context = import_module("../../cl/cl_client_context.star") +node_metrics = import_module("../../node_metrics_info.star") +cl_node_ready_conditions = import_module("../../cl/cl_node_ready_conditions.star") + +package_io = import_module("../../package_io/constants.star") GENESIS_DATA_MOUNTPOINT_ON_CLIENT = "/genesis-data" diff --git a/src/cl/prysm/prysm_launcher.star b/src/cl/prysm/prysm_launcher.star index 096e06a83..dd78b7f1f 100644 --- a/src/cl/prysm/prysm_launcher.star +++ b/src/cl/prysm/prysm_launcher.star @@ -1,21 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -cl_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_client_context.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -cl_node_ready_conditions = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_node_ready_conditions.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +cl_client_context = import_module("../../cl/cl_client_context.star") +node_metrics = import_module("../../node_metrics_info.star") +cl_node_ready_conditions = import_module("../../cl/cl_node_ready_conditions.star") +package_io = import_module("../../package_io/constants.star") IMAGE_SEPARATOR_DELIMITER = "," EXPECTED_NUM_IMAGES = 2 diff --git a/src/cl/teku/teku_launcher.star b/src/cl/teku/teku_launcher.star index a2dcebd97..f8e1fd998 100644 --- a/src/cl/teku/teku_launcher.star +++ b/src/cl/teku/teku_launcher.star @@ -1,22 +1,10 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -cl_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_client_context.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -cl_node_ready_conditions = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/cl_node_ready_conditions.star" -) - -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +cl_client_context = import_module("../../cl/cl_client_context.star") +node_metrics = import_module("../../node_metrics_info.star") +cl_node_ready_conditions = import_module("../../cl/cl_node_ready_conditions.star") + +package_io = import_module("../../package_io/constants.star") TEKU_BINARY_FILEPATH_IN_IMAGE = "/opt/teku/bin/teku" diff --git a/src/cl_forkmon/cl_forkmon_launcher.star b/src/cl_forkmon/cl_forkmon_launcher.star index 888726e72..334e9c988 100644 --- a/src/cl_forkmon/cl_forkmon_launcher.star +++ b/src/cl_forkmon/cl_forkmon_launcher.star @@ -1,6 +1,4 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") SERVICE_NAME = "cl-forkmon" diff --git a/src/dora/dora_launcher.star b/src/dora/dora_launcher.star index 960f3be28..44cc9427f 100644 --- a/src/dora/dora_launcher.star +++ b/src/dora/dora_launcher.star @@ -1,6 +1,4 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") SERVICE_NAME = "dora" diff --git a/src/el/besu/besu_launcher.star b/src/el/besu/besu_launcher.star index e55e2ae3d..4b496eb20 100644 --- a/src/el/besu/besu_launcher.star +++ b/src/el/besu/besu_launcher.star @@ -1,21 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +el_client_context = import_module("../../el/el_client_context.star") +el_admin_node_info = import_module("../../el/el_admin_node_info.star") +node_metrics = import_module("../../node_metrics_info.star") +package_io = import_module("../../package_io/constants.star") # The dirpath of the execution data directory on the client container EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER = "/opt/besu/execution-data" diff --git a/src/el/erigon/erigon_launcher.star b/src/el/erigon/erigon_launcher.star index f71d2e238..957681077 100644 --- a/src/el/erigon/erigon_launcher.star +++ b/src/el/erigon/erigon_launcher.star @@ -1,22 +1,10 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) - -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +el_admin_node_info = import_module("../../el/el_admin_node_info.star") +el_client_context = import_module("../../el/el_client_context.star") + +node_metrics = import_module("../../node_metrics_info.star") +package_io = import_module("../../package_io/constants.star") # The dirpath of the execution data directory on the client container EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER = "/home/erigon/execution-data" diff --git a/src/el/ethereumjs/ethereumjs_launcher.star b/src/el/ethereumjs/ethereumjs_launcher.star index 3d42b486d..08c3acb90 100644 --- a/src/el/ethereumjs/ethereumjs_launcher.star +++ b/src/el/ethereumjs/ethereumjs_launcher.star @@ -1,22 +1,10 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) - -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../..//package_io/parse_input.star") +el_client_context = import_module("../../el/el_client_context.star") +el_admin_node_info = import_module("../../el/el_admin_node_info.star") + +node_metrics = import_module("../../node_metrics_info.star") +package_io = import_module("../../package_io/constants.star") RPC_PORT_NUM = 8545 diff --git a/src/el/geth/geth_launcher.star b/src/el/geth/geth_launcher.star index c1085a601..e64bfdd5a 100644 --- a/src/el/geth/geth_launcher.star +++ b/src/el/geth/geth_launcher.star @@ -1,25 +1,13 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +el_client_context = import_module("../../el/el_client_context.star") +el_admin_node_info = import_module("../../el/el_admin_node_info.star") genesis_constants = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star" + "../../prelaunch_data_generator/genesis_constants/genesis_constants.star" ) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +node_metrics = import_module("../../node_metrics_info.star") +package_io = import_module("../../package_io/constants.star") RPC_PORT_NUM = 8545 diff --git a/src/el/nethermind/nethermind_launcher.star b/src/el/nethermind/nethermind_launcher.star index 6d18aee1c..5cb77c87e 100644 --- a/src/el/nethermind/nethermind_launcher.star +++ b/src/el/nethermind/nethermind_launcher.star @@ -1,22 +1,10 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) - -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +el_client_context = import_module("../../el/el_client_context.star") +el_admin_node_info = import_module("../../el/el_admin_node_info.star") + +node_metrics = import_module("../../node_metrics_info.star") +package_io = import_module("../../package_io/constants.star") # The dirpath of the execution data directory on the client container EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER = "/execution-data" diff --git a/src/el/reth/reth_launcher.star b/src/el/reth/reth_launcher.star index 1caa9858e..6b4058d4a 100644 --- a/src/el/reth/reth_launcher.star +++ b/src/el/reth/reth_launcher.star @@ -1,21 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) -node_metrics = import_module( - "github.com/kurtosis-tech/ethereum-package/src/node_metrics_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") +input_parser = import_module("../../package_io/parse_input.star") +el_client_context = import_module("../../el/el_client_context.star") +el_admin_node_info = import_module("../../el/el_admin_node_info.star") +node_metrics = import_module("../../node_metrics_info.star") +package_io = import_module("../../package_io/constants.star") RPC_PORT_NUM = 8545 diff --git a/src/el_forkmon/el_forkmon_launcher.star b/src/el_forkmon/el_forkmon_launcher.star index 0f5c6204b..908fb71df 100644 --- a/src/el_forkmon/el_forkmon_launcher.star +++ b/src/el_forkmon/el_forkmon_launcher.star @@ -1,6 +1,4 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") SERVICE_NAME = "el-forkmon" diff --git a/src/full_beaconchain/full_beaconchain_launcher.star b/src/full_beaconchain/full_beaconchain_launcher.star index 18473d8cb..375ec0313 100644 --- a/src/full_beaconchain/full_beaconchain_launcher.star +++ b/src/full_beaconchain/full_beaconchain_launcher.star @@ -1,6 +1,4 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") IMAGE_NAME = "gobitfly/eth2-beaconchain-explorer:kurtosis" POSTGRES_PORT_ID = "postgres" diff --git a/src/grafana/grafana_launcher.star b/src/grafana/grafana_launcher.star index 3d83533a0..8712e5006 100644 --- a/src/grafana/grafana_launcher.star +++ b/src/grafana/grafana_launcher.star @@ -1,9 +1,5 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -static_files = import_module( - "github.com/kurtosis-tech/ethereum-package/src/static_files/static_files.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") +static_files = import_module("../static_files/static_files.star") SERVICE_NAME = "grafana" diff --git a/src/mev_boost/mev_boost_launcher.star b/src/mev_boost/mev_boost_launcher.star index 5d3a7c7f8..e7585bb95 100644 --- a/src/mev_boost/mev_boost_launcher.star +++ b/src/mev_boost/mev_boost_launcher.star @@ -1,12 +1,6 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -mev_boost_context_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/mev_boost/mev_boost_context.star" -) -parse_input = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") +mev_boost_context_module = import_module("../mev_boost/mev_boost_context.star") +parse_input = import_module("../package_io/parse_input.star") FLASHBOTS_MEV_BOOST_PROTOCOL = "TCP" diff --git a/src/mev_custom_flood/mev_custom_flood_launcher.star b/src/mev_custom_flood/mev_custom_flood_launcher.star index 6b2002d61..1023975d9 100644 --- a/src/mev_custom_flood/mev_custom_flood_launcher.star +++ b/src/mev_custom_flood/mev_custom_flood_launcher.star @@ -3,9 +3,7 @@ CUSTOM_FLOOD_SREVICE_NAME = "mev-custom-flood" def spam_in_background(plan, sender_key, receiver_key, el_uri): - sender_script = plan.upload_files( - "github.com/kurtosis-tech/ethereum-package/src/mev_custom_flood/sender.py" - ) + sender_script = plan.upload_files("../mev_custom_flood/sender.py") plan.add_service( name=CUSTOM_FLOOD_SREVICE_NAME, diff --git a/src/package_io/parse_input.star b/src/package_io/parse_input.star index ff0cd723d..d80d1d8a6 100644 --- a/src/package_io/parse_input.star +++ b/src/package_io/parse_input.star @@ -46,12 +46,10 @@ ATTR_TO_BE_SKIPPED_AT_ROOT = ( DEFAULT_EXPLORER_VERSION = "dora" -package_io_constants = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +package_io_constants = import_module("../package_io/constants.star") genesis_constants = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star" + "../prelaunch_data_generator/genesis_constants/genesis_constants.star" ) diff --git a/src/participant_network.star b/src/participant_network.star index 66e35c7a5..b8ba2811b 100644 --- a/src/participant_network.star +++ b/src/participant_network.star @@ -1,66 +1,36 @@ cl_validator_keystores = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/cl_validator_keystores/cl_validator_keystore_generator.star" + "./prelaunch_data_generator/cl_validator_keystores/cl_validator_keystore_generator.star" ) el_genesis_data_generator = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star" + "./prelaunch_data_generator/el_genesis/el_genesis_data_generator.star" ) cl_genesis_data_generator = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star" + "./prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star" ) -static_files = import_module( - "github.com/kurtosis-tech/ethereum-package/static_files/static_files.star" -) +static_files = import_module("../static_files/static_files.star") -geth = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/geth/geth_launcher.star" -) -besu = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/besu/besu_launcher.star" -) -erigon = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/erigon/erigon_launcher.star" -) -nethermind = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/nethermind/nethermind_launcher.star" -) -reth = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/reth/reth_launcher.star" -) -ethereumjs = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/ethereumjs/ethereumjs_launcher.star" -) +geth = import_module("./el/geth/geth_launcher.star") +besu = import_module("./el/besu/besu_launcher.star") +erigon = import_module("./el/erigon/erigon_launcher.star") +nethermind = import_module("./el/nethermind/nethermind_launcher.star") +reth = import_module("./el/reth/reth_launcher.star") +ethereumjs = import_module("./el/ethereumjs/ethereumjs_launcher.star") -lighthouse = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/lighthouse/lighthouse_launcher.star" -) -lodestar = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/lodestar/lodestar_launcher.star" -) -nimbus = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/nimbus/nimbus_launcher.star" -) -prysm = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/prysm/prysm_launcher.star" -) -teku = import_module( - "github.com/kurtosis-tech/ethereum-package/src/cl/teku/teku_launcher.star" -) +lighthouse = import_module("./cl/lighthouse/lighthouse_launcher.star") +lodestar = import_module("./cl/lodestar/lodestar_launcher.star") +nimbus = import_module("./cl/nimbus/nimbus_launcher.star") +prysm = import_module("./cl/prysm/prysm_launcher.star") +teku = import_module("./cl/teku/teku_launcher.star") -snooper = import_module( - "github.com/kurtosis-tech/ethereum-package/src/snooper/snooper_engine_launcher.star" -) +snooper = import_module("./snooper/snooper_engine_launcher.star") genesis_constants = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star" -) -participant_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/participant.star" + "./prelaunch_data_generator/genesis_constants/genesis_constants.star" ) +participant_module = import_module("./participant.star") -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) +package_io = import_module("./package_io/constants.star") BOOT_PARTICIPANT_INDEX = 0 diff --git a/src/prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star b/src/prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star index 914397abd..a174133ba 100644 --- a/src/prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star +++ b/src/prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star @@ -1,11 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") cl_genesis_data = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/cl_genesis/cl_genesis_data.star" + "../../prelaunch_data_generator/cl_genesis/cl_genesis_data.star" ) prelaunch_data_generator_launcher = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/prelaunch_data_generator_launcher/prelaunch_data_generator_launcher.star" + "../../prelaunch_data_generator/prelaunch_data_generator_launcher/prelaunch_data_generator_launcher.star" ) diff --git a/src/prelaunch_data_generator/cl_validator_keystores/cl_validator_keystore_generator.star b/src/prelaunch_data_generator/cl_validator_keystores/cl_validator_keystore_generator.star index 34a23b218..754ba96d4 100644 --- a/src/prelaunch_data_generator/cl_validator_keystores/cl_validator_keystore_generator.star +++ b/src/prelaunch_data_generator/cl_validator_keystores/cl_validator_keystore_generator.star @@ -1,15 +1,13 @@ prelaunch_data_generator_launcher = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/prelaunch_data_generator_launcher/prelaunch_data_generator_launcher.star" + "../../prelaunch_data_generator/prelaunch_data_generator_launcher/prelaunch_data_generator_launcher.star" ) -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") keystore_files_module = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/cl_validator_keystores/keystore_files.star" + "../../prelaunch_data_generator/cl_validator_keystores/keystore_files.star" ) keystores_result = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/cl_validator_keystores/generate_keystores_result.star" + "../../prelaunch_data_generator/cl_validator_keystores/generate_keystores_result.star" ) diff --git a/src/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star b/src/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star index 0da6ff672..dc57939f7 100644 --- a/src/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star +++ b/src/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star @@ -1,11 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../../shared_utils/shared_utils.star") el_genesis = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/el_genesis/el_genesis_data.star" + "../../prelaunch_data_generator/el_genesis/el_genesis_data.star" ) prelaunch_data_generator_launcher = import_module( - "github.com/kurtosis-tech/ethereum-package/src/prelaunch_data_generator/prelaunch_data_generator_launcher/prelaunch_data_generator_launcher.star" + "../../prelaunch_data_generator/prelaunch_data_generator_launcher/prelaunch_data_generator_launcher.star" ) CONFIG_DIRPATH_ON_GENERATOR = "/config" diff --git a/src/prometheus/prometheus_launcher.star b/src/prometheus/prometheus_launcher.star index 66e417acc..42034b934 100644 --- a/src/prometheus/prometheus_launcher.star +++ b/src/prometheus/prometheus_launcher.star @@ -1,6 +1,4 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") SERVICE_NAME = "prometheus" diff --git a/src/snooper/snooper_engine_launcher.star b/src/snooper/snooper_engine_launcher.star index 04da6eba3..c0985fcef 100644 --- a/src/snooper/snooper_engine_launcher.star +++ b/src/snooper/snooper_engine_launcher.star @@ -1,21 +1,9 @@ -shared_utils = import_module( - "github.com/kurtosis-tech/ethereum-package/src/shared_utils/shared_utils.star" -) -input_parser = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/parse_input.star" -) -el_client_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_client_context.star" -) -el_admin_node_info = import_module( - "github.com/kurtosis-tech/ethereum-package/src/el/el_admin_node_info.star" -) -package_io = import_module( - "github.com/kurtosis-tech/ethereum-package/src/package_io/constants.star" -) -snooper_engine_context = import_module( - "github.com/kurtosis-tech/ethereum-package/src/snooper/snooper_engine_context.star" -) +shared_utils = import_module("../shared_utils/shared_utils.star") +input_parser = import_module("../package_io/parse_input.star") +el_client_context = import_module("../el/el_client_context.star") +el_admin_node_info = import_module("../el/el_admin_node_info.star") +package_io = import_module("../package_io/constants.star") +snooper_engine_context = import_module("../snooper/snooper_engine_context.star") SNOOPER_ENGINE_RPC_PORT_NUM = 8561 SNOOPER_ENGINE_RPC_PORT_ID = "http" diff --git a/src/static_files/static_files.star b/src/static_files/static_files.star index 72bc200b5..300241663 100644 --- a/src/static_files/static_files.star +++ b/src/static_files/static_files.star @@ -1,5 +1,5 @@ # The path on the module container where static files are housed -STATIC_FILES_DIRPATH = "github.com/kurtosis-tech/ethereum-package/static_files" +STATIC_FILES_DIRPATH = "/static_files" # CL Forkmon config CL_FORKMON_CONFIG_TEMPLATE_FILEPATH = ( diff --git a/static_files/static_files.star b/static_files/static_files.star index 4a05aecfa..a7338b394 100644 --- a/static_files/static_files.star +++ b/static_files/static_files.star @@ -1,5 +1,5 @@ # The path on the module container where static files are housed -STATIC_FILES_DIRPATH = "github.com/kurtosis-tech/ethereum-package/static_files" +STATIC_FILES_DIRPATH = "/static_files" # Geth + CL genesis generation GENESIS_GENERATION_CONFIG_DIRPATH = STATIC_FILES_DIRPATH + "/genesis-generation-config"