Skip to content

Commit

Permalink
chore(mev-boost): add genesis timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Nov 5, 2024
1 parent 4847328 commit 57dfc90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
8 changes: 3 additions & 5 deletions src/mev/mev_boost/mev_boost_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 57dfc90

Please sign in to comment.