Skip to content

Commit

Permalink
Add new envs to oracle (#435)
Browse files Browse the repository at this point in the history
* Add new envs to oracle

* Add new env

* Add executionGraphqlEndpoint
  • Loading branch information
antares-sw authored Sep 1, 2023
1 parent 56b2ffb commit 797871e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/v3-oracle/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: v3-oracle
version: 3.1.12
version: 3.1.13
appVersion: v0.1.0
kubeVersion: "^1.14.0-0"
description: The StakeWise application for submitting off-chain data to smart contracts.
Expand Down
6 changes: 6 additions & 0 deletions charts/v3-oracle/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ data:
CONSENSUS_ENDPOINTS: {{ .Values.settings.consensusEndpoints | quote }}
IPFS_FETCH_ENDPOINTS: {{ .Values.settings.ipfsFetchEndpoints | quote }}
DATABASE: "/data/oracle.db"
{{- if .Values.settings.executionGraphqlEndpoint }}
EXECUTION_GRAPHQL_ENDPOINT: {{ .Values.settings.executionGraphqlEndpoint | quote }}
{{- end }}
VALIDATORS_WITHDRAWALS_CONCURRENCY: {{ .Values.settings.validatorsWithdrawalsConcurrency | quote }}
DEFAULT_RETRY_TIME: {{ .Values.settings.defaultRetryTime | quote }}
CONSENSUS_BLOCK_CHUNK_SIZE: {{ .Values.settings.consensusBlockChunkSize | quote }}
EVENTS_BLOCKS_RANGE_INTERVAL: {{ .Values.settings.eventsBlockRangeInterval | quote }}
4 changes: 4 additions & 0 deletions charts/v3-oracle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,15 @@ settings:
sentryDsn: ""

validatorsWithdrawalsConcurrency: "20"
consensusBlockChunkSize: "100"
defaultRetryTime: "180"
eventsBlockRangeInterval: "43200"

## Ethereum / Gnosis Nodes
##
executionEndpoints: ""
consensusEndpoints: ""
# executionGraphqlEndpoint: ""

## IPFS Settings
##
Expand Down

0 comments on commit 797871e

Please sign in to comment.