forked from 0xPolygon/kurtosis-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
agglayer-attach-cdk-params.yml
187 lines (150 loc) · 7.76 KB
/
agglayer-attach-cdk-params.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
---
# Deployment parameters.
# The deployment process is divided into various stages.
# Deploy local L1.
deploy_l1: false
# Deploy zkevm contracts on L1 (and also fund accounts).
deploy_zkevm_contracts_on_l1: true
# Deploy zkevm node and cdk peripheral databases.
deploy_databases: true
# Deploy cdk central/trusted environment.
deploy_cdk_central_environment: true
# Deploy cdk/bridge infrastructure.
deploy_cdk_bridge_infra: true
# Deploy agglayer.
deploy_agglayer: false
# Deploy cdk-erigon node.
deploy_cdk_erigon_node: true
args:
# Suffix appended to service names.
# Note: It should be a string.
deployment_suffix: "-002"
# The global log level that all components of the stack should log at.
# Valid values are "error", "warn", "info", "debug", and "trace".
global_log_level: info
# The type of the sequencer to deploy.
# Options:
# - 'erigon': Use the new sequencer (https://github.com/0xPolygonHermez/cdk-erigon).
# - 'zkevm': Use the legacy sequencer (https://github.com/0xPolygonHermez/zkevm-node).
sequencer_type: erigon
# The type of data availability to use.
# Options:
# - 'rollup': Transaction data is stored on-chain on L1.
# - 'cdk-validium': Transaction data is stored off-chain using the CDK DA layer and a DAC.
# In the future, we would like to support external DA protocols such as Avail, Celestia and Near.
data_availability_mode: cdk-validium
# Additional services to run alongside the network.
# Options:
# - arpeggio
# - blockscout
# - blutgang
# - pless_zkevm_node
# - prometheus_grafana
# - tx_spammer
additional_services: []
# Docker images and repositories used to spin up services.
# This is a transitional image that includes a fix on top of version v8.0.0-rc.2-fork.12.
# https://github.com/0xPolygonHermez/zkevm-contracts/pull/323
zkevm_contracts_image: leovct/zkevm-contracts:v8.0.0-rc.3-fork.12
#zkevm_contracts_image: leovct/zkevm-contracts:v8.0.0-rc.2-fork.12
zkevm_prover_image: hermeznetwork/zkevm-prover:v8.0.0-RC10-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.0.17
zkevm_da_image: 0xpolygon/cdk-data-availability:0.0.9
agglayer_image: ghcr.io/agglayer/agglayer-rs:pr-96
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.5.0-RC12
zkevm_bridge_ui_image: leovct/zkevm-bridge-ui:multi-network
zkevm_bridge_proxy_image: haproxy:3.0-bookworm
zkevm_sequence_sender_image: hermeznetwork/zkevm-sequence-sender:v0.2.0-RC12
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.0.0-beta18.3
zkevm_pool_manager_image: hermeznetwork/zkevm-pool-manager:v0.1.0-RC1
# Port configuration.
zkevm_hash_db_port: 50061
zkevm_executor_port: 50071
zkevm_aggregator_port: 50081
zkevm_pprof_port: 6060
prometheus_port: 9091
zkevm_data_streamer_port: 6900
zkevm_rpc_http_port: 8123
zkevm_rpc_ws_port: 8133
zkevm_bridge_rpc_port: 8080
zkevm_bridge_grpc_port: 9090
zkevm_bridge_ui_port: 80
agglayer_port: 4444
zkevm_dac_port: 8484
zkevm_pool_manager_port: 8545
# Addresses and private keys of the different components.
# They have been generated using the following command:
# polycli wallet inspect --mnemonic 'lab code glass agree maid neutral vessel horror deny frequent favorite soft gate galaxy proof vintage once figure diary virtual scissors marble shrug drop' --addresses 9 | tee keys.txt | jq -r '.Addresses[] | [.ETHAddress, .HexPrivateKey] | @tsv' | awk 'BEGIN{split("sequencer,aggregator,claimtxmanager,timelock,admin,loadtest,agglayer,dac,proofsigner",roles,",")} {print "zkevm_l2_" roles[NR] "_address: \"" $1 "\""; print "zkevm_l2_" roles[NR] "_private_key: \"0x" $2 "\"\n"}'
zkevm_l2_sequencer_address: "0xF4ee37aAc3ccd6B71A4a795700b065d2CA479581"
zkevm_l2_sequencer_private_key: "39fa0e0993fdde70f16434fe5085cc7992bb82aa8acc765acc9f8c79d7751350"
zkevm_l2_aggregator_address: "0x78DE6D4fD4848d7A79cBB5117FED025e2d482bED"
zkevm_l2_aggregator_private_key: "a624aee34e44e828a03bd8ecbeca5807d9187351e6772995b82c15f5610a4cf2"
zkevm_l2_claimtxmanager_address: "0xf909b5F902D19CACB8B06c037bEf0a5345E99331"
zkevm_l2_claimtxmanager_private_key: "410affbfff4ba53a8784d3c71f983feeb410d3be0e4f7fec4dba1612bbcc4acf"
zkevm_l2_timelock_address: "0x901b68102f6C695D62692499EB92e2B02E69A106"
zkevm_l2_timelock_private_key: "58397f0a1789f1d97cb9d9eb986fb05831d18b410b496d7baf66bac9baa7c952"
zkevm_l2_admin_address: "0xE34aaF64b29273B7D567FCFc40544c014EEe9970"
zkevm_l2_admin_private_key: "0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"
zkevm_l2_loadtest_address: "0x2d1bd6e35fD386066fDebbf54eb75B436DFa93b4"
zkevm_l2_loadtest_private_key: "c63cd87974fc7742a5f92df58e365517e4ef134864cd8b1d600d1fdf3d3d5049"
zkevm_l2_agglayer_address: "0x351e560852ee001d5D19b5912a269F849f59479a"
zkevm_l2_agglayer_private_key: "0x1d45f90c0a9814d8b8af968fa0677dab2a8ff0266f33b136e560fe420858a419"
zkevm_l2_dac_address: "0xfA2542aca48930aae82C9291f1F029a189C6921b"
zkevm_l2_dac_private_key: "3d7ca1abd8651954b6d060e06c2d2cee72cb95252f2ec48c0034c3fb078eecf1"
zkevm_l2_proofsigner_address: "0x101026E7dADbDd880Bef32884eb63A414C939bb6"
zkevm_l2_proofsigner_private_key: "f46b741e1571a2186b7f4f0a9c6dc25697b36eabbe7ea03da3a3f1b2d060b56c"
# Keystore password.
zkevm_l2_keystore_password: pSnv6Dh5s9ahuzGzH9RoCDrKAMddaX3m
## L1 configuration.
l1_chain_id: 271828
l1_preallocated_mnemonic: code code code code code code code code code code code quality
l1_funding_amount: 100ether
l1_rpc_url: http://el-1-geth-lighthouse:8545
l1_ws_url: ws://el-1-geth-lighthouse:8546
# https://github.com/ethpandaops/ethereum-package/tree/main?tab=readme-ov-file#configuration
l1_additional_services: [
# blockscout, # block explorer
# dora, # beaconchain explorer
# el_forkmon, # fork monitor tool
]
l1_preset: minimal
l1_seconds_per_slot: 1
## Rollup configuration.
# The chain id of the new rollup.
zkevm_rollup_chain_id: 20202
# The rollup ID.
# This should increment by 1 with each additional CDKs being created using the rollup manager contract.
zkevm_rollup_id: 2
# The rollup type ID.
zkevm_rollup_type_id: "1"
# If erigon is being used as the sequencer,
# This flag will enable a stateless executor to verify the execution of the batches.
erigon_strict_mode: true
# This flag will allow pre EIP155 transactions.
erigon_pre_eip155_transactions: true
# The address of the rollup manager contract deployer on L1.
zkevm_rollup_manager_deployer: "0xE34aaF64b29273B7D567FCFc40544c014EEe9970"
zkevm_rollup_manager_deployer_private_key: "0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"
rollup_manager_address: "0x2F50ef6b8e8Ee4E579B17619A92dE3E2ffbD8AD2"
# The address of the L2 gas token.
zkevm_gas_token_address: "0xEdE9cf798E0fE25D35469493f43E88FeA4a5da0E"
# The address of the rollup manager contract on L1.
# If specified, the rollup data will be retrieved from this contract instead of using the contracts service.
# zkevm_rollup_manager_address: ""
# # The block number at which the rollup manager contract was deployed.
# zkevm_rollup_manager_block_number: 0
# # The address of the global exit root contract on L2.
# zkevm_global_exit_root_l2_address: ""
# # The address of the Polygon data committee contract on L1.
# polygon_data_committee_address: ""
polygon_zkevm_explorer: https://explorer.private/
l1_explorer_url: https://sepolia.etherscan.io/
# If this is true, we will automatically deploy an ERC20 contract on
# L1 to be used at the gasTokenAddress
zkevm_use_gas_token_contract: false
## Permissionless node configuration.
trusted_sequencer_node_uri: zkevm-node-sequencer-001:6900
zkevm_aggregator_host: zkevm-node-aggregator-001
genesis_file: templates/permissionless-node/genesis.json