Skip to content

Commit

Permalink
hermes: update to new Hermes version
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati committed Sep 11, 2023
1 parent 4f1ece3 commit cf1ee67
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/hermes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: hermes
description: Pyth cross-chain server
type: application
version: 0.1.1
appVersion: v0.1.10
version: 0.1.2
appVersion: v0.1.16
4 changes: 3 additions & 1 deletion charts/hermes/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hermes

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.10](https://img.shields.io/badge/AppVersion-v0.1.10-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.16](https://img.shields.io/badge/AppVersion-v0.1.16-informational?style=flat-square)

Pyth cross-chain server

Expand All @@ -10,6 +10,8 @@ Pyth cross-chain server
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| hermes.benchmarks.enabled | bool | `true` | Enable benchmarks. Benchmarks endpoint does not support Hermes Beta yet and you need to disable it for that. |
| hermes.benchmarks.endpoint | string | `"https://benchmarks.pyth.network"` | Benchmarks endpoint. |
| hermes.logLevel | string | `"warn"` | Hermes log level. Valid values are: trace, debug, info, warn, error |
| hermes.pythnetHttpEndpoint | string | `nil` | Pythnet Http RPC endpoint. Must be set. Example: http://localhost:8899 |
| hermes.pythnetWsEndpoint | string | `nil` | Pythnet Websocket RPC endpoint. Must be set. Example: ws://localhost:8900 |
Expand Down
4 changes: 4 additions & 0 deletions charts/hermes/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
- {{ .Values.hermes.whNetworkId }}
- --wh-contract-addr
- {{ .Values.hermes.whContractAddr }}
{{- if .Values.hermes.benchmarks.enabled }}
- --benchmarks-endpoint
- {{ .Values.hermes.benchmarks.endpoint }}
{{- end }}
env:
- name: RUST_LOG
value: {{ .Values.hermes.logLevel }}
Expand Down
6 changes: 6 additions & 0 deletions charts/hermes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ hermes:
# -- Pythnet Websocket RPC endpoint. Must be set. Example: ws://localhost:8900
pythnetWsEndpoint:

benchmarks:
# -- Enable benchmarks. Benchmarks endpoint does not support Hermes Beta yet and you need to disable it for that.
enabled: true
# -- Benchmarks endpoint.
endpoint: https://benchmarks.pyth.network

# -- Wormhole bootstrap addresses
whBootstrapAddrs: /dns4/wormhole-mainnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWQp644DK27fd3d4Km3jr7gHiuJJ5ZGmy8hH4py7fP4FP7
# -- Wormhole network id
Expand Down

0 comments on commit cf1ee67

Please sign in to comment.