Skip to content

Commit

Permalink
add readme, fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Jul 1, 2024
1 parent 768266e commit 035254d
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 8 deletions.
13 changes: 12 additions & 1 deletion .github/tests/mix-public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,15 @@ participants:
cl_type: grandine
additional_services: []
port_publisher:
public_port_start: 30000
el:
enabled: true
public_port_start: 32000
cl:
enabled: true
public_port_start: 33000
vc:
enabled: true
public_port_start: 34000
additional_services:
enabled: true
public_port_start: 35000
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,34 @@ port_publisher:
# Defaults to constants.PRIVATE_IP_ADDRESS_PLACEHOLDER
# The default value just means its the IP address of the container in which the service is running
nat_exit_ip: KURTOSIS_IP_ADDR_PLACEHOLDER
# The start value gets used as a seed for TCP and UDP discovery ports for el/cl client
# Defaults to None - no public ports
public_port_start: null
# Execution Layer public port exposed to your local machine
# Disabled by default
# Public port start defaults to 32000
# You can't run multiple enclaves on the same port settings
el:
enabled: false
public_port_start: 32000
# Consensus Layer public port exposed to your local machine
# Disabled by default
# Public port start defaults to 33000
# You can't run multiple enclaves on the same port settings
cl:
enabled: false
public_port_start: 33000
# Validator client public port exposed to your local machine
# Disabled by default
# Public port start defaults to 34000
# You can't run multiple enclaves on the same port settings
vc:
enabled: false
public_port_start: 34000
# Additional services public port exposed to your local machine
# Disabled by default
# Public port start defaults to 35000
# You can't run multiple enclaves on the same port settings
additional_services:
enabled: false
public_port_start: 35000
```
#### Example configurations
Expand Down
4 changes: 2 additions & 2 deletions network_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ global_node_selectors: {}
keymanager_enabled: false
port_publisher:
nat_exit_ip: KURTOSIS_IP_ADDR_PLACEHOLDER
cl:
el:
enabled: false
public_port_start: 32000
el:
cl:
enabled: false
public_port_start: 33000
vc:
Expand Down
4 changes: 2 additions & 2 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -1007,8 +1007,8 @@ def get_default_custom_flood_params():
def get_port_publisher_params(parameter_type, input_args=None):
port_publisher_parameters = {
"nat_exit_ip": "KURTOSIS_IP_ADDR_PLACEHOLDER",
"cl": {"enabled": False, "public_port_start": 32000},
"el": {"enabled": False, "public_port_start": 33000},
"el": {"enabled": False, "public_port_start": 32000},
"cl": {"enabled": False, "public_port_start": 33000},
"vc": {"enabled": False, "public_port_start": 34000},
"additional_services": {"enabled": False, "public_port_start": 35000},
}
Expand Down

0 comments on commit 035254d

Please sign in to comment.