forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.baklava
227 lines (179 loc) · 13.3 KB
/
.env.baklava
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
# 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=true
VM_BASED=false
KUBERNETES_CLUSTER_NAME="baklavastaging"
KUBERNETES_CLUSTER_ZONE="us-west1-a"
CLUSTER_DOMAIN_NAME="celo-testnet"
TESTNET_PROJECT_NAME="celo-testnet-production"
BLOCKSCOUT_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/blockscout"
BLOCKSCOUT_DOCKER_IMAGE_TAG="0362f9f4d1d4842f27adb634d628f969f53c046d"
BLOCKSCOUT_DB_SUFFIX=2
BLOCKSCOUT_SUBNETWORK_NAME="Baklava"
BLOCKSCOUT_METADATA_CRAWLER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
BLOCKSCOUT_METADATA_CRAWLER_IMAGE_TAG="metadata-crawler-007f29dc8ebf837543e6e28a14818076e88c69cd"
BLOCKSCOUT_METADATA_CRAWLER_SCHEDULE="*/30 * * * *"
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"
GETH_NODE_DOCKER_IMAGE_TAG="1.3.2"
GETH_BOOTNODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-org/geth-all"
GETH_BOOTNODE_DOCKER_IMAGE_TAG="1.3.2"
CELOTOOL_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
CELOTOOL_DOCKER_IMAGE_TAG="celotool-5efbc25a2b818caa9a47d0bc0d5647e295699d51"
CELOCLI_STANDALONE_IMAGE_REPOSITORY="gcr.io/celo-testnet/celocli-standalone"
CELOCLI_STANDALONE_IMAGE_TAG="0.0.30-beta2"
ORACLE_DOCKER_IMAGE_REPOSITORY="celoprod.azurecr.io/oracle/baklava"
ORACLE_DOCKER_IMAGE_TAG="349260e6a33f6d472fceeb00f03f7d059969c4e1"
# ---- Full Node Chain Restore ----
USE_GSTORAGE_DATA=true
GSTORAGE_DATA_BUCKET=celo-chain-backup/baklava
# ---- Contexts ----
# each context should have its own environment variables, generally of the form
# <context in all caps and underscores>_*
CONTEXTS=azure-oracle-westus2,azure-oracle-centralus,gcp-forno-europe-west1
# ---- Oracle Contexts ----
AZURE_ORACLE_WESTUS2_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_WESTUS2_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ORACLE_WESTUS2_AZURE_KUBERNETES_RESOURCE_GROUP=baklava-oracles-westus2
AZURE_ORACLE_WESTUS2_AZURE_REGION_NAME=westus2
AZURE_ORACLE_WESTUS2_KUBERNETES_CLUSTER_NAME=baklava-oracles-westus2
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_ORACLE_WESTUS2_CELOUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xd71fea6b92d3f21f659152589223385a7329bb11:baklava-oracle:baklava-oracles-westus2,0x1e477fc9b6a49a561343cd16b2c541930f5da7d2:baklava-oracle1:baklava-oracles-westus2,0x460b3f8d3c203363bb65b1a18d89d4ffb6b0c981:baklava-oracle2:baklava-oracles-westus2,0x3b522230c454ca9720665d66e6335a72327291e8:baklava-oracle3:baklava-oracles-westus2,0x0AFe167600a5542d10912f4A07DFc4EEe0769672:baklava-oracle4:baklava-oracles-westus2
AZURE_ORACLE_WESTUS2_CELOBTC_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x253d08392C5B25B8958A69d03711efb1c8998dF4:baklava-celobtc-oracle0:baklava-oracles-westus2,0x4a5D7dfA74293731E10fCa56811811Ab288Dc35c:baklava-celobtc-oracle1:baklava-oracles-westus2,0x95720eFd2277F8DA64711b105D4038C6465A5eCA:baklava-celobtc-oracle2:baklava-oracles-westus2,0x5DCE9f78AEdDFc1d5E03a96b2b74ee0BD4B5a563:baklava-celobtc-oracle3:baklava-oracles-westus2,0x9568A9140782b479a5777A9581f6d60Eda4CB182:baklava-celobtc-oracle4:baklava-oracles-westus2
AZURE_ORACLE_WESTUS2_CELOEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xC7D2B97d104f71a4E1E773A99886ca7ad8a5CCF8:baklava-celoeur-oracle0:baklava-oracles-westus2,0x70E4F7Bc64d878091cFB8eDF30C3968095178216:baklava-celoeur-oracle1:baklava-oracles-westus2,0x042aC21b9CDA6171881135884DE16CF6aCa78375:baklava-celoeur-oracle2:baklava-oracles-westus2,0xc496d108C6781Fbc9967E48873Eac2eA14ca119a:baklava-celoeur-oracle3:baklava-oracles-westus2,0x54050b55eD9f78Ef143B5182E8C767A101DFe9CC:baklava-celoeur-oracle4:baklava-oracles-westus2
AZURE_ORACLE_WESTUS2_FULL_NODES_COUNT=2
AZURE_ORACLE_WESTUS2_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_WESTUS2_FULL_NODES_DISK_SIZE=30
AZURE_ORACLE_CENTRALUS_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_CENTRALUS_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_ORACLE_CENTRALUS_AZURE_KUBERNETES_RESOURCE_GROUP=baklava-oracles-centralus
AZURE_ORACLE_CENTRALUS_AZURE_REGION_NAME=centralus
AZURE_ORACLE_CENTRALUS_KUBERNETES_CLUSTER_NAME=baklava-oracles-centralus
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_ORACLE_CENTRALUS_CELOUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x412ebe7859e9aa71ff5ce4038596f6878c359c96:baklava-oracle5:baklava-oracles-centralus,0xbbfe73df8b346b3261b19ac91235888aba36d68c:baklava-oracle6:baklava-oracles-centralus,0x02b1d1bea682fcab4448c0820f5db409cce4f702:baklava-oracle7:baklava-oracles-centralus,0xe90f891710f625f18ecbf1e02efb4fd1ab236a10:baklava-oracle8:baklava-oracles-centralus,0x28c52c722df87ed11c5d7665e585e84aa93d7964:baklava-oracle9:baklava-oracles-centralus
AZURE_ORACLE_CENTRALUS_CELOBTC_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xA4fb648D6180183721c2a3Fb9D5b7841D4AA20C3:baklava-celobtc-oracle5:baklava-oracles-centralus,0x5716647dd1c618366D6B55dD421e339FEC5973ea:baklava-celobtc-oracle6:baklava-oracles-centralus,0xf7EC7C53BD02A9DE1fdED7804c93f00D53A25fd2:baklava-celobtc-oracle7:baklava-oracles-centralus,0x5F79fb6B2B388dd33b48D7d1F8ADd31ac87d3c56:baklava-celobtc-oracle8:baklava-oracles-centralus,0xdc91137F84332a5b865a4A3463E693273c735A25:baklava-celobtc-oracle9:baklava-oracles-centralus
AZURE_ORACLE_CENTRALUS_CELOEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x39862a96a28800A1f626D86f20900085705D1156:baklava-celoeur-oracle5:baklava-oracles-centralus,0xbbD2b821C7F376cB4D22b317530706D43688495e:baklava-celoeur-oracle6:baklava-oracles-centralus,0x4Ab2B594f08403b6324Cb0B172e332d8a08f1d5a:baklava-celoeur-oracle7:baklava-oracles-centralus,0x21d66472604A931211379A32710D26AFA203D190:baklava-celoeur-oracle8:baklava-oracles-centralus,0xECF4192Db52696CD08cB909e700b1F5962aa6fA2:baklava-celoeur-oracle9:baklava-oracles-centralus
AZURE_ORACLE_CENTRALUS_FULL_NODES_COUNT=2
AZURE_ORACLE_CENTRALUS_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_CENTRALUS_FULL_NODES_DISK_SIZE=30
# ---- Forno ----
# ---- General Forno ----
# A list of every context that forno will use.
FORNO_FULL_NODE_CONTEXTS=gcp-forno-europe-west1
# A list of domains to provision the SSL certificate for
FORNO_DOMAINS=baklava-forno-k8s.celo-testnet.org
# All forno clusters must be in this VPC
FORNO_VPC_NETWORK_NAME=baklava-network
# ---- Forno Contexts ----
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=baklava-europe-west1
GCP_FORNO_EUROPE_WEST1_FULL_NODES_COUNT=2
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_FORNO_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
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_TAG="transaction-metrics-exporter-dc5e5dfa07231a4ff4664816a95eae606293eae9"
EKSPORTISTO_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/eksportisto"
EKSPORTISTO_DOCKER_IMAGE_TAG="b199a634866ef34c4fa1925381dff4de40eb0a3c"
EKSPORTISTO_SUFFIX='1'
ATTESTATION_SERVICE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/celo-monorepo"
ATTESTATION_SERVICE_DOCKER_IMAGE_TAG="attestation-service-v1.2.0"
SMS_PROVIDERS=twilio,nexmo
SMS_PROVIDERS_RANDOMIZED="1"
# We only configured 15 nexmo applications. So delivery receipts from the second 15 will always go to the wrong place for now
NEXMO_APPLICATIONS=ef341798-ab17-4029-8e35-eb574aaf3a59,dfffa813-14a9-4788-a920-9ba3ea6b954f,e4dec04f-9f80-4cdf-b640-db1a5ce6f891,089bad07-739a-45e5-a0ab-c24de477cfd2,fa5fad11-5a18-4f46-954b-250915003fa6,5c53815b-658e-415b-a6e2-709cc099b5da,0b494350-524d-4e0e-8b96-96e7f6d79e62,5e5fed3e-841f-4b09-b17c-c54dfea16493,2b537eeb-8409-4477-8922-c4f1a112b8d8,9870cd94-4281-45b5-b292-c0249632126b,1fdb10b6-45c0-4555-816b-2c11007286c1,1b1f3644-8e3c-47fb-af3f-49c44c133a7e,fba4f241-14ad-402a-a871-073e40eb8b48,2cec3a9e-cdbb-4f11-ad25-d83abd23e299,e6c77355-7113-4e57-b825-17078dec0c31,ef341798-ab17-4029-8e35-eb574aaf3a59,dfffa813-14a9-4788-a920-9ba3ea6b954f,e4dec04f-9f80-4cdf-b640-db1a5ce6f891,089bad07-739a-45e5-a0ab-c24de477cfd2,fa5fad11-5a18-4f46-954b-250915003fa6,5c53815b-658e-415b-a6e2-709cc099b5da,0b494350-524d-4e0e-8b96-96e7f6d79e62,5e5fed3e-841f-4b09-b17c-c54dfea16493,2b537eeb-8409-4477-8922-c4f1a112b8d8,9870cd94-4281-45b5-b292-c0249632126b,1fdb10b6-45c0-4555-816b-2c11007286c1,1b1f3644-8e3c-47fb-af3f-49c44c133a7e,fba4f241-14ad-402a-a871-073e40eb8b48,2cec3a9e-cdbb-4f11-ad25-d83abd23e299,e6c77355-7113-4e57-b825-17078dec0c31
# Genesis Vars
NETWORK_ID=62320
CONSENSUS_TYPE="istanbul"
BLOCK_TIME=5
EPOCH=17280
LOOKBACK=12
ISTANBUL_REQUEST_TIMEOUT_MS=10000
# the number of load test clients that will be given funds in the genesis & migrations
LOAD_TEST_CLIENTS=20
# 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=60000000000000000000000
# format: <# of validators>:<proxy count>,<# of validators>:<proxy count>;...
# For vm-based testnets: The n proxied validators have to be the n first validators. Only indicate in the list the validators with proxy.
# Example: For a 10 validator testnet, 2:3,2:2,2:1 will result in Validator 0-1 with 3 proxies, 2-3 with 2 proxies, 4-5 with 1 proxy, and 6-9 with 0 proxies
VALIDATORS=6
VALIDATOR_PROXY_COUNTS=2:0,2:1,1:2,1:3
SECONDARIES=5
ELECTION_MIN_VALIDATORS=20
# TX_NODES are used for forno
TX_NODES=3
# Nodes whose RPC ports are only internally exposed. Used bu Blockscout and other internal services.
PRIVATE_TX_NODES=2
STATIC_IPS_FOR_GETH_NODES=true
# Whether tx_nodes/validators stateful set should use ssd persistent disks
GETH_NODES_SSD_DISKS=true
# Used for validators, proxies, and tx_nodes
NODE_DISK_SIZE_GB=100
# Used for private tx_nodes (gcmode archive)
PRIVATE_NODE_DISK_SIZE_GB=100
IN_MEMORY_DISCOVERY_TABLE=false
# PING_IP_FROM_PACKET=false
# Testnet vars
CLUSTER_CREATION_FLAGS="--enable-autoscaling --min-nodes 3 --max-nodes 8 --machine-type=n1-standard-4"
GETH_NODE_CPU_REQUEST=4
GETH_NODE_MEMORY_REQUEST=4Gi
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=1200
ATTESTATION_BOT_IN_BETWEEN_WAIT_SECONDS=1800
ATTESTATION_BOT_MAX_ATTESTATIONS=32
# If this is set, the bot will skip ODIS and use this salt (needed for baklava, where ODIS is not deployed)
ATTESTATION_BOT_SKIP_ODIS_SALT=bot
# Number of gold-holding bots that vote for validator groups
VOTING_BOTS=100
# 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 * * * *"
# 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