Skip to content

Commit

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

Signed-off-by: Smuu <[email protected]>

* feat(node): bump to v0.18.0

Signed-off-by: Smuu <[email protected]>

* fix: bump as 0.17 will be released soon

Signed-off-by: Smuu <[email protected]>

* fix: conflict

Signed-off-by: Smuu <[email protected]>

* fix: conflict

Signed-off-by: Smuu <[email protected]>

---------

Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu authored Sep 25, 2024
1 parent b846424 commit 76f8d56
Show file tree
Hide file tree
Showing 9 changed files with 266 additions and 34 deletions.
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.1
appVersion: v0.18.0
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.3
version: 0.5.0
18 changes: 6 additions & 12 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.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)
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-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 @@ -105,15 +105,13 @@ Celestia Node
| node.config.bridge.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | |
| node.config.bridge.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.bridge.configtoml.P2P.PeerExchange | bool | `true` | |
| node.config.bridge.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.bridge.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.bridge.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.bridge.configtoml.RPC.Port | string | `"26658"` | |
| node.config.bridge.configtoml.RPC.SkipAuth | bool | `false` | |
| node.config.bridge.configtoml.Share.BlockStoreCacheSize | int | `128` | |
| node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | |
| node.config.bridge.configtoml.Share.Discovery.PeersLimit | int | `5` | |
| node.config.bridge.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.bridge.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
| node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | |
Expand Down Expand Up @@ -181,15 +179,13 @@ Celestia Node
| node.config.full.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | |
| node.config.full.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.full.configtoml.P2P.PeerExchange | bool | `true` | |
| node.config.full.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.full.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.full.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.full.configtoml.RPC.Port | string | `"26658"` | |
| node.config.full.configtoml.RPC.SkipAuth | bool | `false` | |
| node.config.full.configtoml.Share.BlockStoreCacheSize | int | `128` | |
| node.config.full.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | |
| node.config.full.configtoml.Share.Discovery.PeersLimit | int | `5` | |
| node.config.full.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.full.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.full.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
| node.config.full.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | |
Expand Down Expand Up @@ -257,15 +253,13 @@ Celestia Node
| node.config.light.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | |
| node.config.light.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.light.configtoml.P2P.PeerExchange | bool | `false` | |
| node.config.light.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.light.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.light.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.light.configtoml.RPC.Port | string | `"26658"` | |
| node.config.light.configtoml.RPC.SkipAuth | bool | `false` | |
| node.config.light.configtoml.Share.BlockStoreCacheSize | int | `128` | |
| node.config.light.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | |
| node.config.light.configtoml.Share.Discovery.PeersLimit | int | `5` | |
| node.config.light.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.light.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.light.configtoml.Share.LightAvailability.SampleAmount | int | `16` | |
| node.config.light.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
Expand Down Expand Up @@ -317,11 +311,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.16.1"}` | image parameters for the image |
| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.18.0"}` | 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.16.1"` | tag for the image, v0.16.0 by default |
| node.image.tag | string | `"v0.18.0"` | tag for the image, v0.18.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
4 changes: 1 addition & 3 deletions charts/celestia-node/templates/configmap-bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ data:
NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
MutualPeers = {{ .Values.node.config.bridge.configtoml.P2P.MutualPeers }}
PeerExchange = {{ .Values.node.config.bridge.configtoml.P2P.PeerExchange }}
RoutingTableRefreshPeriod = "{{ .Values.node.config.bridge.configtoml.P2P.RoutingTableRefreshPeriod }}"
[P2P.ConnManager]
Low = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.Low }}
High = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.High }}
Expand All @@ -41,11 +40,10 @@ data:
Port = "{{ .Values.node.config.bridge.configtoml.Gateway.Port }}"
Enabled = {{ .Values.node.config.bridge.configtoml.Gateway.Enabled }}
[Share]
BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.BlockStoreCacheSize }}
UseShareExchange = {{ .Values.node.config.bridge.configtoml.Share.UseShareExchange }}
[Share.EDSStoreParams]
GCInterval = "{{ .Values.node.config.bridge.configtoml.Share.EDSStoreParams.GCInterval }}"
RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }}
BlockstoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.BlockstoreCacheSize }}
[Share.ShrExEDSParams]
ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}"
ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}"
Expand Down
4 changes: 1 addition & 3 deletions charts/celestia-node/templates/configmap-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ data:
NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.full.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
MutualPeers = {{ .Values.node.config.full.configtoml.P2P.MutualPeers }}
PeerExchange = {{ .Values.node.config.full.configtoml.P2P.PeerExchange }}
RoutingTableRefreshPeriod = "{{ .Values.node.config.full.configtoml.P2P.RoutingTableRefreshPeriod }}"
[P2P.ConnManager]
Low = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.Low }}
High = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.High }}
Expand All @@ -41,11 +40,10 @@ data:
Port = "{{ .Values.node.config.full.configtoml.Gateway.Port }}"
Enabled = {{ .Values.node.config.full.configtoml.Gateway.Enabled }}
[Share]
BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.BlockStoreCacheSize }}
UseShareExchange = {{ .Values.node.config.full.configtoml.Share.UseShareExchange }}
[Share.EDSStoreParams]
GCInterval = "{{ .Values.node.config.full.configtoml.Share.EDSStoreParams.GCInterval }}"
RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }}
BlockstoreCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.EDSStoreParams.BlockstoreCacheSize }}
[Share.ShrExEDSParams]
ServerReadTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}"
ServerWriteTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}"
Expand Down
4 changes: 1 addition & 3 deletions charts/celestia-node/templates/configmap-light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ data:
NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.light.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
MutualPeers = {{ .Values.node.config.light.configtoml.P2P.MutualPeers }}
PeerExchange = {{ .Values.node.config.light.configtoml.P2P.PeerExchange }}
RoutingTableRefreshPeriod = "{{ .Values.node.config.light.configtoml.P2P.RoutingTableRefreshPeriod }}"
[P2P.ConnManager]
Low = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.Low }}
High = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.High }}
Expand All @@ -41,11 +40,10 @@ data:
Port = "{{ .Values.node.config.light.configtoml.Gateway.Port }}"
Enabled = {{ .Values.node.config.light.configtoml.Gateway.Enabled }}
[Share]
BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.BlockStoreCacheSize }}
UseShareExchange = {{ .Values.node.config.light.configtoml.Share.UseShareExchange }}
[Share.EDSStoreParams]
GCInterval = "{{ .Values.node.config.light.configtoml.Share.EDSStoreParams.GCInterval }}"
RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }}
BlockstoreCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.EDSStoreParams.BlockstoreCacheSize }}
[Share.ShrExEDSParams]
ServerReadTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}"
ServerWriteTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}"
Expand Down
16 changes: 5 additions & 11 deletions charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ node:
registry: ghcr.io
# -- 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.1
# -- tag for the image, v0.18.0 by default
tag: v0.18.0
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down Expand Up @@ -197,7 +197,6 @@ node:
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: true
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 800
High: 1000
Expand All @@ -211,11 +210,10 @@ node:
Port: "26659"
Enabled: false
Share:
BlockStoreCacheSize: 128
UseShareExchange: true
EDSStoreParams:
GCInterval: 0s
RecentBlocksCacheSize: 10
BlockstoreCacheSize: 128
ShrExEDSParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
Expand Down Expand Up @@ -293,7 +291,6 @@ node:
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: true
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 800
High: 1000
Expand All @@ -307,11 +304,10 @@ node:
Port: "26659"
Enabled: false
Share:
BlockStoreCacheSize: 128
UseShareExchange: true
EDSStoreParams:
GCInterval: 0s
RecentBlocksCacheSize: 10
BlockstoreCacheSize: 128
ShrExEDSParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
Expand Down Expand Up @@ -395,7 +391,6 @@ node:
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: false
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 50
High: 100
Expand All @@ -409,11 +404,10 @@ node:
Port: "26659"
Enabled: false
Share:
BlockStoreCacheSize: 128
UseShareExchange: true
EDSStoreParams:
GCInterval: 0s
RecentBlocksCacheSize: 10
BlockstoreCacheSize: 128
ShrExEDSParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
Expand Down
78 changes: 78 additions & 0 deletions scripts/config/node/bridge/v0.18.0/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
[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
[P2P.ConnManager]
Low = 800
High = 1000
GracePeriod = "1m0s"

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

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

[Share]
BlockStoreCacheSize = 128
UseShareExchange = true
[Share.EDSStoreParams]
RecentBlocksCacheSize = 10
[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
85 changes: 85 additions & 0 deletions scripts/config/node/full/v0.18.0/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
[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
[P2P.ConnManager]
Low = 800
High = 1000
GracePeriod = "1m0s"

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

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

[Share]
BlockStoreCacheSize = 128
UseShareExchange = true
[Share.EDSStoreParams]
RecentBlocksCacheSize = 10
[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
Loading

0 comments on commit 76f8d56

Please sign in to comment.