forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.rc1
475 lines (376 loc) · 23.9 KB
/
.env.rc1
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# Don't use "//" for comments in this file.
# This file is meant to be executed as a bash script for testing.
ENV_TYPE="production"
GETH_VERBOSITY=2
GETH_ENABLE_METRICS=false
VM_BASED=true
KUBERNETES_CLUSTER_NAME="mainnet"
KUBERNETES_CLUSTER_ZONE="us-west1-a"
CLUSTER_DOMAIN_NAME="celo-testnet"
TESTNET_PROJECT_NAME="celo-testnet-production"
AZURE_KOMENCI_SOUTHBR_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_KOMENCI_SOUTHBR_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_KOMENCI_SOUTHBR_AZURE_REGION_NAME=br
AZURE_KOMENCI_SEA_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_KOMENCI_SEA_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_KOMENCI_SEA_AZURE_REGION_NAME=sea
BLOCKSCOUT_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/blockscout"
BLOCKSCOUT_DOCKER_IMAGE_TAG="0362f9f4d1d4842f27adb634d628f969f53c046d"
BLOCKSCOUT_DB_SUFFIX=3
BLOCKSCOUT_SUBNETWORK_NAME="Celo"
BLOCKSCOUT_METADATA_CRAWLER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
BLOCKSCOUT_METADATA_CRAWLER_IMAGE_TAG="metadata-crawler-007f29dc8ebf837543e6e28a14818076e88c69cd"
BLOCKSCOUT_METADATA_CRAWLER_SCHEDULE="0 */2 * * *"
METADATA_CRAWLER_DISCORD_CLUSTER_NAME="Mainnet"
CELOSTATS_SERVER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celostats-server"
CELOSTATS_SERVER_DOCKER_IMAGE_TAG="b4231e1b224f38153c1ccb4263eb08b8b687eb8c"
CELOSTATS_FRONTEND_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celostats-frontend"
CELOSTATS_FRONTEND_DOCKER_IMAGE_TAG="e659c81fe66ad3926a5c8cc46782bde731bb3280"
CELOSTATS_TRUSTED_ADDRESSES=""
CELOSTATS_BANNED_ADDRESSES=""
CELOSTATS_RESERVED_ADDRESSES=""
GETH_NODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-org/geth"
# When upgrading change this to latest commit hash from the master of the geth repo
# `geth $ git show | head -n 1`
GETH_NODE_DOCKER_IMAGE_TAG="1.3.2"
GETH_BOOTNODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-org/geth-all"
# When upgrading change this to latest commit hash from the master of the geth repo
# `geth $ git show | head -n 1`
GETH_BOOTNODE_DOCKER_IMAGE_TAG="1.3.2"
CELOTOOL_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
CELOTOOL_DOCKER_IMAGE_TAG="celotool-1e67ff7e2a9c5c17cd328af700cc0173f1ec3e4a"
CELOCLI_STANDALONE_IMAGE_REPOSITORY="gcr.io/celo-testnet/celocli-standalone"
CELOCLI_STANDALONE_IMAGE_TAG="0.0.42"
# Schedule for an oracle deployed via celotool, expressed in crontab syntax
# This schedule is "every 5th minute"
MOCK_ORACLE_CRON_SCHEDULE="*/5 * * * *"
ORACLE_DOCKER_IMAGE_REPOSITORY="celoprod.azurecr.io/oracle/mainnet"
ORACLE_DOCKER_IMAGE_TAG="349260e6a33f6d472fceeb00f03f7d059969c4e1"
ORACLE_UNUSED_ORACLE_ADDRESSES=0xB93Fe7906ea4221b3fbe23412D18Ab1B07FE2F71,0x8d25D74E43789079Ef3C6B965c3D22b63A1233aC,0xCD88Cc79342a7cFE78E91FAa173eC87704bDcA9a,0x5091110175318A2A8aF88309D1648c1D84d31B29,0xBBd6e54Af7A5722f42461C6313F37Bd50729F195,0xE23a4c6615669526Ab58E9c37088bee4eD2b2dEE
# ---- Full Node Chain Restore ----
USE_GSTORAGE_DATA=true
GSTORAGE_DATA_BUCKET=celo-chain-backup/mainnet
# ---- Contexts ----
# A list of every valid context. Must start with one of: gcp,aws,azure
# each context should have its own environment variables, generally of the form
# <context in all caps and underscores>_*
CONTEXTS=azure-oracle-westus,azure-oracle-westeurope,azure-oracle-eastus2,gcp-forno-us-west1,gcp-forno-us-east1,gcp-forno-asia-east1,gcp-forno-europe-west1,gcp-forno-southamerica-east1,azure-komenci-southbr,azure-komenci-sea,azure-odis-westus2-a,azure-odis-eastasia-a,azure-odis-westeurope-a,azure-odis-brazilsouth-a
# ---- Oracle Contexts ----
AZURE_ORACLE_WESTUS_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_WESTUS_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ORACLE_WESTUS_AZURE_REGION_NAME=wus
AZURE_ORACLE_WESTUS_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-oracles-westus2
AZURE_ORACLE_WESTUS_KUBERNETES_CLUSTER_NAME=mainnet-oracles-westus2v1
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_ORACLE_WESTUS_CELOUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x0aee051be85ba9c7c1bc635fb76b52039341ab26:mainnet-oracle0:mainnet-oracles-westus2,0xd3405621f6cdcd95519a79d37f91c78e7c79cefa:mainnet-oracle1:mainnet-oracles-westus2,0xe037f31121f3a96c0cc49d0cf55b2f5d6deff19e:mainnet-oracle2:mainnet-oracles-westus2,0x12bad172b47287a754048f0d294221a499d1690f:mainnet-oracle3:mainnet-oracles-westus2,0xacad5b2913e21ccc073b80e431fec651cd8231c6:mainnet-oracle4:mainnet-oracles-westus2
AZURE_ORACLE_WESTUS_CELOEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xC5280DDbDEC37540436935C01C912869B2d5Ae1c:mainnet-eur-oracle-wus0:mainnet-oracles-westus2,0xBD955F84e11EE53095F9068b88C9d2Ffd3Def707:mainnet-eur-oracle-wus1:mainnet-oracles-westus2,0xb8bDBfdd591a5be5980983A7ba1710a5F46f42B5:mainnet-eur-oracle-wus2:mainnet-oracles-westus2,0x929Ad7f2b781CE830014E824CA2eF0b7b8de87C2:mainnet-eur-oracle-wus3:mainnet-oracles-westus2,0xCCC0B54edD8dAe3c15b5C002dd5d348495d4f7fe:mainnet-eur-oracle-wus4:mainnet-oracles-westus2
AZURE_ORACLE_WESTUS_FULL_NODES_COUNT=5
AZURE_ORACLE_WESTUS_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_WESTUS_FULL_NODES_DISK_SIZE=100
AZURE_ORACLE_WESTEUROPE_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_WESTEUROPE_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ORACLE_WESTEUROPE_AZURE_REGION_NAME=weu
AZURE_ORACLE_WESTEUROPE_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-oracles-westeurope
AZURE_ORACLE_WESTEUROPE_KUBERNETES_CLUSTER_NAME=mainnet-oracles-westeurope
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_ORACLE_WESTEUROPE_CELOUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xfe9925e6ae9c4cd50ae471b90766aaef37ad307e:mainnet-oracle-eu0:mainnet-oracles-westeurope,0x641c6466dae2c0b1f1f4f9c547bc3f54f4744a1d:mainnet-oracle-eu1:mainnet-oracles-westeurope,0x75becd8e400552bac29cbe0534d8c7d6cba49979:mainnet-oracle-eu2:mainnet-oracles-westeurope,0x223ab67272891dd352194be61597042ecf9c272a:mainnet-oracle-eu3:mainnet-oracles-westeurope,0xca9ae47493f763a7166ab8310686b197984964b4:mainnet-oracle-eu4:mainnet-oracles-westeurope
AZURE_ORACLE_WESTEUROPE_CELOEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x87C45738DAd8Dc3D2b1cCe779E0766329cc408C6:mainnet-eur-oracle-weu0:mainnet-oracles-westeurope,0xeF1E143C554EFC43B0537Af00Ac27C828dE6cF8D:mainnet-eur-oracle-weu1:mainnet-oracles-westeurope,0xF4B4AA107F30206EA019DE145A9b778a220f9fc0:mainnet-eur-oracle-weu2:mainnet-oracles-westeurope,0x24c303e6395DD19806F739619960A311764e3F40:mainnet-eur-oracle-weu3:mainnet-oracles-westeurope,0xDA413875FB45E5905950Bc08a908ebD246Ee6581:mainnet-eur-oracle-weu5:mainnet-oracles-westeurope
AZURE_ORACLE_WESTEUROPE_FULL_NODES_COUNT=5
AZURE_ORACLE_WESTEUROPE_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_WESTEUROPE_FULL_NODES_DISK_SIZE=100
AZURE_ORACLE_EASTUS2_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_EASTUS2_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ORACLE_EASTUS2_AZURE_REGION_NAME=eus2
AZURE_ORACLE_EASTUS2_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-oracles-eastus2
AZURE_ORACLE_EASTUS2_KUBERNETES_CLUSTER_NAME=mainnet-oracles-eastus2
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
# Set these when needed
AZURE_ORACLE_EASTUS2_CELOUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=
AZURE_ORACLE_EASTUS2_FULL_NODES_COUNT=3
AZURE_ORACLE_EASTUS2_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_EASTUS2_FULL_NODES_DISK_SIZE=100
# ---- Forno ----
# ---- General Forno ----
# A list of every context that forno will use.
FORNO_FULL_NODE_CONTEXTS=gcp-forno-us-west1,gcp-forno-us-east1,gcp-forno-asia-east1,gcp-forno-europe-west1,gcp-forno-southamerica-east1
# A list of domains to provision the SSL certificate for
FORNO_DOMAINS=rc1-forno-k8s.celo-testnet.org.,forno.celo.org.
# All forno clusters must be in this VPC
FORNO_VPC_NETWORK_NAME=rc1-network
# ---- Forno Contexts ----
GCP_FORNO_US_WEST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_FORNO_US_WEST1_GCP_ZONE=us-west1-a
GCP_FORNO_US_WEST1_KUBERNETES_CLUSTER_NAME=rc1-us-west1
GCP_FORNO_US_WEST1_FULL_NODES_COUNT=10
GCP_FORNO_US_WEST1_FULL_NODES_ROLLING_UPDATE_PARTITION=0
GCP_FORNO_US_WEST1_FULL_NODES_DISK_SIZE=100
# NOTE: If these fullnodes are used for static nodes, changing this will result
# in the full nodes having a different nodekey
GCP_FORNO_US_WEST1_FULL_NODES_NODEKEY_DERIVATION_STRING=GCP_US_WEST1
# suffix of the static nodes file, e.g. `<env>.<suffix>`
GCP_FORNO_US_WEST1_FULL_NODES_STATIC_NODES_FILE_SUFFIX=gcp-us-west1
GCP_FORNO_US_EAST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_FORNO_US_EAST1_GCP_ZONE=us-east1-b
GCP_FORNO_US_EAST1_KUBERNETES_CLUSTER_NAME=rc1-us-east1
GCP_FORNO_US_EAST1_FULL_NODES_COUNT=10
GCP_FORNO_US_EAST1_FULL_NODES_ROLLING_UPDATE_PARTITION=0
GCP_FORNO_US_EAST1_FULL_NODES_DISK_SIZE=100
# NOTE: If these fullnodes are used for static nodes, changing this will result
# in the full nodes having a different nodekey
GCP_FORNO_US_EAST1_FULL_NODES_NODEKEY_DERIVATION_STRING=GCP_US_EAST1
# suffix of the static nodes file, e.g. `<env>.<suffix>`
GCP_FORNO_US_EAST1_FULL_NODES_STATIC_NODES_FILE_SUFFIX=gcp-us-east1
GCP_FORNO_ASIA_EAST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_FORNO_ASIA_EAST1_GCP_ZONE=asia-east1-a
GCP_FORNO_ASIA_EAST1_KUBERNETES_CLUSTER_NAME=rc1-asia-east1
GCP_FORNO_ASIA_EAST1_FULL_NODES_COUNT=10
GCP_FORNO_ASIA_EAST1_FULL_NODES_ROLLING_UPDATE_PARTITION=0
GCP_FORNO_ASIA_EAST1_FULL_NODES_DISK_SIZE=100
# NOTE: If these fullnodes are used for static nodes, changing this will result
# in the full nodes having a different nodekey
GCP_FORNO_ASIA_EAST1_FULL_NODES_NODEKEY_DERIVATION_STRING=GCP_ASIA_EAST1
# suffix of the static nodes file, e.g. `<env>.<suffix>`
GCP_FORNO_ASIA_EAST1_FULL_NODES_STATIC_NODES_FILE_SUFFIX=gcp-asia-east1
GCP_FORNO_EUROPE_WEST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_FORNO_EUROPE_WEST1_GCP_ZONE=europe-west1-b
GCP_FORNO_EUROPE_WEST1_KUBERNETES_CLUSTER_NAME=rc1-europe-west1
GCP_FORNO_EUROPE_WEST1_FULL_NODES_COUNT=10
GCP_FORNO_EUROPE_WEST1_FULL_NODES_ROLLING_UPDATE_PARTITION=0
GCP_FORNO_EUROPE_WEST1_FULL_NODES_DISK_SIZE=100
# NOTE: If these fullnodes are used for static nodes, changing this will result
# in the full nodes having a different nodekey
GCP_FORNO_EUROPE_WEST1_FULL_NODES_NODEKEY_DERIVATION_STRING=GCP_EUROPE_WEST1
# suffix of the static nodes file, e.g. `<env>.<suffix>`
GCP_FORNO_EUROPE_WEST1_FULL_NODES_STATIC_NODES_FILE_SUFFIX=gcp-europe-west1
GCP_FORNO_SOUTHAMERICA_EAST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_FORNO_SOUTHAMERICA_EAST1_GCP_ZONE=southamerica-east1-a
GCP_FORNO_SOUTHAMERICA_EAST1_KUBERNETES_CLUSTER_NAME=rc1-southamerica-east1
GCP_FORNO_SOUTHAMERICA_EAST1_FULL_NODES_COUNT=10
GCP_FORNO_SOUTHAMERICA_EAST1_FULL_NODES_ROLLING_UPDATE_PARTITION=0
GCP_FORNO_SOUTHAMERICA_EAST1_FULL_NODES_DISK_SIZE=100
# NOTE: If these fullnodes are used for static nodes, changing this will result
# in the full nodes having a different nodekey
GCP_FORNO_SOUTHAMERICA_EAST1_FULL_NODES_NODEKEY_DERIVATION_STRING=GCP_SOUTHAMERICA_EAST1
# suffix of the static nodes file, e.g. `<env>.<suffix>`
GCP_FORNO_SOUTHAMERICA_EAST1_FULL_NODES_STATIC_NODES_FILE_SUFFIX=gcp-southamerica-east1
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_TAG="transaction-metrics-exporter-f4a55e143932ea559cf4bcbd9bcccc14da43d6ed"
# This is still being used-- we have 2 eksportisto deployments at the moment.
# Uncomment if an upgrade for suffix 8 is needed:
# EKSPORTISTO_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/eksportisto"
# EKSPORTISTO_DOCKER_IMAGE_TAG="5bdf79c3b079c4ca15da37142056520f25101880"
# EKSPORTISTO_SUFFIX='8'
EKSPORTISTO_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/eksportisto"
EKSPORTISTO_DOCKER_IMAGE_TAG="d8790cff0a91fbed82009eaccec232548a91faf4"
EKSPORTISTO_SUFFIX='11'
ATTESTATION_SERVICE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/celo-monorepo"
ATTESTATION_SERVICE_DOCKER_IMAGE_TAG="attestation-service-f4a55e143932ea559cf4bcbd9bcccc14da43d6ed"
# Genesis Vars
NETWORK_ID=42220
CONSENSUS_TYPE="istanbul"
BLOCK_TIME=5
EPOCH=17280
LOOKBACK=12
ISTANBUL_REQUEST_TIMEOUT_MS=3000
# the number of load test clients that will be given funds in the genesis & migrations
LOAD_TEST_CLIENTS=0
# every 7.2 seconds, so that 500 transactions are sent by a client every hour
# to simulate 10,000 total transactions per hour
LOAD_TEST_TX_DELAY_MS=7200
# the amount in cUSD wei to give faucet, load test, and attestation bot accounts
FAUCET_CUSD_WEI=0
# Baklava is run entirely by non-cLabs validators
VALIDATORS=0
PROXIED_VALIDATORS=0
ELECTION_MIN_VALIDATORS=22
TX_NODES=10
# Nodes whose RPC ports are only internally exposed
PRIVATE_TX_NODES=4
# STATIC_IPS_FOR_GETH_NODES=false
# Whether tx_nodes/validators stateful set should use ssd persistent disks
# GETH_NODES_SSD_DISKS=true
IN_MEMORY_DISCOVERY_TABLE=false
# PING_IP_FROM_PACKET=false
CLUSTER_CREATION_FLAGS="--enable-autoscaling --min-nodes 3 --max-nodes 8 --machine-type=n1-standard-4"
GETH_NODE_CPU_REQUEST=400m
GETH_NODE_MEMORY_REQUEST=2.5G
# Used for validators, proxies, and tx_nodes
NODE_DISK_SIZE_GB=100
# Used for private tx_nodes (gcmode archive)
PRIVATE_NODE_DISK_SIZE_GB=200
VERIFICATION_POOL_URL="https://us-central1-celo-testnet.cloudfunctions.net/handleVerificationRequestbaklava/v0.1/sms/"
VERIFICATION_REWARDS_URL="https://us-central1-celo-testnet.cloudfunctions.net/handleVerificationRequestbaklava/v0.1/rewards/"
STACKDRIVER_MONITORING_DASHBOARD="https://app.google.stackdriver.com/dashboards/197781899751508281?project=celo-testnet-production"
STACKDRIVER_NOTIFICATION_CHANNEL_APPLICATIONS="1083771334675648656"
STACKDRIVER_NOTIFICATION_CHANNEL_PROTOCOL="2682373089687648093"
STACKDRIVER_NOTIFICATION_APPLICATIONS_PREFIX="notification-service-,blockchain-api-,faucet-"
MOBILE_WALLET_PLAYSTORE_LINK="https://play.google.com/apps/internaltest/4700990475000634666"
# Attestation Bot variables
ATTESTATION_BOT_INITIAL_WAIT_SECONDS=600
ATTESTATION_BOT_IN_BETWEEN_WAIT_SECONDS=600
ATTESTATION_BOT_MAX_ATTESTATIONS=90
# Number of gold-holding bots that vote for validator groups
VOTING_BOTS=0
# 10,000 CG
VOTING_BOT_BALANCE=10000000000000000000000
# Probability that a given bot account will participate in the current epoch's voting
VOTING_BOT_WAKE_PROBABILITY=0
# Baseline probability of changing vote once woken. If the group that this bot account
# has currently voted for is 1, this is the probability the bot will change their vote
VOTING_BOT_CHANGE_BASELINE=0
# The probability that when choosing a new group to vote for, it will choose a never-elected group
# Should be in the range of 0 to 1. Lower values bias towards incumbency. Higher values bias
# towards novelty.
VOTING_BOT_EXPLORE_PROBABILITY=0.6
# This value is used to determine how heavily a group's score weigh in the bot's voting decision
# Should be a positive number. 1 is a linear relationship. Higher values increase the separation
# among high scores. Less than 1 has a steep drop-off for low-scoring groups.
VOTING_BOT_SCORE_SENSITIVITY=1
# Schedule for the voting bot process, deployed via celotool, expressed in crontab syntax
# Minimum epoch length is 1 hour. This cron schedule is "every hour at minute 1", in order
# to run once an epoch.
# Notes:
# - if an epoch takes longer, this will occasionally run twice in an epoch
# - Running on minute 1 is arbitrary. This could be any value from 0-59.
VOTING_BOT_CRON_SCHEDULE="1 * * * *"
# --- ODIS ---
# ODIS azure k8s deployments
ODIS_SIGNER_DOCKER_IMAGE_REPOSITORY=us.gcr.io/celo-testnet/celo-monorepo
ODIS_SIGNER_DOCKER_IMAGE_TAG=oblivious-decentralized-identifier-service-1.1.4
ODIS_SIGNER_BLOCKCHAIN_PROVIDER="https://forno.celo.org"
# Options: json, human (default), stackdriver
LOG_FORMAT=stackdriver
# Options: fatal, error, warn, info (default), debug, trace
LOG_LEVEL=info
# ODIS signer WESTUS2 A Azure info
AZURE_ODIS_WESTUS2_A_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ODIS_WESTUS2_A_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_WESTUS2_A_AZURE_REGION_NAME=weus2
# ODIS signer WESTUS2 A K8S cluster info
AZURE_ODIS_WESTUS2_A_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-pgpnp-westus2
AZURE_ODIS_WESTUS2_A_KUBERNETES_CLUSTER_NAME=odis-mainnet-westus2-a-v2
# ODIS signer WESTUS2 A Postgres DB
AZURE_ODIS_WESTUS2_A_ODIS_SIGNER_DB_HOST=mainnet-pgpnp-db-westus2.postgres.database.azure.com
AZURE_ODIS_WESTUS2_A_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_WESTUS2_A_ODIS_SIGNER_DB_USERNAME=clabs@mainnet-pgpnp-db-westus2
# ODIS signer WESTUS2 A Key Vault
AZURE_ODIS_WESTUS2_A_ODIS_SIGNER_AZURE_KEYVAULT_NAME=mainnet-pgpnp-westus2
AZURE_ODIS_WESTUS2_A_ODIS_SIGNER_AZURE_KEYVAULT_SECRET_NAME=bls-share
# ODIS signer WESTUS2 A Network
AZURE_ODIS_WESTUS2_A_ODIS_NETWORK=mainnet
# ODIS signer WESTUS2 A Prometheus config
AZURE_ODIS_WESTUS2_A_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_WESTUS2_A_PROM_SCRAPE_LABELS="_generic_location: us-west2,_generic_namespace: odis-signer"
AZURE_ODIS_WESTUS2_A_PROM_SCRAPE_TARGETS="odis-mainnet-westus2-a-v2.rc1:3000"
AZURE_ODIS_WESTUS2_A_PROM_SIDECAR_GCP_PROJECT=celo-pgpnp-mainnet
AZURE_ODIS_WESTUS2_A_PROM_SIDECAR_GCP_REGION=us-west2
# ODIS signer WESTEUROPE A Azure info
AZURE_ODIS_WESTEUROPE_A_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ODIS_WESTEUROPE_A_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_WESTEUROPE_A_AZURE_REGION_NAME=weeu
# ODIS signer WESTEUROPE A K8S cluster info
AZURE_ODIS_WESTEUROPE_A_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-pgpnp-westeurope
AZURE_ODIS_WESTEUROPE_A_KUBERNETES_CLUSTER_NAME=odis-mainnet-westeurope-a-v2
# ODIS signer WESTEUROPE A Postgres DB
AZURE_ODIS_WESTEUROPE_A_ODIS_SIGNER_DB_HOST=mainnet-pgpnp-westeurope.postgres.database.azure.com
AZURE_ODIS_WESTEUROPE_A_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_WESTEUROPE_A_ODIS_SIGNER_DB_USERNAME=cLabs@mainnet-pgpnp-westeurope
# ODIS signer WESTEUROPE A Key Vault
AZURE_ODIS_WESTEUROPE_A_ODIS_SIGNER_AZURE_KEYVAULT_NAME=mainnet-pgpnp-westeurope
AZURE_ODIS_WESTEUROPE_A_ODIS_SIGNER_AZURE_KEYVAULT_SECRET_NAME=bls-share
# ODIS signer WESTEUROPE A Network
AZURE_ODIS_WESTEUROPE_A_ODIS_NETWORK=mainnet
# ODIS signer WESTEUROPE A Prometheus config
AZURE_ODIS_WESTEUROPE_A_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_WESTEUROPE_A_PROM_SCRAPE_LABELS="_generic_location: europe-west2-a,_generic_namespace: odis-signer"
AZURE_ODIS_WESTEUROPE_A_PROM_SCRAPE_TARGETS="odis-mainnet-westeurope-a-v2.rc1:3000"
AZURE_ODIS_WESTEUROPE_A_PROM_SIDECAR_GCP_PROJECT=celo-pgpnp-mainnet
AZURE_ODIS_WESTEUROPE_A_PROM_SIDECAR_GCP_REGION=europe-west2-a
# ODIS signer EASTASIA A Azure info
AZURE_ODIS_EASTASIA_A_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ODIS_EASTASIA_A_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_EASTASIA_A_AZURE_REGION_NAME=eaas
# ODIS signer EASTASIA A K8S cluster info
AZURE_ODIS_EASTASIA_A_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-pgpnp-eastasia
AZURE_ODIS_EASTASIA_A_KUBERNETES_CLUSTER_NAME=odis-mainnet-eastasia-a
# ODIS signer EASTASIA A Postgres DB
AZURE_ODIS_EASTASIA_A_ODIS_SIGNER_DB_HOST=mainnet-pgpnp-db-eastasia.postgres.database.azure.com
AZURE_ODIS_EASTASIA_A_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_EASTASIA_A_ODIS_SIGNER_DB_USERNAME=clabs@mainnet-pgpnp-db-eastasia
# ODIS signer EASTASIA A Key Vault
AZURE_ODIS_EASTASIA_A_ODIS_SIGNER_AZURE_KEYVAULT_NAME=mainnet-pgpnp-eastasia
AZURE_ODIS_EASTASIA_A_ODIS_SIGNER_AZURE_KEYVAULT_SECRET_NAME=bls-share
# ODIS signer EASTASIA A Network
AZURE_ODIS_EASTASIA_A_ODIS_NETWORK=mainnet
# ODIS signer EASTASIA A Prometheus config
AZURE_ODIS_EASTASIA_A_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_EASTASIA_A_PROM_SCRAPE_LABELS="_generic_location: asia-east1-a,_generic_namespace: odis-signer"
AZURE_ODIS_EASTASIA_A_PROM_SCRAPE_TARGETS="odis-mainnet-eastasia-a.rc1:3000"
AZURE_ODIS_EASTASIA_A_PROM_SIDECAR_GCP_PROJECT=celo-pgpnp-mainnet
AZURE_ODIS_EASTASIA_A_PROM_SIDECAR_GCP_REGION=asia-east1-a
# ODIS signer BRAZILSOUTH A Azure info
AZURE_ODIS_BRAZILSOUTH_A_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ODIS_BRAZILSOUTH_A_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ODIS_BRAZILSOUTH_A_AZURE_REGION_NAME=brso
# ODIS signer BRAZILSOUTH A K8S cluster info
AZURE_ODIS_BRAZILSOUTH_A_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-pgpnp-brazilsouth
AZURE_ODIS_BRAZILSOUTH_A_KUBERNETES_CLUSTER_NAME=odis-mainnet-brazilsouth-a-v2
# ODIS signer BRAZILSOUTH A Postgres DB
AZURE_ODIS_BRAZILSOUTH_A_ODIS_SIGNER_DB_HOST=mainnet-pgpnp-db-brazilsouth.postgres.database.azure.com
AZURE_ODIS_BRAZILSOUTH_A_ODIS_SIGNER_DB_PORT=5432
AZURE_ODIS_BRAZILSOUTH_A_ODIS_SIGNER_DB_USERNAME=clabs@mainnet-pgpnp-db-brazilsouth
# ODIS signer BRAZILSOUTH A Key Vault
AZURE_ODIS_BRAZILSOUTH_A_ODIS_SIGNER_AZURE_KEYVAULT_NAME=mainnet-pgpnp-brazil
AZURE_ODIS_BRAZILSOUTH_A_ODIS_SIGNER_AZURE_KEYVAULT_SECRET_NAME=bls-share
# ODIS signer BRAZILSOUTH A Network
AZURE_ODIS_BRAZILSOUTH_A_ODIS_NETWORK=mainnet
# ODIS signer BRAZILSOUTH A Prometheus config
AZURE_ODIS_BRAZILSOUTH_A_PROM_SCRAPE_JOB_NAME=scrape-odis
AZURE_ODIS_BRAZILSOUTH_A_PROM_SCRAPE_LABELS="_generic_location: southamerica-east1-a,_generic_namespace: odis-signer"
AZURE_ODIS_BRAZILSOUTH_A_PROM_SCRAPE_TARGETS="odis-mainnet-brazilsouth-a-v2.rc1:3000"
AZURE_ODIS_BRAZILSOUTH_A_PROM_SIDECAR_GCP_PROJECT=celo-pgpnp-mainnet
AZURE_ODIS_BRAZILSOUTH_A_PROM_SIDECAR_GCP_REGION=southamerica-east1-a
# --- Komenci ---
KOMENCI_DOCKER_IMAGE_REPOSITORY="celotestnet.azurecr.io/komenci/komenci"
KOMENCI_DOCKER_IMAGE_TAG="f1119833e7ad90ad741b2b509a1ad4ac647799ff"
AZURE_KOMENCI_SOUTHBR_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-komenci-brazil
AZURE_KOMENCI_SOUTHBR_KUBERNETES_CLUSTER_NAME=mainnet-komenci-brazil
AZURE_KOMENCI_SOUTHBR_KOMENCI_DB_HOST=mainnet-komenci-brazil.postgres.database.azure.com
AZURE_KOMENCI_SOUTHBR_KOMENCI_DB_PORT=5432
AZURE_KOMENCI_SOUTHBR_KOMENCI_DB_USERNAME=postgres@mainnet-komenci-brazil
AZURE_KOMENCI_SOUTHBR_KOMENCI_DB_PASSWORD_VAULT_NAME=mainnet-komenci-brazil
AZURE_KOMENCI_SEA_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-komenci-southeastasia
AZURE_KOMENCI_SEA_KUBERNETES_CLUSTER_NAME=mainnet-komenci-southeastasia
AZURE_KOMENCI_SEA_KOMENCI_DB_HOST=mainnet-komenci-southeastasia.postgres.database.azure.com
AZURE_KOMENCI_SEA_KOMENCI_DB_PORT=5432
AZURE_KOMENCI_SEA_KOMENCI_DB_USERNAME=postgres@mainnet-komenci-southeastasia
AZURE_KOMENCI_SEA_KOMENCI_DB_PASSWORD_VAULT_NAME=mainnet-komenci-sea
AZURE_SEA_KOMENCI_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-komenci-southeastasia
AZURE_SEA_KOMENCI_KUBERNETES_CLUSTER_NAME=mainnet-komenci-southeastasia
AZURE_SEA_KOMENCI_DB_HOST=mainnet-komenci-southeastasia.postgres.database.azure.com
AZURE_SEA_KOMENCI_DB_PORT=5432
AZURE_SEA_KOMENCI_DB_USERNAME=postgres@mainnet-komenci-southeastasia
AZURE_SEA_KOMENCI_DB_PASSWORD_VAULT_NAME=mainnet-komenci-sea
# App Secrets
AZURE_KOMENCI_SOUTHBR_KOMENCI_APP_SECRETS_VAULT_NAME=mainnet-komenci-brazil
AZURE_KOMENCI_SEA_KOMENCI_APP_SECRETS_VAULT_NAME=mainnet-komenci-sea
# Rule config > Captcha
KOMENCI_RULE_CONFIG_CAPTCHA_BYPASS_TOKEN=special-captcha-bypass-token
AZURE_KOMENCI_SOUTHBR_KOMENCI_RULE_CONFIG_CAPTCHA_BYPASS_ENABLED=false
AZURE_KOMENCI_SEA_KOMENCI_RULE_CONFIG_CAPTCHA_BYPASS_ENABLED=false
# Relayer identities
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_KOMENCI_SOUTHBR_KOMENCI_ADDRESS_AZURE_KEY_VAULTS=0x21888ae301658cdff7ce8c33cdf83a330a5e6273:mainnet-relayer0,0x1438128a2dcc645f0b9706350c1f5dad04845fe6:mainnet-relayer1,0x1e36bf42272a0693eba69332a6f623ce37694a27:mainnet-relayer2,0xd5afaaa7256c9eb86376c4214635dd56dffbd3a8:mainnet-relayer3,0xb09eba8bc1c8bedadd634a8219c0b09042170903:mainnet-relayer4
AZURE_KOMENCI_SEA_KOMENCI_ADDRESS_AZURE_KEY_VAULTS=0x85a1e716608a84f455d7e07befb76c9b540ac040:mainnet-relayer5,0x2a094e77acf3faebb63279eb60e26d144b9048a2:mainnet-relayer6,0x2f23f9a8f68294a9d6b479c3dbe3dff4de510ced:mainnet-relayer7,0x3db3150c1267d3adeb7f960f3eef11c1dd47a38b:mainnet-relayer8,0xe170915ce32bb8e2ce2a4fcd9113e5298a2e10d2:mainnet-relayer9
# Network
AZURE_KOMENCI_SOUTHBR_KOMENCI_NETWORK=rc1
AZURE_KOMENCI_SEA_KOMENCI_NETWORK=rc1
# For WalletConnect relay
WALLET_CONNECT_IMAGE_REPOSITORY = 'us.gcr.io/celo-testnet/walletconnect'
WALLET_CONNECT_IMAGE_TAG = '1472bcaad57e3746498f7a661c42ff5cf9acaf5a'
WALLET_CONNECT_REDIS_CLUSTER_ENABLED = false
WALLET_CONNECT_REDIS_CLUSTER_USEPASSWORD = false