-
Notifications
You must be signed in to change notification settings - Fork 93
Refactor(chart, sequencer): restructure sequencer chart, adjust configs #1193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…actions that have addresses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should have the configuration of file locations, might actually break with the data dir the way this is configured as the priv_validator_state won't be correctly copied to the right directory without a script update.
|
||
##### additional base config options ##### | ||
|
||
# Path to the JSON file containing the initial validator set and other meta data | ||
genesis_file = "config/genesis.json" | ||
genesis_file = "{{ .Values.cometbft.config.genesisFile}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one maybe doesn't need to be a value
@@ -87,7 +87,7 @@ filter_peers = false | |||
[rpc] | |||
|
|||
# TCP or UNIX socket address for the RPC server to listen on | |||
laddr = "tcp://0.0.0.0:{{ .Values.ports.cometBFTRPC }}" | |||
laddr = "tcp://0.0.0.0:{{ .Values.ports.cometbftRpc }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potentially could allow this to be 127.0.0.1 if we allow rpc to be disabled?
|
||
# Comma separated list of peer IDs to keep private (will not be gossiped to other peers) | ||
private_peer_ids = "{{ join "," .Values.config.cometBFT.p2p.privatePeers }}" | ||
private_peer_ids = "{{ join "," .Values.cometbft.config.p2p.privatePeers }}" | ||
|
||
# Toggle to disable guard against peers connecting from the same ip. | ||
allow_duplicate_ip = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again should this be configurable?
@@ -486,4 +486,4 @@ prometheus_listen_addr = ":26660" | |||
max_open_connections = 3 | |||
|
|||
# Instrumentation namespace | |||
namespace = "cometbft" | |||
namespace = "astria_cometbft" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
potentially allow configuration?
ASTRIA_SEQUENCER_GRPC_ADDR: "0.0.0.0:{{ .Values.ports.sequencerGRPC }}" | ||
ASTRIA_SEQUENCER_NO_METRICS: "{{ not .Values.config.sequencer.metrics.enabled }}" | ||
# Socket address for GRPC server | ||
ASTRIA_SEQUENCER_GRPC_ADDR: "0.0.0.0:{{ .Values.ports.sequencerGRpc }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think sequencerGRPC
is technically correct here as the protocol is officially gRPC
.
I also know that we do Rpc
instead of RPC
given that I think I prefer sequencerGrpc
over serquencerGRpc
which just feels off somehow lol.
…aorg/astria into quasystaty1/updated-chart-params
…pdated-chart-params
…pdated-chart-params Merge update evm chart for new prefix field into quasystaty1/updated-chart-params
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make sure to update the image tag, otherwise good.
Co-authored-by: Jordan Oroshiba <jordan@astria.org>
Co-authored-by: Jordan Oroshiba <jordan@astria.org>
* main: (27 commits) refactor(sequencer): fix prepare proposal metrics (#1211) refactor(bridge-withdrawer): move generated contract bindings to crate (#1237) fix(sequencer) fix wrong metric and remove unused metric (#1240) feat(sequencer): implement transaction fee query (#1196) chore(cli)!: remove unmaintained rollup subcommand (#1235) release(sequencer): 0.14.1 patch release (#1233) feat(sequencer-utils): generate example genesis state (#1224) feat(sequencer): implement abci query for bridge account info (#1189) feat(charts): bridge-withdrawer, smoke test, various chart improvements (#1141) chore(charts): update for new geth update (#1226) chore(chart)!: dusk-8 chart version updates (#1223) release(conductor): fix conductor release version (#1222) release: dusk-8 versions (#1219) fix(core): revert `From` ed25519_consensus types for crypto mod (#1220) Refactor(chart, sequencer): restructure sequencer chart, adjust configs (#1193) refactor(withdrawer): read from block subscription stream and get events on each block (#1207) feat(core): implement with verification key for address builder and crypto improvements (#1218) feat(proto, sequencer)!: use full IBC ICS20 denoms instead of IDs (#1209) chore(chart): update evm chart for new prefix field (#1214) chore: bump penumbra deps (#1216) ...
Summary
This pull request aims to enhance the consistency of our Helm chart and improve the definition of values and their associated services.
The primary changes include:
Background
The helm charts used for deploying the Astria stack lack clarity for
value.yaml
definition and structureChanges
values.yaml
distinguishing between their values.cometBFT -> cometbft
Testing
Tested locally both with a single sequencer node and multi-nodes