Skip to content

Label tmux windows in devnet as validators or clients #3619

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

kaimast
Copy link
Contributor

@kaimast kaimast commented Apr 30, 2025

Overview

This PR labels the tmux windows spawned by devnet.sh more clearly. Each validator spawns in a window labeled validator-i (where i is its index) and each client in a window labeled client-i.

The change makes it a little easier to figure out which windows run validators, not clients. The labels are also identical to the files in which each node's log is stored.

Finally, the PR also makes log verbosity a constant, so you can change it (albeit only by modifying the file) to increase log output when you are debugging.

Test Plan

devnet.sh is only used for local development and not in production. CI also has its own devnet script at .circle/devnet_ci.sh.
So, I ran the script locally and verified it works as expected, which should be sufficient for a change like this.

A previous commit had the `--offline` and `--debug` flags added to devnet.sh by accident.
@niklaslong niklaslong merged commit 0339a40 into ProvableHQ:staging May 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants