forked from taikoxyz/simple-taiko-node
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-protocol.yml
More file actions
239 lines (232 loc) Β· 6.52 KB
/
Copy pathdocker-compose-protocol.yml
File metadata and controls
239 lines (232 loc) Β· 6.52 KB
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
services:
surge-l1-deployer:
image: ${PROTOCOL_IMAGE}
container_name: surge-l1-deployer
pull_policy: always
tty: true
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/deploy-surge-l1.sh
env_file:
- .env
environment:
FOUNDRY_PROFILE: layer1o
BROADCAST: ${BROADCAST}
VERIFY: ${VERIFY}
SLOW: ${SLOW}
VERIFY_ARG: ${VERIFY_ARG}
MOCK_PROOF_MODE: ${MOCK_PROOF_MODE}
FORK_URL: ${L1_ENDPOINT_HTTP}
CONTRACT_OWNER: ${PUBLIC_KEY}
PRIVATE_KEY: ${PRIVATE_KEY}
# PERMISSIONLESS_PROVING_DELAY: 42300
GENESIS_BLOCK_HASH: ${L2_GENESIS_HASH}
NUM_PROOF_THRESHOLD: 1
# Forced-inclusion deploy parameters β read by DeployRealTimeSurgeL1.s.sol
# via vm.envOr(...). Compose's `${VAR}` substitution falls through to the
# protocol's compile-time defaults if any of these are unset/empty.
FORCED_INCLUSION_DELAY: ${FORCED_INCLUSION_DELAY}
FORCED_INCLUSION_FEE_IN_GWEI: ${FORCED_INCLUSION_FEE_IN_GWEI}
FORCED_INCLUSION_FEE_DOUBLE_THRESHOLD: ${FORCED_INCLUSION_FEE_DOUBLE_THRESHOLD}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- l1-deployer
surge-multicall-deployer:
image: ${PROTOCOL_IMAGE}
container_name: surge-multicall-deployer
pull_policy: always
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/deploy-multicall.sh
env_file:
- .env
environment:
FOUNDRY_PROFILE: layer1o
BROADCAST: ${BROADCAST}
VERIFY: ${VERIFY}
SLOW: ${SLOW}
VERIFY_ARG: ${VERIFY_ARG}
FORK_URL: ${L1_ENDPOINT_HTTP}
PRIVATE_KEY: ${PRIVATE_KEY}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- multicall-deployer
surge-userops-submitter-deployer:
image: ${PROTOCOL_IMAGE}
container_name: surge-userops-submitter-deployer
pull_policy: always
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/deploy-userops-submitter.sh
env_file:
- .env
environment:
FOUNDRY_PROFILE: layer1o
BROADCAST: ${BROADCAST}
VERIFY: ${VERIFY}
SLOW: ${SLOW}
VERIFY_ARG: ${VERIFY_ARG}
OWNER_ADDRESS: ${SUBMITTER_PUBLIC_KEY}
FORK_URL: ${L1_ENDPOINT_HTTP}
PRIVATE_KEY: ${PRIVATE_KEY}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- userops-submitter-deployer
surge-genesis-generator:
image: ${PROTOCOL_IMAGE}
container_name: surge-genesis-generator
pull_policy: always
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/generate-genesis.sh
env_file:
- .env
environment:
# SEED_ADDRESS: ${PUBLIC_KEY}
CONTRACT_OWNER: ${PUBLIC_KEY}
CHAIN_ID: ${L2_CHAIN_ID}
REMOTE_SIGNAL_SERVICE: ${REALTIME_SIGNAL_SERVICE}
FORK_URL: ${L1_ENDPOINT_HTTP}
PRIVATE_KEY: ${PRIVATE_KEY}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- genesis-generator
surge-zisk-setup:
image: ${PROTOCOL_IMAGE}
container_name: surge-zisk-setup
pull_policy: always
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/setup-zisk.sh
env_file:
- .env
environment:
FOUNDRY_PROFILE: layer1
BROADCAST: ${BROADCAST}
VERIFY: ${VERIFY}
VERIFY_ARG: ${VERIFY_ARG}
ZISK_VERIFIER_ADDRESS: ${REALTIME_ZISK_VERIFIER}
ZISK_BATCH_VKEY: ${ZISK_BATCH_VKEY}
FORK_URL: ${L1_ENDPOINT_HTTP}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- zisk-setup
surge-dex-l1-deployer:
image: ${PROTOCOL_IMAGE}
container_name: surge-dex-l1-deployer
pull_policy: always
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/dex/deploy-dex-l1.sh
env_file:
- .env
environment:
PRIVATE_KEY: ${PRIVATE_KEY}
L1_RPC: ${L1_ENDPOINT_HTTP}
L2_CHAIN_ID: ${L2_CHAIN_ID}
L1_BRIDGE: ${REALTIME_BRIDGE}
SWAP_TOKEN: ${SWAP_TOKEN}
TOKEN_DECIMALS: ${TOKEN_DECIMALS}
INITIAL_TOKEN_SUPPLY: ${INITIAL_TOKEN_SUPPLY}
# L1 DEX mode: live (router+weth) or test (fresh WETH9Stub + SimpleDEXL1)
L1_DEX_ROUTER: ${L1_DEX_ROUTER}
L1_DEX_WETH: ${L1_DEX_WETH}
L1_DEX_SEED_ETH: ${L1_DEX_SEED_ETH}
L1_DEX_SEED_TOKEN: ${L1_DEX_SEED_TOKEN}
# L1 Vault inventory seeding β required for L2βL1βL2 swaps on day one
L1_VAULT_SEED_TOKEN: ${L1_VAULT_SEED_TOKEN}
L1_VAULT_SEED_ETH: ${L1_VAULT_SEED_ETH}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- dex-l1-deployer
surge-dex-l2-deployer:
image: ${PROTOCOL_IMAGE}
container_name: surge-dex-l2-deployer
pull_policy: always
volumes:
- ./deployer:/deployer
- ./deployment:/deployment
entrypoint:
- /bin/sh
- -c
- /deployer/dex/deploy-dex-l2.sh
env_file:
- .env
environment:
PRIVATE_KEY: ${PRIVATE_KEY}
L2_RPC: ${L2_ENDPOINT_HTTP}
L1_CHAIN_ID: ${L1_CHAIN_ID}
TOKEN_DECIMALS: ${TOKEN_DECIMALS}
networks:
- surge
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
com.kurtosistech.custom.logs_enabled: "true"
com.kurtosistech.custom.custom_network: "devnet"
profiles:
- dex-l2-deployer
networks:
surge:
name: surge-network
external: true