From 946f103f34cdee229cc7ec68d2e9544c5d83f30e Mon Sep 17 00:00:00 2001 From: pk910 Date: Fri, 16 Aug 2024 16:37:07 +0200 Subject: [PATCH] update dora chart --- charts/dora/Chart.yaml | 2 +- charts/dora/README.md | 4 ++-- charts/dora/values.yaml | 21 ++++++++------------- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/charts/dora/Chart.yaml b/charts/dora/Chart.yaml index 1f43e6ef..00437d34 100644 --- a/charts/dora/Chart.yaml +++ b/charts/dora/Chart.yaml @@ -3,7 +3,7 @@ name: dora description: A Beaconchain explorer is a tool that allows users to view and interact with the data on the Ethereum Beacon Chain. It is similar to a blockchain explorer, which allows users to view data on a blockchain such as the current state of transactions and blocks - but focussed on exploring the beaconchain. home: https://github.com/pk910/dora type: application -version: 0.0.5 +version: 0.0.6 maintainers: - name: barnabasbusa email: busa.barnabas@gmail.com diff --git a/charts/dora/README.md b/charts/dora/README.md index aef08da7..79a20fd7 100644 --- a/charts/dora/README.md +++ b/charts/dora/README.md @@ -1,7 +1,7 @@ # dora -![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Beaconchain explorer is a tool that allows users to view and interact with the data on the Ethereum Beacon Chain. It is similar to a blockchain explorer, which allows users to view data on a blockchain such as the current state of transactions and blocks - but focussed on exploring the beaconchain. @@ -22,7 +22,6 @@ A Beaconchain explorer is a tool that allows users to view and interact with the | callRateBurst | int | `10` | Page call burst limit per user | | callRateLimit | int | `2` | Page call limit per second per user | | config | string | See `values.yaml` | Config file | -| configPath | string | `""` | Path to the network config file -- This can be a url or a local path -- "https://config.dencun-devnet-8.ethpandaops.io/cl/config.yaml" | | containerSecurityContext | object | See `values.yaml` | The security context for containers | | customCommand | list | `[]` | Command replacement for the dora container | | endpoints | list | `[{"archive":false,"headers":{"X-Test":"test","Y-Test":"test2"},"name":"default-endpoint","priority":1,"url":"http://beacon-node:5052"}]` | An array of endpoints to use for the explorer -- url is the only required field | @@ -47,6 +46,7 @@ A Beaconchain explorer is a tool that allows users to view and interact with the | ingress.tls | list | `[]` | Ingress TLS | | initContainers | list | `[]` | Additional init containers | | livenessProbe | object | See `values.yaml` | Liveness probe | +| maxInMemoryEpochs | int | `4` | Maximum number of epochs to keep in memory | | mevRelays | list | `[]` | An array of mev relays to crawl mev data from (optional) -- index must be a unique id for the relay (0-62) -- {} | | name | string | `"mainnet"` | Name of the network ("mainnet", "sepolia", "holesky") | | nameOverride | string | `""` | Overrides the chart's name | diff --git a/charts/dora/values.yaml b/charts/dora/values.yaml index f85705e8..9669da8f 100644 --- a/charts/dora/values.yaml +++ b/charts/dora/values.yaml @@ -54,11 +54,6 @@ name: mainnet # -- If you want to use a local range file define it in the values.yaml ranges section validatorNamesInventory: "" -# -- Path to the network config file -# -- This can be a url or a local path -# -- "https://config.dencun-devnet-8.ethpandaops.io/cl/config.yaml" -configPath: "" - # -- Link to the el block explorer ethExplorerLink: "" @@ -71,6 +66,9 @@ callRateLimit: 2 # -- Page call burst limit per user callRateBurst: 10 +# -- Maximum number of epochs to keep in memory +maxInMemoryEpochs: 4 + # -- Config file # @default -- See `values.yaml` @@ -84,9 +82,6 @@ config: | # Chain network configuration chain: - # use built in config by name ("mainnet", "prater", "sepolia") - name: "{{ .Values.name }}" - configPath: "{{ .Values.configPath }}" displayName: "{{ .Values.name }}" # HTTP Server configuration @@ -166,7 +161,7 @@ config: | {{- end }} {{- end }} {{- end }} - depositLogBatchSize: 10000 + depositLogBatchSize: 1000 mevIndexer: # list of mev relays to crawl mev blocks from @@ -181,14 +176,14 @@ config: | # indexer keeps track of the latest epochs in memory. indexer: # max number of epochs to keep in memory - inMemoryEpochs: 6 - - # disable synchronizing and everything that writes to the db (indexer just maintains local cache) - disableIndexWriter: false + inMemoryEpochs: {{ .Values.maxInMemoryEpochs }} # number of seconds to wait between each epoch (don't overload CL client) syncEpochCooldown: 2 + # max number of parallel state requests to make to the CL clients + maxParallelValidatorSetRequests: 2 + database: engine: "pgsql" pgsql: