Skip to content

Commit

Permalink
feat(hermes): update hermes to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati committed Sep 29, 2023
1 parent 599ef49 commit c015294
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 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.3
appVersion: v0.1.20
version: 0.2.0
appVersion: v0.2.0
14 changes: 7 additions & 7 deletions charts/hermes/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hermes

![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.20](https://img.shields.io/badge/AppVersion-v0.1.20-informational?style=flat-square)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.2.0](https://img.shields.io/badge/AppVersion-v0.2.0-informational?style=flat-square)

Pyth cross-chain server

Expand All @@ -13,11 +13,11 @@ Pyth cross-chain server
| 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 |
| hermes.whBootstrapAddrs | string | `"/dns4/wormhole-mainnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWQp644DK27fd3d4Km3jr7gHiuJJ5ZGmy8hH4py7fP4FP7,/dns4/wormhole-v2-mainnet-bootstrap.xlabs.xyz/udp/8999/quic/p2p/12D3KooWNQ9tVrcb64tw6bNs2CaNrUGPM7yRrKvBBheQ5yCyPHKC"` | Wormhole bootstrap addresses |
| hermes.whContractAddr | string | `"H3fxXJ86ADW2PNuDDmZJg6mzTtPxkYCpNuQUTgmJ7AjU"` | Wormhole contract address |
| hermes.whNetworkId | string | `"/wormhole/mainnet/2"` | Wormhole network id |
| hermes.pythnetHttpAddr | string | `nil` | Pythnet Http RPC address. Must be set. Example: http://localhost:8899 |
| hermes.pythnetWsAddr | string | `nil` | Pythnet Websocket RPC address. Must be set. Example: ws://localhost:8900 |
| hermes.wormholeBootstrapAddrs | string | `"/dns4/wormhole-mainnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWQp644DK27fd3d4Km3jr7gHiuJJ5ZGmy8hH4py7fP4FP7,/dns4/wormhole-v2-mainnet-bootstrap.xlabs.xyz/udp/8999/quic/p2p/12D3KooWNQ9tVrcb64tw6bNs2CaNrUGPM7yRrKvBBheQ5yCyPHKC"` | Wormhole bootstrap addresses |
| hermes.wormholeContractAddr | string | `"H3fxXJ86ADW2PNuDDmZJg6mzTtPxkYCpNuQUTgmJ7AjU"` | Wormhole contract address |
| hermes.wromholeNetworkId | string | `"/wormhole/mainnet/2"` | Wormhole network id |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"public.ecr.aws/pyth-network/hermes"` | |
| image.tag | string | `""` | |
Expand All @@ -43,7 +43,7 @@ Pyth cross-chain server
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.capabilities.drop[0] | string | `"ALL"` | |
| securityContext.readOnlyRootFilesystem | bool | `true` | |
| service.port | int | `80` | |
| service.port | int | `8080` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |

Expand Down
22 changes: 11 additions & 11 deletions charts/hermes/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ spec:
command:
- hermes
- run
- --pythnet-http-endpoint
- {{ required "hermes.pythnetHttpEndpoint is required" .Values.hermes.pythnetHttpEndpoint }}
- --pythnet-ws-endpoint
- {{ required "hermes.pythnetWsEndpoint is required" .Values.hermes.pythnetWsEndpoint }}
- --api-addr
- --pythnet-http-addr
- {{ required "hermes.pythnetHttpAddr is required" .Values.hermes.pythnetHttpAddr }}
- --pythnet-ws-addr
- {{ required "hermes.pythnetWsAddr is required" .Values.hermes.pythnetWsAddr }}
- --rpc-listen-addr
- 0.0.0.0:8080
- --wh-bootstrap-addrs
- {{ .Values.hermes.whBootstrapAddrs }}
- --wh-network-id
- {{ .Values.hermes.whNetworkId }}
- --wh-contract-addr
- {{ .Values.hermes.whContractAddr }}
- --wormhole-bootstrap-addrs
- {{ .Values.hermes.wormholeBootstrapAddrs }}
- --wormhole-network-id
- {{ .Values.hermes.wormholeNetworkId }}
- --wormhole-contract-addr
- {{ .Values.hermes.wormholeContractAddr }}
{{- if .Values.hermes.benchmarks.enabled }}
- --benchmarks-endpoint
- {{ .Values.hermes.benchmarks.endpoint }}
Expand Down
22 changes: 11 additions & 11 deletions charts/hermes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
hermes:
# -- Hermes log level. Valid values are: trace, debug, info, warn, error
logLevel: warn
# -- Pythnet Http RPC endpoint. Must be set. Example: http://localhost:8899
pythnetHttpEndpoint:
# -- Pythnet Websocket RPC endpoint. Must be set. Example: ws://localhost:8900
pythnetWsEndpoint:
# -- Pythnet Http RPC address. Must be set. Example: http://localhost:8899
pythnetHttpAddr:
# -- Pythnet Websocket RPC address. Must be set. Example: ws://localhost:8900
pythnetWsAddr:

benchmarks:
# -- Enable benchmarks. Benchmarks endpoint does not support Hermes Beta yet and you need to disable it for that.
Expand All @@ -15,16 +15,16 @@ hermes:
endpoint: https://benchmarks.pyth.network

# -- Wormhole bootstrap addresses
whBootstrapAddrs: /dns4/wormhole-mainnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWQp644DK27fd3d4Km3jr7gHiuJJ5ZGmy8hH4py7fP4FP7,/dns4/wormhole-v2-mainnet-bootstrap.xlabs.xyz/udp/8999/quic/p2p/12D3KooWNQ9tVrcb64tw6bNs2CaNrUGPM7yRrKvBBheQ5yCyPHKC
wormholeBootstrapAddrs: /dns4/wormhole-mainnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWQp644DK27fd3d4Km3jr7gHiuJJ5ZGmy8hH4py7fP4FP7,/dns4/wormhole-v2-mainnet-bootstrap.xlabs.xyz/udp/8999/quic/p2p/12D3KooWNQ9tVrcb64tw6bNs2CaNrUGPM7yRrKvBBheQ5yCyPHKC
# -- Wormhole network id
whNetworkId: /wormhole/mainnet/2
wromholeNetworkId: /wormhole/mainnet/2
# -- Wormhole contract address
whContractAddr: H3fxXJ86ADW2PNuDDmZJg6mzTtPxkYCpNuQUTgmJ7AjU
wormholeContractAddr: H3fxXJ86ADW2PNuDDmZJg6mzTtPxkYCpNuQUTgmJ7AjU

# The values below are the values for our Hermes Beta using testnet wormhole
# whBootstrapAddrs: /dns4/wormhole-testnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWAkB9ynDur1Jtoa97LBUp8RXdhzS5uHgAfdTquJbrbN7i
# whNetworkId: /wormhole/testnet/2/1
# whContractAddr: EUrRARh92Cdc54xrDn6qzaqjA77NRrCcfbr8kPwoTL4z
# wormholeBootstrapAddrs: /dns4/wormhole-testnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWAkB9ynDur1Jtoa97LBUp8RXdhzS5uHgAfdTquJbrbN7i
# wormholeNetworkId: /wormhole/testnet/2/1
# wormholeContractAddr: EUrRARh92Cdc54xrDn6qzaqjA77NRrCcfbr8kPwoTL4z

# Default values for hermes production config

Expand Down Expand Up @@ -57,7 +57,7 @@ securityContext:

service:
type: ClusterIP
port: 80
port: 8080

ingress:
enabled: false
Expand Down

0 comments on commit c015294

Please sign in to comment.