Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kurtosis): proper fix for reth nodes #859

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions kurtosis/src/nodes/execution/execution.star
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ def upload_global_files(plan, node_modules):

def get_enode_addr(plan, el_service, el_service_name, el_type):
extract_statement = {"enode": """.result.enode | split("?") | .[0]"""}
if el_type == execution_types.CLIENTS.reth:
extract_statement = {"enode": """.result.id | split("?") | .[0][2:] | ("enode://" + .)"""}

request_recipe = PostHttpRequestRecipe(
endpoint = "",
Expand All @@ -75,7 +73,7 @@ def get_enode_addr(plan, el_service, el_service_name, el_type):
)

enode = response["extract.enode"]
return enode + "@" + el_service.ip_address + ":" + str(DISCOVERY_PORT_NUM) if el_type == execution_types.CLIENTS.reth else enode
return enode

def add_bootnodes(node_module, config, bootnodes):
if type(bootnodes) == builtins.types.list:
Expand Down
2 changes: 1 addition & 1 deletion kurtosis/src/nodes/execution/reth/config.star
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ METRICS_PORT_ID = defaults.METRICS_PORT_ID

METRICS_PATH = defaults.METRICS_PATH

IMAGE = "ghcr.io/paradigmxyz/reth:v0.1.0-alpha.23"
IMAGE = "ghcr.io/paradigmxyz/reth:latest"
ENTRYPOINT = ["sh", "-c"]
CONFIG_LOCATION = "/root/.reth/{}".format(CONFIG_FILENAME)
FILES = {
Expand Down
Loading