Skip to content

Commit

Permalink
Upgrade v0.17.1 Lunaroasis (#61)
Browse files Browse the repository at this point in the history
* Release v0.17.1
  • Loading branch information
aWN4Y25pa2EK authored Oct 14, 2024
1 parent 08ddfb4 commit 602a5c7
Show file tree
Hide file tree
Showing 14 changed files with 799 additions and 8 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.18.2
appVersion: v0.17.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/helm-charts
version: 0.7.0
version: 0.8.0
4 changes: 3 additions & 1 deletion charts/celestia-node/templates/configmap-bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ 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 @@ -40,10 +41,11 @@ 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: 3 additions & 1 deletion charts/celestia-node/templates/configmap-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ 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 @@ -40,10 +41,11 @@ 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: 3 additions & 1 deletion charts/celestia-node/templates/configmap-light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ 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 @@ -40,10 +41,11 @@ 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
12 changes: 9 additions & 3 deletions charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ node:
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: true
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 800
High: 1000
Expand All @@ -214,10 +215,11 @@ 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 @@ -295,6 +297,7 @@ node:
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: true
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 800
High: 1000
Expand All @@ -308,10 +311,11 @@ 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,6 +399,7 @@ node:
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: false
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 50
High: 100
Expand All @@ -408,10 +413,11 @@ node:
Port: "26659"
Enabled: false
Share:
BlockStoreCacheSize: 128
UseShareExchange: true
EDSStoreParams:
GCInterval: 0s
RecentBlocksCacheSize: 10
BlockstoreCacheSize: 128
ShrExEDSParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
Expand Down
80 changes: 80 additions & 0 deletions scripts/config/node/bridge/v0.17.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
92 changes: 92 additions & 0 deletions scripts/config/node/bridge/v0.17.1/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
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
ConnManager:
Low: 800
High: 1000
GracePeriod: 1m0s
RPC:
Address: localhost
Port: "26658"
SkipAuth: false
Gateway:
Address: localhost
Port: "26659"
Enabled: false
Share:
UseShareExchange: true
EDSStoreParams:
GCInterval: 0s
RecentBlocksCacheSize: 10
BlockstoreCacheSize: 128
ShrExEDSParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
HandleRequestTimeout: 1m0s
ConcurrencyLimit: 10
BufferSize: 32768
ShrExNDParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
HandleRequestTimeout: 1m0s
ConcurrencyLimit: 10
PeerManagerParams:
PoolValidationTimeout: 2m0s
PeerCooldown: 3s
GcInterval: 30s
EnableBlackListing: false
Discovery:
PeersLimit: 5
AdvertiseInterval: 1h0m0s
Header:
TrustedHash: ""
TrustedPeers: []
Store:
StoreCacheSize: 4096
IndexCacheSize: 16384
WriteBatchSize: 2048
Syncer:
TrustingPeriod: 336h0m0s
Server:
WriteDeadline: 8s
ReadDeadline: 1m0s
RangeRequestTimeout: 10s
Client:
MaxHeadersPerRangeRequest: 64
RangeRequestTimeout: 8s
Pruner:
EnableService: false
73 changes: 73 additions & 0 deletions scripts/config/node/bridge/v0.17.1/template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
[Node]
StartupTimeout = "{{ .Values.node.config.bridge.configtoml.Node.StartupTimeout }}"
ShutdownTimeout = "{{ .Values.node.config.bridge.configtoml.Node.ShutdownTimeout }}"
[Core]
IP = "{{ .Values.node.config.bridge.configtoml.Core.IP }}"
RPCPort = "{{ .Values.node.config.bridge.configtoml.Core.RPCPort }}"
GRPCPort = "{{ .Values.node.config.bridge.configtoml.Core.GRPCPort }}"
[State]
DefaultKeyName = "{{ .Values.node.config.bridge.configtoml.State.DefaultKeyName }}"
DefaultBackendName = "{{ .Values.node.config.bridge.configtoml.State.DefaultBackendName }}"
[P2P]
ListenAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
AnnounceAddresses = {{ .Values.node.config.bridge.configtoml.P2P.AnnounceAddresses }}
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 }}
GracePeriod = "{{ .Values.node.config.bridge.configtoml.P2P.ConnManager.GracePeriod }}"
[RPC]
Address = "{{ .Values.node.config.bridge.configtoml.RPC.Address }}"
Port = "{{ .Values.node.config.bridge.configtoml.RPC.Port }}"
SkipAuth = {{ .Values.node.config.bridge.configtoml.RPC.SkipAuth }}
[Gateway]
Address = "{{ .Values.node.config.bridge.configtoml.Gateway.Address }}"
Port = "{{ .Values.node.config.bridge.configtoml.Gateway.Port }}"
Enabled = {{ .Values.node.config.bridge.configtoml.Gateway.Enabled }}
[Share]
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 }}"
HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}"
ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }}
BufferSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.BufferSize }}
[Share.ShrExNDParams]
ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerReadTimeout }}"
ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}"
HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}"
ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ConcurrencyLimit }}
[Share.PeerManagerParams]
PoolValidationTimeout = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}"
PeerCooldown = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PeerCooldown }}"
GcInterval = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval }}"
EnableBlackListing = {{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing }}
[Share.Discovery]
PeersLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.Discovery.PeersLimit }}
AdvertiseInterval = "{{ .Values.node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval }}"
[Header]
TrustedHash = "{{ .Values.node.config.bridge.configtoml.Header.TrustedHash }}"
TrustedPeers = {{ .Values.node.config.bridge.configtoml.Header.TrustedPeers }}
[Header.Store]
StoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.StoreCacheSize }}
IndexCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.IndexCacheSize }}
WriteBatchSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.WriteBatchSize }}
[Header.Syncer]
TrustingPeriod = "{{ .Values.node.config.bridge.configtoml.Header.Syncer.TrustingPeriod }}"
[Header.Server]
WriteDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.WriteDeadline }}"
ReadDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.ReadDeadline }}"
RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Server.RangeRequestTimeout }}"
[Header.Client]
MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Client.MaxHeadersPerRangeRequest }}
RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Client.RangeRequestTimeout }}"
[Pruner]
EnableService = {{ .Values.node.config.bridge.configtoml.Pruner.EnableService }}

Loading

0 comments on commit 602a5c7

Please sign in to comment.