forked from 0xPolygon/kurtosis-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for public ports (0xPolygon#325)
* feat: agglayer static port * chore: disable static ports by default and add ci test * fix: ci * ci: update job names * chore: rename file * feat: cdk node static port * chore: nit * fix: typos * fix: typo * feat: bridge static ports * feat: db static port * chore: lint * fix: typos * feat: more static ports * feat: add ethereum pkg static ports * fix: typo * fix: eth params * fix: eth pkg config * test * chore: nit * test * fix: typo * fix: dac typo * chore: update static ports * feat: add another flag to use default public ports * chore: update custom public ports * fix: typo * chore: clean up ports lib * fix: typos * fix: default public ports * chore: nit * chore: clean up * chore: clean up 2 * ci: rename job * feat: agglayer and agglayer prover public ports * feat: zkevm provers public port * refactor: cdk erigon * fix * fix * fix fix fix * feat: cdk-erigon public port * fix * fix: pless db * chore: refactor default public ports * ci: update custom public port test * refactor and rename cdk-erigon-node to cdk-erigon-rpc * ci: verify public ports if specified * fix: pless zkevm node * fix * fix * ci: fix * ci: nit * ci: fix * ci: nit * ci: debug * ci: fix * docs: document the public port feature * docs: improve public ports doc * chore: sort port configs to make sure public ports are deterministic * ci: last fix attempt * ci: fix issue * docs: mention to bump the docker engine memory limit if deployment is stuck * chore: merge default l1 and l2 public ports into one struct * chore: rename `public_ports` to `static_ports` and `use_default_public_ports` to `use_dynamic_ports` * ci: only test the default static port config * fix: typo * fix: ethereum pkg static ports
- Loading branch information
Showing
40 changed files
with
748 additions
and
343 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
.github/tests/static-ports/custom-static-ports-cdk-erigon-sequencer-ds.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Only expose the datastream port of the cdk-erigon sequencer to a static public port. | ||
# All the other ports will be allocated dynamically using Kurtosis. | ||
args: | ||
use_dynamic_ports: false | ||
static_ports: | ||
cdk_erigon_sequencer_start_port: 61700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# All services will be exposed through static public ports, with custom ranges defined in this file. | ||
# - L1 services will be exposed on the range 60000-60999. | ||
# - L2 services on the range 61000-61999. | ||
args: | ||
use_dynamic_ports: false | ||
static_ports: | ||
# L1 public ports (60000-60999). | ||
l1_el_start_port: 60000 | ||
l1_cl_start_port: 60010 | ||
l1_vc_start_port: 60020 | ||
l1_additional_services_start_port: 60100 | ||
|
||
# L2/CDK public ports (61000-61999). | ||
## Agglayer | ||
agglayer_start_port: 61000 | ||
agglayer_prover_start_port: 61010 | ||
|
||
## CDK node | ||
cdk_node_start_port: 61100 | ||
|
||
## Bridge services | ||
zkevm_bridge_service_start_port: 61200 | ||
zkevm_bridge_ui_start_port: 61210 | ||
reverse_proxy_start_port: 61220 | ||
|
||
## Databases | ||
database_start_port: 61300 | ||
pless_database_start_port: 61310 | ||
|
||
## Pool manager | ||
zkevm_pool_manager_start_port: 61400 | ||
|
||
## DAC | ||
zkevm_dac_start_port: 61500 | ||
|
||
## ZkEVM Provers | ||
zkevm_prover_start_port: 61600 | ||
zkevm_executor_start_port: 61610 | ||
zkevm_stateless_executor_start_port: 61620 | ||
|
||
## CDK Erigon | ||
cdk_erigon_sequencer_start_port: 61700 | ||
cdk_erigon_rpc_start_port: 61710 | ||
|
||
# L2 additional services (62000-62999). | ||
arpeggio_start_port: 62000 | ||
blutgang_start_port: 62010 | ||
erpc_start_port: 62020 | ||
panoptichain_start_port: 62030 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# All services will be exposed through static ports, with default ranges defined in `input_parser.star`. | ||
# - L1 services will be exposed on the range 50000-50999. | ||
# - L2 services on the range 51000-51999. | ||
args: | ||
use_dynamic_ports: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.