Skip to content

Commit

Permalink
Kurtosis clean up (#1735)
Browse files Browse the repository at this point in the history
Signed-off-by: nidhi-singh02 <trippin@berachain.com>
  • Loading branch information
nidhi-singh02 authored Jul 10, 2024
1 parent 7e2d30c commit d7d3128
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion kurtosis/src/constants.star
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ GLOBAL_LOG_LEVEL = struct(

JWT_MOUNT_PATH_ON_CONTAINER = "/jwt/jwt-secret.hex"
JWT_FILEPATH = "/kurtosis/src/nodes/jwt-secret.hex"
KZG_TRUSTED_SETUP_MOUNT_PATH_ON_CONTAINER = "/kzg/kzg-trusted-setup.json"
KZG_TRUSTED_SETUP_FILEPATH = "/kurtosis/src/nodes/kzg-trusted-setup.json"
BLUTGANG_CONFIG_TEMPLATE_FILEPATH = "/kurtosis/src/services/blutgang/config.toml.tmpl"

Expand Down
9 changes: 0 additions & 9 deletions kurtosis/src/nodes/execution/execution.star
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,10 @@ service_config_lib = import_module("../../lib/service_config.star")
builtins = import_module("../../lib/builtins.star")

RPC_PORT_NUM = 8545
WS_PORT_NUM = 8546
DISCOVERY_PORT_NUM = 30303
ENGINE_RPC_PORT_NUM = 8551
METRICS_PORT_NUM = 9001

# Port IDs
RPC_PORT_ID = "eth-json-rpc"
WS_PORT_ID = "eth-json-rpc-ws"
TCP_DISCOVERY_PORT_ID = "tcp-discovery"
UDP_DISCOVERY_PORT_ID = "udp-discovery"
ENGINE_RPC_PORT_ID = "engine-rpc"
ENGINE_WS_PORT_ID = "engineWs"
METRICS_PORT_ID = "metrics"

# Because structs are immutable, we pass around a map to allow full modification up until we create the final ServiceConfig
def get_default_service_config(node_struct, node_module):
Expand Down
12 changes: 0 additions & 12 deletions kurtosis/src/nodes/execution/reth/config.star
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,13 @@ GLOBAL_FILES = [
("./reth/reth-config.toml", NODE_CONFIG_ARTIFACT_NAME),
]

RPC_PORT_NUM = defaults.RPC_PORT_NUM
WS_PORT_NUM = defaults.WS_PORT_NUM
DISCOVERY_PORT_NUM = defaults.DISCOVERY_PORT_NUM
ENGINE_RPC_PORT_NUM = defaults.ENGINE_RPC_PORT_NUM
METRICS_PORT_NUM = defaults.METRICS_PORT_NUM

# Port IDs
RPC_PORT_ID = defaults.RPC_PORT_ID
WS_PORT_ID = defaults.WS_PORT_ID
TCP_DISCOVERY_PORT_ID = defaults.TCP_DISCOVERY_PORT_ID
UDP_DISCOVERY_PORT_ID = defaults.UDP_DISCOVERY_PORT_ID
ENGINE_RPC_PORT_ID = defaults.ENGINE_RPC_PORT_ID
ENGINE_WS_PORT_ID = defaults.ENGINE_WS_PORT_ID
METRICS_PORT_ID = defaults.METRICS_PORT_ID

METRICS_PATH = defaults.METRICS_PATH

ENTRYPOINT = ["sh", "-c"]
CONFIG_LOCATION = "/root/.reth/{}".format(CONFIG_FILENAME)
FILES = {
"/root/.reth": NODE_CONFIG_ARTIFACT_NAME,
"/root/genesis": "genesis_file",
Expand Down

0 comments on commit d7d3128

Please sign in to comment.