Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
040e622c
Unverified
Commit
040e622c
authored
Mar 03, 2025
by
ltitanb
Committed by
GitHub
Mar 03, 2025
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: commit boost startup (#906)
parent
03bb449c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
main.star
main.star
+1
-0
mev_boost_launcher.star
src/mev/commit-boost/mev_boost/mev_boost_launcher.star
+7
-6
cb-config.toml.tmpl
static_files/mev/commit-boost/cb-config.toml.tmpl
+3
-6
No files found.
main.star
View file @
040e622c
...
...
@@ -417,6 +417,7 @@ def run(plan, args={}):
mev_endpoints,
el_cl_data_files_artifact_uuid,
global_node_selectors,
final_genesis_timestamp,
)
else:
fail("Invalid MEV type")
...
...
src/mev/commit-boost/mev_boost/mev_boost_launcher.star
View file @
040e622c
...
...
@@ -30,6 +30,7 @@ def launch(
relays,
el_cl_genesis_data,
global_node_selectors,
final_genesis_timestamp,
):
network = (
network
...
...
@@ -39,15 +40,13 @@ def launch(
image = mev_params.mev_boost_image
template_data = new_config_template_data(
network,
input_parser.MEV_BOOST_PORT,
relays,
network, input_parser.MEV_BOOST_PORT, relays, final_genesis_timestamp
)
mev_rs
_boost_config_template = read_file(static_files.COMMIT_BOOST_CONFIG_FILEPATH)
commit
_boost_config_template = read_file(static_files.COMMIT_BOOST_CONFIG_FILEPATH)
template_and_data = shared_utils.new_template_and_data(
mev_rs
_boost_config_template, template_data
commit
_boost_config_template, template_data
)
template_and_data_by_rel_dest_filepath = {}
...
...
@@ -92,6 +91,7 @@ def get_config(
cmd=[],
env_vars={
"CB_CONFIG": config_file_path,
"RUST_LOG": "debug",
},
files={
CB_CONFIG_MOUNT_DIRPATH_ON_SERVICE: config_file,
...
...
@@ -111,9 +111,10 @@ def new_mev_boost_launcher(should_check_relay, relay_end_points):
)
def new_config_template_data(network, port, relays):
def new_config_template_data(network, port, relays
, final_genesis_timestamp
):
return {
"Network": network,
"Port": port,
"Relays": relays,
"Timestamp": final_genesis_timestamp,
}
static_files/mev/commit-boost/cb-config.toml.tmpl
View file @
040e622c
chain =
"{{ .Network }}"
chain =
{ genesis_time_secs = {{ .Timestamp }}, path = "{{ .Network }}" }
[pbs]
host = "0.0.0.0"
port = {{ .Port }}
{{ range $index, $relay := .Relays }}
...
...
@@ -8,7 +9,3 @@ port = {{ .Port }}
id = "mev_relay_{{$index}}"
url = "{{ $relay }}"
{{- end }}
\ No newline at end of file
[logs]
log_level = "debug"
max_log_files = 7
vicotor
@luxueqian
mentioned in commit
05fdd35b
·
Apr 13, 2025
mentioned in commit
05fdd35b
mentioned in commit 05fdd35bc5eeb74f779dab9777cbeabc9e762830
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment