Skip to content
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

TLS upgrade cometbft to effectuate modular design of components #391

Open
2 of 3 tasks
emhane opened this issue Sep 19, 2023 · 2 comments
Open
2 of 3 tasks

TLS upgrade cometbft to effectuate modular design of components #391

emhane opened this issue Sep 19, 2023 · 2 comments
Labels
enhancement New feature or request production-quality necessary features for production quality software

Comments

@emhane
Copy link
Contributor

emhane commented Sep 19, 2023

running a rollup node and cometbft full node on separate machines greatly decrease hardware requirements to interact with and run the shared-sequencer. the modular design of astria components allows for this.

next step, is to upgrade communication between conductor and cometbft node as well as sequencer-client (composer) and cometbft node to use the wss scheme and https scheme respectively. tendermint-rs web socket supports wss urls.

Tasks

  1. conductor gossipnet needs-scope production-quality
    SuperFluffy
  2. enhancement

this upgrade makes it possible to run the shared-sequencer as two remote machines as shown below (#393 push validator sets to conductor instead of conductor fetching them)
rpc-with-tls

@emhane emhane added enhancement New feature or request production-quality necessary features for production quality software labels Sep 19, 2023
@SuperFluffy
Copy link
Member

What do these tasks entail? If I am looking at the tendermint clients correctly then the difference is simply passing in a wss:// url rather than a ws:// and let them handle everything.

Is there anything that we should do implementation wise in our services to unblock this? Or is this infra work? https://github.com/astriaorg/infra and https://github.com/astriaorg/dev-cluster

@emhane
Copy link
Contributor Author

emhane commented Sep 19, 2023

What do these tasks entail? If I am looking at the tendermint clients correctly then the difference is simply passing in a wss:// url rather than a ws:// and let them handle everything.

exactly, nothing else in the rust code to do

Is there anything that we should do implementation wise in our services to unblock this? Or is this infra work? https://github.com/astriaorg/infra and https://github.com/astriaorg/dev-cluster

possibly update docs and comments. local.env.example files need to be updated, probably testnets scripts in this repo @WafflesVonMaple. setting up certificate can move to dev cluster repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request production-quality necessary features for production quality software
Projects
None yet
Development

No branches or pull requests

2 participants