diff --git a/main.star b/main.star index f9f8d1ba1..ba0dcb776 100644 --- a/main.star +++ b/main.star @@ -309,8 +309,9 @@ def run(plan, args={}): network_params.network_id, mev_params.mev_boost_image, mev_params.mev_boost_args, - global_node_selectors, network_params, + final_genesis_timestamp, + global_node_selectors, ) if bolt_sidecar_config != None: bolt_sidecar_config["constraints_api_url"] = "http://{0}:{1}".format( diff --git a/src/mev/mev_boost/mev_boost_launcher.star b/src/mev/mev_boost/mev_boost_launcher.star index 05157ef84..6119a9001 100644 --- a/src/mev/mev_boost/mev_boost_launcher.star +++ b/src/mev/mev_boost/mev_boost_launcher.star @@ -30,8 +30,9 @@ def launch( network_id, mev_boost_image, mev_boost_args, - global_node_selectors, network_params, + final_genesis_timestamp, + global_node_selectors, ): config = get_config( mev_boost_launcher, @@ -64,10 +65,7 @@ def get_config( ports=USED_PORTS, cmd=command, env_vars={ - # TODO(maybe) remove the hardcoding - # This is set to match this file https://github.com/kurtosis-tech/ethereum-package/blob/main/static_files/genesis-generation-config/cl/config.yaml.tmpl#L11 - # latest-notes - # does this need genesis time to be set as well + "GENESIS_TIMESTAMP": str(network_params.genesis_timestamp), "GENESIS_FORK_VERSION": "0x10000038", "BOOST_LISTEN_ADDR": "0.0.0.0:{0}".format( input_parser.FLASHBOTS_MEV_BOOST_PORT