Skip to content

Commit

Permalink
feat(fork12): config needed for seq-sender no DS (0xPolygon#252)
Browse files Browse the repository at this point in the history
* feat: config needed for seq-sender no DS

* feat: config needed for seq-sender no DS

* feat: config needed for seq-sender no DS

* feat: config needed for seq-sender no DS

* feat: config needed for seq-sender no DS

* fix: revert change

* Update params.yml

Co-authored-by: Stefan Negovanović <[email protected]>

* fix cdk node config

---------

Co-authored-by: Stefan Negovanović <[email protected]>
  • Loading branch information
ToniRamirezM and Stefan-Ethernal authored Sep 5, 2024
1 parent dae0801 commit b43806d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion agglayer-attach-cdk-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ args:
zkevm_bridge_ui_image: leovct/zkevm-bridge-ui:multi-network
zkevm_bridge_proxy_image: haproxy:2.9.9-bookworm
zkevm_sequence_sender_image: hermeznetwork/zkevm-sequence-sender:v0.2.0-RC4
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta17
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta18
zkevm_pool_manager_image: hermeznetwork/zkevm-pool-manager:v0.1.0-RC1

# Port configuration.
Expand Down
2 changes: 1 addition & 1 deletion input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DEFAULT_ARGS = {
"zkevm_bridge_ui_image": "leovct/zkevm-bridge-ui:multi-network",
"zkevm_bridge_proxy_image": "haproxy:2.9.9-bookworm",
"zkevm_sequence_sender_image": "hermeznetwork/zkevm-sequence-sender:v0.2.0-RC4",
"cdk_erigon_node_image": "hermeznetwork/cdk-erigon:v2.0.0-beta17",
"cdk_erigon_node_image": "hermeznetwork/cdk-erigon:v2.0.0-beta18",
"zkevm_pool_manager_image": "hermeznetwork/zkevm-pool-manager:v0.1.0-RC1",
"zkevm_hash_db_port": 50061,
"zkevm_executor_port": 50071,
Expand Down
2 changes: 1 addition & 1 deletion kurtosis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ description: |-
zkevm_bridge_proxy_image: haproxy:2.9.9-bookworm
zkevm_sequence_sender_image: hermeznetwork/zkevm-sequence-sender:v0.2.0-RC4
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta17
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta18
zkevm_pool_manager_image: hermeznetwork/zkevm-pool-manager:v0.1.0-RC1
# Port configuration.
Expand Down
3 changes: 2 additions & 1 deletion params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ args:
zkevm_bridge_ui_image: leovct/zkevm-bridge-ui:multi-network
zkevm_bridge_proxy_image: haproxy:2.9.9-bookworm
zkevm_sequence_sender_image: hermeznetwork/zkevm-sequence-sender:v0.2.0-RC4
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta17
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta18
zkevm_pool_manager_image: hermeznetwork/zkevm-pool-manager:v0.1.0-RC1

# Port configuration.
Expand Down Expand Up @@ -174,3 +174,4 @@ args:
trusted_sequencer_node_uri: zkevm-node-sequencer-001:6900
zkevm_aggregator_host: zkevm-node-aggregator-001
genesis_file: templates/permissionless-node/genesis.json

3 changes: 2 additions & 1 deletion templates/trusted-node/cdk-node-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ MaxPendingTx = 1
{{if eq .zkevm_rollup_fork_id "12"}}
MaxBatchesForL1 = 300
BlockFinality="SafeBlock" # TODO: should be finalized but it breaks :)
SanityCheckRPCURL = ""
RPCURL = "http://{{.l2_rpc_name}}{{.deployment_suffix}}:{{.zkevm_rpc_http_port}}"
GetBatchWaitInterval = "10s"
{{end}}
[SequenceSender.StreamClient]
Server = "{{.sequencer_name}}{{.deployment_suffix}}:{{.zkevm_data_streamer_port}}"
Expand Down
2 changes: 1 addition & 1 deletion templates/trusted-node/node-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ Filename = "/tmp/datastream.bin"
# version number of a header to ensure they're reading from the
# correct source.
# ------------------------------------------------------------------------------
Version = 0
Version = 4

# ------------------------------------------------------------------------------
# ChainID is used to set the system id of the datastreamer. Like the
Expand Down

0 comments on commit b43806d

Please sign in to comment.