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

Integrate cdk entrypoint #304

Merged
merged 8 commits into from
Oct 10, 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
2 changes: 1 addition & 1 deletion agglayer-attach-cdk-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ args:
zkevm_node_image: hermeznetwork/zkevm-node:v0.7.3-RC1
cdk_validium_node_image: 0xpolygon/cdk-validium-node:0.7.0-cdk

cdk_node_image: ghcr.io/0xpolygon/cdk:0.2.1
cdk_node_image: ghcr.io/0xpolygon/cdk:0.3.0-beta4
zkevm_da_image: 0xpolygon/cdk-data-availability:0.0.10
# agglayer_image: nulyjkdhthz/agglayer-rs:pr-318
agglayer_image: ghcr.io/agglayer/agglayer-rs:pr-96
Expand Down
2 changes: 1 addition & 1 deletion input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DEFAULT_ARGS = {
"zkevm_prover_image": "hermeznetwork/zkevm-prover:v8.0.0-RC12-fork.12",
"zkevm_node_image": "hermeznetwork/zkevm-node:v0.7.3-RC1",
"cdk_validium_node_image": "0xpolygon/cdk-validium-node:0.7.0-cdk",
"cdk_node_image": "ghcr.io/0xpolygon/cdk:0.2.1",
"cdk_node_image": "ghcr.io/0xpolygon/cdk:0.3.0-beta4",
"zkevm_da_image": "0xpolygon/cdk-data-availability:0.0.10",
"agglayer_image": "ghcr.io/agglayer/agglayer-rs:pr-96",
"zkevm_bridge_service_image": "hermeznetwork/zkevm-bridge-service:v0.6.0-RC1",
Expand Down
8 changes: 4 additions & 4 deletions lib/cdk_node.star
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def create_cdk_node_service_config(
# Sleep for 20 seconds in order to wait for datastream server getting ready
# TODO: find a better way instead of waiting
cmd=[
"sleep 20 && cdk-node run "
+ "-cfg=/etc/cdk/cdk-node-config.toml "
+ "-custom-network-file=/etc/cdk/genesis.json "
+ "-components="
"sleep 20 && cdk "
+ "node "
+ "--config=/etc/cdk/cdk-node-config.toml "
+ "--components="
+ NODE_COMPONENTS.sequence_sender
+ ","
+ NODE_COMPONENTS.aggregator,
Expand Down
2 changes: 1 addition & 1 deletion params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ args:
zkevm_node_image: hermeznetwork/zkevm-node:v0.7.3-RC1
cdk_validium_node_image: 0xpolygon/cdk-validium-node:0.7.0-cdk

cdk_node_image: ghcr.io/0xpolygon/cdk:0.2.1
cdk_node_image: ghcr.io/0xpolygon/cdk:0.3.0-beta4
zkevm_da_image: 0xpolygon/cdk-data-availability:0.0.10
# agglayer_image: nulyjkdhthz/agglayer-rs:pr-318
agglayer_image: ghcr.io/agglayer/agglayer-rs:pr-96
Expand Down