Skip to content

Commit

Permalink
feat(node): bump to v0.16.1 (#39)
Browse files Browse the repository at this point in the history
* feat(node): bump to v0.16.1

Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>

* feat: update docs

Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>

---------

Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>
  • Loading branch information
smuu authored Sep 25, 2024
1 parent c2af3bd commit b846424
Show file tree
Hide file tree
Showing 9 changed files with 283 additions and 12 deletions.
6 changes: 3 additions & 3 deletions charts/celestia-app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# celestia-app

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: v2.1.2](https://img.shields.io/badge/AppVersion-v2.1.2-informational?style=flat-square)
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![AppVersion: v2.1.2](https://img.shields.io/badge/AppVersion-v2.1.2-informational?style=flat-square)

Celestia App

Expand Down Expand Up @@ -65,11 +65,11 @@ Celestia App
| app.extraVolumeMounts | list | `[]` | |
| app.extraVolumes | list | `[]` | |
| app.hostAliases | list | `[]` | |
| app.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-app","tag":"v1.11.0"}` | image parameters for the image |
| app.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-app","tag":"v2.1.2"}` | image parameters for the image |
| app.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image, IfNotPresent by default |
| app.image.registry | string | `"ghcr.io"` | registry for the image, GitHub Container Registry by default |
| app.image.repository | string | `"celestiaorg/celestia-app"` | repository for the image, celestiaorg/celestia-app by default |
| app.image.tag | string | `"v1.11.0"` | tag for the image, v1.9.0 by default |
| app.image.tag | string | `"v2.1.2"` | tag for the image, v2.1.2 by default |
| app.initContainers | list | `[]` | |
| app.lifecycleHooks | object | `{}` | |
| app.livenessProbe | object | `{"enabled":false,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | liveness probe for the app |
Expand Down
4 changes: 2 additions & 2 deletions charts/celestia-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
category: celestia
licenses: Apache-2.0
apiVersion: v2
appVersion: v0.16.0
appVersion: v0.16.1
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand All @@ -21,4 +21,4 @@ maintainers:
name: celestia-node
sources:
- https://github.com/celestiaorg/celestia-node
version: 0.3.2
version: 0.3.3
7 changes: 4 additions & 3 deletions charts/celestia-node/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# celestia-node

![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![AppVersion: v0.16.0](https://img.shields.io/badge/AppVersion-v0.16.0-informational?style=flat-square)
![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![AppVersion: v0.16.1](https://img.shields.io/badge/AppVersion-v0.16.1-informational?style=flat-square)

Celestia Node

Expand Down Expand Up @@ -317,11 +317,11 @@ Celestia Node
| node.extraVolumeMounts | list | `[]` | |
| node.extraVolumes | list | `[]` | |
| node.hostAliases | list | `[]` | |
| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.15.0"}` | image parameters for the image |
| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.16.1"}` | image parameters for the image |
| node.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image, IfNotPresent by default |
| node.image.registry | string | `"ghcr.io"` | registry for the image, GitHub Container Registry by default |
| node.image.repository | string | `"celestiaorg/celestia-node"` | repository for the image, celestiaorg/celestia-node by default |
| node.image.tag | string | `"v0.15.0"` | tag for the image, v0.13.6 by default |
| node.image.tag | string | `"v0.16.1"` | tag for the image, v0.16.0 by default |
| node.initContainers | list | `[]` | |
| node.lifecycleHooks | object | `{}` | |
| node.livenessProbe | object | `{"enabled":false,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | liveness probe for the node |
Expand Down Expand Up @@ -375,6 +375,7 @@ Celestia Node
| node.resourcesPreset | string | `"nano"` | more information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15 |
| node.schedulerName | string | `""` | |
| node.settings.home | string | `"/home/celestia"` | home directory for the celestia-node, defaults to /home/celestia |
| node.settings.network | string | `"celestia"` | |
| node.settings.nodeType | string | `"bridge"` | |
| node.settings.secret.name | string | `"SET_IT"` | name of the secret, it must be set |
| node.settings.ws.tls.enabled | bool | `false` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/celestia-node/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ spec:
{{- end }}
containers:
- name: node
{{- if or (eq .Values.node.settings.network "mocha") (eq .Values.node.settings.network "arabica") -}}
image: {{ template "node.image" . }}-{{ .Values.node.settings.network }}
{{- else -}}
image: {{ template "node.image" . }}
{{- end }}
imagePullPolicy: {{ .Values.node.image.pullPolicy }}
{{- if .Values.node.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.node.containerSecurityContext "context" $) | nindent 12 }}
Expand Down
16 changes: 13 additions & 3 deletions charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ node:
# -- repository for the image, celestiaorg/celestia-node by default
repository: celestiaorg/celestia-node
# -- tag for the image, v0.16.0 by default
tag: v0.16.0
tag: v0.16.1
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -108,12 +108,22 @@ node:
pullSecrets: []
## @param node.settings Settings for the celestia-node
settings:
## Select from: bridge, full, light
## @param node.settings.nodeType Type of the celestia-node
##
## Valid values:
## - bridge
## - full
## - light:
## - light
##
nodeType: bridge
## @param node.settings.network Network for the celestia-node
##
## Valid values:
## - celestia
## - mocha
## - arabica
##
network: "celestia"
## @param node.settings.home Home directory for the celestia-node
##
# -- home directory for the celestia-node, defaults to /home/celestia
Expand Down
80 changes: 80 additions & 0 deletions scripts/config/node/bridge/v0.16.1/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[Node]
StartupTimeout = "2m0s"
ShutdownTimeout = "2m0s"

[Core]
IP = ""
RPCPort = "26657"
GRPCPort = "9090"

[State]
DefaultKeyName = "my_celes_key"
DefaultBackendName = "test"

[P2P]
ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"]
AnnounceAddresses = []
NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"]
MutualPeers = []
PeerExchange = true
RoutingTableRefreshPeriod = "1m0s"
[P2P.ConnManager]
Low = 800
High = 1000
GracePeriod = "1m0s"

[RPC]
Address = "localhost"
Port = "26658"
SkipAuth = false

[Gateway]
Address = "localhost"
Port = "26659"
Enabled = false

[Share]
UseShareExchange = true
[Share.EDSStoreParams]
GCInterval = "0s"
RecentBlocksCacheSize = 10
BlockstoreCacheSize = 128
[Share.ShrExEDSParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
BufferSize = 32768
[Share.ShrExNDParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
[Share.PeerManagerParams]
PoolValidationTimeout = "2m0s"
PeerCooldown = "3s"
GcInterval = "30s"
EnableBlackListing = false
[Share.Discovery]
PeersLimit = 5
AdvertiseInterval = "1h0m0s"

[Header]
TrustedHash = ""
TrustedPeers = []
[Header.Store]
StoreCacheSize = 4096
IndexCacheSize = 16384
WriteBatchSize = 2048
[Header.Syncer]
TrustingPeriod = "336h0m0s"
[Header.Server]
WriteDeadline = "8s"
ReadDeadline = "1m0s"
RangeRequestTimeout = "10s"
[Header.Client]
MaxHeadersPerRangeRequest = 64
RangeRequestTimeout = "8s"

[Pruner]
EnableService = false
87 changes: 87 additions & 0 deletions scripts/config/node/full/v0.16.1/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
[Node]
StartupTimeout = "2m0s"
ShutdownTimeout = "2m0s"

[Core]
IP = ""
RPCPort = "26657"
GRPCPort = "9090"

[State]
DefaultKeyName = "my_celes_key"
DefaultBackendName = "test"

[P2P]
ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"]
AnnounceAddresses = []
NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"]
MutualPeers = []
PeerExchange = true
RoutingTableRefreshPeriod = "1m0s"
[P2P.ConnManager]
Low = 800
High = 1000
GracePeriod = "1m0s"

[RPC]
Address = "localhost"
Port = "26658"
SkipAuth = false

[Gateway]
Address = "localhost"
Port = "26659"
Enabled = false

[Share]
UseShareExchange = true
[Share.EDSStoreParams]
GCInterval = "0s"
RecentBlocksCacheSize = 10
BlockstoreCacheSize = 128
[Share.ShrExEDSParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
BufferSize = 32768
[Share.ShrExNDParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
[Share.PeerManagerParams]
PoolValidationTimeout = "2m0s"
PeerCooldown = "3s"
GcInterval = "30s"
EnableBlackListing = false
[Share.Discovery]
PeersLimit = 5
AdvertiseInterval = "1h0m0s"

[Header]
TrustedHash = ""
TrustedPeers = []
[Header.Store]
StoreCacheSize = 4096
IndexCacheSize = 16384
WriteBatchSize = 2048
[Header.Syncer]
TrustingPeriod = "336h0m0s"
[Header.Server]
WriteDeadline = "8s"
ReadDeadline = "1m0s"
RangeRequestTimeout = "10s"
[Header.Client]
MaxHeadersPerRangeRequest = 64
RangeRequestTimeout = "8s"

[DASer]
SamplingRange = 100
ConcurrencyLimit = 6
BackgroundStoreInterval = "10m0s"
SampleFrom = 1
SampleTimeout = "2m0s"

[Pruner]
EnableService = false
89 changes: 89 additions & 0 deletions scripts/config/node/light/v0.16.1/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
[Node]
StartupTimeout = "20s"
ShutdownTimeout = "20s"

[Core]
IP = ""
RPCPort = "26657"
GRPCPort = "9090"

[State]
DefaultKeyName = "my_celes_key"
DefaultBackendName = "test"

[P2P]
ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"]
AnnounceAddresses = []
NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"]
MutualPeers = []
PeerExchange = false
RoutingTableRefreshPeriod = "1m0s"
[P2P.ConnManager]
Low = 50
High = 100
GracePeriod = "1m0s"

[RPC]
Address = "localhost"
Port = "26658"
SkipAuth = false

[Gateway]
Address = "localhost"
Port = "26659"
Enabled = false

[Share]
UseShareExchange = true
[Share.EDSStoreParams]
GCInterval = "0s"
RecentBlocksCacheSize = 10
BlockstoreCacheSize = 128
[Share.ShrExEDSParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
BufferSize = 32768
[Share.ShrExNDParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
[Share.PeerManagerParams]
PoolValidationTimeout = "2m0s"
PeerCooldown = "3s"
GcInterval = "30s"
EnableBlackListing = false
[Share.LightAvailability]
SampleAmount = 16
[Share.Discovery]
PeersLimit = 5
AdvertiseInterval = "1h0m0s"

[Header]
TrustedHash = ""
TrustedPeers = []
[Header.Store]
StoreCacheSize = 512
IndexCacheSize = 2048
WriteBatchSize = 512
[Header.Syncer]
TrustingPeriod = "336h0m0s"
[Header.Server]
WriteDeadline = "8s"
ReadDeadline = "1m0s"
RangeRequestTimeout = "10s"
[Header.Client]
MaxHeadersPerRangeRequest = 64
RangeRequestTimeout = "8s"

[DASer]
SamplingRange = 100
ConcurrencyLimit = 16
BackgroundStoreInterval = "10m0s"
SampleFrom = 1
SampleTimeout = "2m40s"

[Pruner]
EnableService = false
2 changes: 1 addition & 1 deletion scripts/extract_configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extract_node_configs() {
mkdir -p $NODE_CONFIG_DIR

# Copy the config file from the celestia-node container to the folder
docker cp $CONTAINER_NAME:/home/celestia/.celestia-$NODE_TYPE/config.toml $NODE_CONFIG_DIR
docker cp $CONTAINER_NAME:/home/celestia/config.toml $NODE_CONFIG_DIR

# Stop and remove the celestia-node container in the background
docker stop $CONTAINER_NAME
Expand Down

0 comments on commit b846424

Please sign in to comment.