Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .env.blockscoutstagingrc1
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Don't use "//" for comments in this file.
# This file is meant to be executed as a bash script for testing.
ENV_TYPE="development"

GETH_VERBOSITY=2
GETH_ENABLE_METRICS=false

VM_BASED=true
Comment thread
obasilakis marked this conversation as resolved.

KUBERNETES_CLUSTER_NAME="celo-networks-dev"
KUBERNETES_CLUSTER_ZONE="us-west1-a"
CLUSTER_DOMAIN_NAME="celo-testnet"

TESTNET_PROJECT_NAME="celo-testnet"

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 * * *"
BLOCKSCOUT_OVERRIDE_RPC_ENDPOINT="http://mainnet-archive-service.blockscoutstagingrc1.svc.cluster.local:8545"
BLOCKSCOUT_OVERRIDE_WS_ENDPOINT="ws://mainnet-archive-service.blockscoutstagingrc1.svc.cluster.local:8545"
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"

# Genesis Vars
NETWORK_ID=42220
CONSENSUS_TYPE="istanbul"
BLOCK_TIME=5
EPOCH=17280
LOOKBACK=12
ISTANBUL_REQUEST_TIMEOUT_MS=3000

# Nodes whose RPC ports are only internally exposed
PRIVATE_TX_NODES=4
2 changes: 1 addition & 1 deletion .env.rc1
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ GCP_FORNO_SOUTHAMERICA_EAST1_FULL_NODES_WS_PORT="8546"
# ---- Private txnodes context ----

GCP_PRIVATE_TXNODES_GCP_PROJECT_NAME=celo-testnet-production
GCP_PRIVATE_TXNODES_GCP_ZONE=us-west1-a
GCP_PRIVATE_TXNODES_GCP_ZONE=us-west1-a
GCP_PRIVATE_TXNODES_KUBERNETES_CLUSTER_NAME=mainnet
GCP_PRIVATE_TXNODES_FULL_NODES_COUNT=4
GCP_PRIVATE_TXNODES_FULL_NODES_ROLLING_UPDATE_PARTITION=0
Expand Down
1 change: 1 addition & 0 deletions packages/helm-charts/blockscout/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
apiVersion: v1
name: blockscout
version: 0.0.2
description: Chart which is used to deploy a blockscout setup for a celo testnet
Expand Down
6 changes: 1 addition & 5 deletions packages/helm-charts/blockscout/values-alfajores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ blockscout:
requests:
memory: 700Mi
cpu: 1500m
metrics:
metrics:
enabled: true
api:
autoscaling:
Expand Down Expand Up @@ -45,10 +45,6 @@ blockscout:
memory: 250Mi
cpu: 200m
pool_size: 10
sourcify:
enabled: true
serverUrl: https://sourcify.dev/server
repoUrl: https://repo.sourcify.dev/contracts/full_match/
resources:
requests:
memory: 250M
Expand Down
6 changes: 1 addition & 5 deletions packages/helm-charts/blockscout/values-baklava.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ blockscout:
requests:
memory: 1000Mi
cpu: 2
metrics:
metrics:
enabled: true
api:
autoscaling:
Expand Down Expand Up @@ -45,10 +45,6 @@ blockscout:
memory: 250Mi
cpu: 200m
pool_size: 10
sourcify:
enabled: true
serverUrl: https://sourcify.dev/server
repoUrl: https://repo.sourcify.dev/contracts/full_match/
resources:
requests:
memory: 250M
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
imagePullPolicy: IfNotPresent
blockscout:
indexer:
db:
proxy:
resources:
requests:
memory: 4Gi
cpu: 2
pool_size: 100
resources:
requests:
memory: 12Gi
cpu: 5
metrics:
enabled: true
api:
autoscaling:
maxReplicas: 10
minReplicas: 2
target:
cpu: 70
db:
proxy:
resources:
requests:
memory: 500Mi
cpu: 700m
pool_size: 10
resources:
requests:
memory: 500Mi
cpu: 500m
web:
host: blockscoutstagingrc1-blockscout3.celo-testnet.org
autoscaling:
maxReplicas: 10
minReplicas: 2
target:
cpu: 70
db:
proxy:
resources:
requests:
memory: 500Mi
cpu: 700m
pool_size: 10
resources:
requests:
memory: 250M
cpu: 500m
6 changes: 1 addition & 5 deletions packages/helm-charts/blockscout/values-rc1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ blockscout:
requests:
memory: 12Gi
cpu: 5
metrics:
metrics:
enabled: true
api:
autoscaling:
Expand Down Expand Up @@ -45,10 +45,6 @@ blockscout:
memory: 500Mi
cpu: 700m
pool_size: 10
sourcify:
enabled: true
serverUrl: https://sourcify.dev/server
repoUrl: https://repo.sourcify.dev/contracts/full_match/
resources:
requests:
memory: 250M
Expand Down
6 changes: 5 additions & 1 deletion packages/helm-charts/blockscout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ blockscout:
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
sourcify:
enabled: true
serverUrl: https://sourcify.dev/server
repoUrl: https://repo.sourcify.dev/contracts/full_match/
resources:
requests:
memory: 250M
Expand All @@ -166,4 +170,4 @@ blockscout:
schedule: "*/30 * * * *"
image:
repository: gcr.io/celo-testnet/celo-monorepo
tag: metadata-crawler-33bb740ffb4ee7804046f48299f8686416afbe47
tag: metadata-crawler-33bb740ffb4ee7804046f48299f8686416afbe47