This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
149 lines (114 loc) · 5.85 KB
/
.env
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
# These are the default values that should apply to most environments, especially dev ones
ENV_TYPE="development"
GETH_VERBOSITY=1
VM_BASED=false
KUBERNETES_CLUSTER_NAME="celo-networks-dev"
KUBERNETES_CLUSTER_ZONE="us-west1-a"
CLUSTER_DOMAIN_NAME="celo-networks-dev"
TESTNET_PROJECT_NAME="celo-testnet"
BLOCKSCOUT_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/blockscout"
BLOCKSCOUT_DOCKER_IMAGE_TAG="d7569f6951deffb47cc2730b1ba1355eb02f6f17"
BLOCKSCOUT_WEB_REPLICAS=3
BLOCKSCOUT_DB_SUFFIX=
ETHSTATS_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/ethstats"
ETHSTATS_DOCKER_IMAGE_TAG="150e7758ec3bde70e68dead7867360a254f90d84"
ETHSTATS_TRUSTED_ADDRESSES=""
ETHSTATS_BANNED_ADDRESSES=""
ETHSTATS_RESERVED_ADDRESSES=""
FAUCET_GENESIS_ACCOUNTS=2
GETH_NODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/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="master"
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="master"
CELOTOOL_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
CELOTOOL_DOCKER_IMAGE_TAG="celotool-53016a800a510cddae73444377bcf366d753367a"
CELOCLI_STANDALONE_IMAGE_REPOSITORY="gcr.io/celo-testnet/celocli-standalone"
CELOCLI_STANDALONE_IMAGE_TAG="0.0.30-beta2"
# Schedule for an oracle deployed via celotool, expressed in crontab syntax
# This schedule is "every 5th minute"
ORACLE_CRON_SCHEDULE="*/5 * * * *"
ORACLE_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/oracle"
ORACLE_DOCKER_IMAGE_TAG="default"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celo-monorepo"
TRANSACTION_METRICS_EXPORTER_DOCKER_IMAGE_TAG="transaction-metrics-exporter-8e69cf86010b62e283d5f9285f181fca5483733e"
ATTESTATION_SERVICE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/celo-monorepo"
ATTESTATION_SERVICE_DOCKER_IMAGE_TAG="attestation-service-8e69cf86010b62e283d5f9285f181fca5483733e"
GETH_EXPORTER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet-production/geth-exporter"
GETH_EXPORTER_DOCKER_IMAGE_TAG="ed7d21bd50592709173368cd697ef73c1774a261"
# Genesis Vars
NETWORK_ID=1101
CONSENSUS_TYPE="istanbul"
BLOCK_TIME=1
EPOCH=1000
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=100
# every 36 seconds, so that 100 transactions are sent by a client every hour
LOAD_TEST_TX_DELAY_MS=36000
# the amount in cUSD wei to give faucet, load test, and attestation bot accounts
FAUCET_CUSD_WEI=60000000000000000000000
# "og" -> our original 4 validators, "${n}" -> for deriving n validators from the MNEMONIC
VALIDATORS="3"
PROXIED_VALIDATORS=1
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
GETHTX1_NODE_ID="1182aa8c9dbb96cd1aa71b74e2b6b481085971e08b210bab3b64c39d54876d4b1370f3f2c3cc3c0f52806a0e5772aa3fe937b4ceda8b97c5bf647a34170555e4"
GETHTX2_NODE_ID="b1d8deee4e5f4faf9b7e8e7fbd5e19545632d9023ff10de55e2e7a37464c52d1d6fb3ac8cb011757558b37309b83d915de19ef86eb27fe13209cc02d0098ee1f"
GETHTX3_NODE_ID="7f8b950b57ef0189637375e1aab3c6cc089501063089242ccdfb3982045025feeb64fdf343b08f2534372f5d636fa6804150c14e40bc2d395057a834c6be3932"
GETHTX4_NODE_ID="bdfd59ddf34656cf8e0076367517281b68816b2a241f154f58c6178ce9d59e3031d294f406dd7799b9f3b5425e5ab592700a81f8a59918a5e209a8826204f40f"
# Testnet vars
# empty string is false for helm
GETH_NODES_BACKUP_CRONJOB_ENABLED=
CONTRACT_CRONJOBS_ENABLED=
# "og" -> our original 4 tx nodes, "${n}" -> for deriving n tx nodes from the MNEMONIC
# NOTE: we only create static IPs when TX_NODES is set to "og"
TX_NODES="3"
CLUSTER_CREATION_FLAGS="--enable-autoscaling --min-nodes 3 --max-nodes 40 --machine-type=n1-standard-4 --preemptible"
# Number of faulty/Byzantine validators
FAULTY_VALIDATORS=0
# What type of Byzantine fault the faulty validators exhibit:
# see valid values at geth/consensus/istanbul/config.go line 28
FAULTY_VALIDATOR_TYPE=1
GETH_NODE_CPU_REQUEST=400m
GETH_NODE_MEMORY_REQUEST=800M
VERIFICATION_POOL_URL="https://us-central1-celo-testnet.cloudfunctions.net/handleVerificationRequestintegration/v0.1/sms/"
VERIFICATION_REWARDS_URL="https://us-central1-celo-testnet.cloudfunctions.net/handleVerificationRequestintegration/v0.1/rewards/"
PROMTOSD_SCRAPE_INTERVAL="120m"
PROMTOSD_EXPORT_INTERVAL="120m"
# To not deploy the start-auction cronjob, set this value to the empty string
AUCTION_CRON_SPEC=
# Chaos testing variables
CHAOS_TEST_INTERVAL = 3m
CHAOS_TEST_DURATION = 2m
# in milliseconds
CHAOS_TEST_NETWORK_DELAY = 1400
CHAOS_TEST_NETWORK_JITTER = 500
CHAOS_TEST_NETWORK_LOSS = 80
CHAOS_TEST_NETWORK_RATE = 100kbit
CHAOS_TEST_KILL_INTERVAL = 3m
# Below are variables for which there exist no sensible defaults, and thus should
# be customized in their respective .env.$CELO_ENV files
#
# STACKDRIVER_MONITORING_DASHBOARD=""
# STACKDRIVER_NOTIFICATION_CHANNEL_APPLICATIONS=""
# STACKDRIVER_NOTIFICATION_CHANNEL_PROTOCOL=""
# STACKDRIVER_NOTIFICATION_APPLICATIONS_PREFIX=""
# MOBILE_WALLET_PLAYSTORE_LINK=""
# This is the SMS retriever hash code as reported by the signature helper when running the
# dev wallet app build (org.celo.mobile.debug). Kamyar's may have reported EQj3bRtsX4H instead. Uncertain.
# Regardless, until we have verification pools for dev testnets, this value isn't used except for testing.
SMS_RETRIEVER_HASH_CODE=aBQdOa/7QJh
# Below are the variables needed to access
LEADERBOARD_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/celo-monorepo"
LEADERBOARD_DOCKER_IMAGE_TAG="leaderboard-2708d6459b6efe2ab3ec04084d9c3819e202699f"
# Attestation Bot variables
ATTESTATION_BOT_INITIAL_WAIT_SECONDS=3
ATTESTATION_BOT_IN_BETWEEN_WAIT_SECONDS=10
ATTESTATION_BOT_MAX_ATTESTATIONS=3