forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.rc1
234 lines (189 loc) · 10.5 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
# 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"
BLOCKSCOUT_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/blockscout"
BLOCKSCOUT_DOCKER_IMAGE_TAG="febc27dec2f8caf8745991343e9c55f2bfea5331"
BLOCKSCOUT_WEB_REPLICAS=3
BLOCKSCOUT_DB_SUFFIX=1
BLOCKSCOUT_SUBNETWORK_NAME="Celo"
BLOCKSCOUT_METADATA_CRAWLER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
BLOCKSCOUT_METADATA_CRAWLER_IMAGE_TAG="metadata-crawler-7c0ece8c21ff0fc36f3e6f8534cb3978495072ae"
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/celo-node"
# 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="mainnet"
GETH_BOOTNODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/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.0.0"
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="ed7b96fb57cf929768146f79b2c0af830e1afcac"
ORACLE_UNUSED_ORACLE_ADDRESSES=0xB93Fe7906ea4221b3fbe23412D18Ab1B07FE2F71,0x8d25D74E43789079Ef3C6B965c3D22b63A1233aC,0xCD88Cc79342a7cFE78E91FAa173eC87704bDcA9a,0x5091110175318A2A8aF88309D1648c1D84d31B29,0xBBd6e54Af7A5722f42461C6313F37Bd50729F195,0xE23a4c6615669526Ab58E9c37088bee4eD2b2dEE
# 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-westus,azure-westeurope,azure-eastus2,gcp-us-west1,gcp-us-east1,gcp-asia-east1,gcp-europe-west1,gcp-southamerica-east1
# --- Forno ---
# A list of every context that forno will use.
FORNO_FULL_NODE_CONTEXTS=gcp-us-west1,gcp-us-east1,gcp-asia-east1,gcp-europe-west1,gcp-southamerica-east1
# A list of domains to provision the SSL certificate for
FORNO_DOMAINS=rc1-forno-k8s.celo-testnet.org.,forno.celo.org.
# All clusters must be in this VPC
FORNO_VPC_NETWORK_NAME=rc1-network
AZURE_WESTUS_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_WESTUS_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_WESTUS_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-oracles-westus2
AZURE_WESTUS_KUBERNETES_CLUSTER_NAME=mainnet-oracles-westus2v1
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_WESTUS_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x0aee051be85ba9c7c1bc635fb76b52039341ab26:mainnet-oracle0,0xd3405621f6cdcd95519a79d37f91c78e7c79cefa:mainnet-oracle1,0xe037f31121f3a96c0cc49d0cf55b2f5d6deff19e:mainnet-oracle2,0x12bad172b47287a754048f0d294221a499d1690f:mainnet-oracle3,0xacad5b2913e21ccc073b80e431fec651cd8231c6:mainnet-oracle4
AZURE_WESTUS_FULL_NODES_COUNT=5
AZURE_WESTUS_FULL_NODES_DISK_SIZE=100
AZURE_WESTEUROPE_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_WESTEUROPE_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_WESTEUROPE_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-oracles-westeurope
AZURE_WESTEUROPE_KUBERNETES_CLUSTER_NAME=mainnet-oracles-westeurope
# Format should be a comma-separated sequence of:
# <address>:<key vault name>:<resource group (optional)>
AZURE_WESTEUROPE_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xfe9925e6ae9c4cd50ae471b90766aaef37ad307e:mainnet-oracle-eu0,0x641c6466dae2c0b1f1f4f9c547bc3f54f4744a1d:mainnet-oracle-eu1,0x75becd8e400552bac29cbe0534d8c7d6cba49979:mainnet-oracle-eu2,0x223ab67272891dd352194be61597042ecf9c272a:mainnet-oracle-eu3,0xca9ae47493f763a7166ab8310686b197984964b4:mainnet-oracle-eu4
AZURE_WESTEUROPE_FULL_NODES_COUNT=5
AZURE_WESTEUROPE_FULL_NODES_DISK_SIZE=100
AZURE_EASTUS2_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_EASTUS2_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
AZURE_EASTUS2_AZURE_KUBERNETES_RESOURCE_GROUP=mainnet-oracles-eastus2
AZURE_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_EASTUS2_ORACLE_ADDRESS_AZURE_KEY_VAULTS=
AZURE_EASTUS2_FULL_NODES_COUNT=3
AZURE_EASTUS2_FULL_NODES_DISK_SIZE=100
# Used for forno
GCP_US_WEST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_US_WEST1_GCP_ZONE=us-west1-a
GCP_US_WEST1_KUBERNETES_CLUSTER_NAME=rc1-us-west1
GCP_US_WEST1_FULL_NODES_COUNT=3
GCP_US_WEST1_FULL_NODES_DISK_SIZE=100
# Used for forno
GCP_US_EAST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_US_EAST1_GCP_ZONE=us-east1-b
GCP_US_EAST1_KUBERNETES_CLUSTER_NAME=rc1-us-east1
GCP_US_EAST1_FULL_NODES_COUNT=3
GCP_US_EAST1_FULL_NODES_DISK_SIZE=100
# Used for forno
GCP_ASIA_EAST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_ASIA_EAST1_GCP_ZONE=asia-east1-a
GCP_ASIA_EAST1_KUBERNETES_CLUSTER_NAME=rc1-asia-east1
GCP_ASIA_EAST1_FULL_NODES_COUNT=3
GCP_ASIA_EAST1_FULL_NODES_DISK_SIZE=100
# Used for forno
GCP_EUROPE_WEST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_EUROPE_WEST1_GCP_ZONE=europe-west1-b
GCP_EUROPE_WEST1_KUBERNETES_CLUSTER_NAME=rc1-europe-west1
GCP_EUROPE_WEST1_FULL_NODES_COUNT=3
GCP_EUROPE_WEST1_FULL_NODES_DISK_SIZE=100
# Used for forno
GCP_SOUTHAMERICA_EAST1_GCP_PROJECT_NAME=celo-testnet-production
GCP_SOUTHAMERICA_EAST1_GCP_ZONE=southamerica-east1-a
GCP_SOUTHAMERICA_EAST1_KUBERNETES_CLUSTER_NAME=rc1-southamerica-east1
GCP_SOUTHAMERICA_EAST1_FULL_NODES_COUNT=3
GCP_SOUTHAMERICA_EAST1_FULL_NODES_DISK_SIZE=100
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_TAG="transaction-metrics-exporter-f4a55e143932ea559cf4bcbd9bcccc14da43d6ed"
EKSPORTISTO_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/eksportisto"
EKSPORTISTO_DOCKER_IMAGE_TAG="5bdf79c3b079c4ca15da37142056520f25101880"
EKSPORTISTO_SUFFIX='8'
ATTESTATION_SERVICE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/celo-monorepo"
ATTESTATION_SERVICE_DOCKER_IMAGE_TAG="attestation-service-f4a55e143932ea559cf4bcbd9bcccc14da43d6ed"
GETH_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet-production/geth-exporter"
GETH_EXPORTER_DOCKER_IMAGE_TAG="ed7d21bd50592709173368cd697ef73c1774a261"
# 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
NODE_DISK_SIZE_GB=10
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"
PROMTOSD_SCRAPE_INTERVAL="5m"
PROMTOSD_EXPORT_INTERVAL="5m"
# 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 * * * *"