-
Notifications
You must be signed in to change notification settings - Fork 992
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
Clean up init/join network CLI commands #3196
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3196 +/- ##
==========================================
- Coverage 60.24% 60.24% -0.01%
==========================================
Files 303 303
Lines 93191 93199 +8
==========================================
- Hits 56145 56144 -1
- Misses 37046 37055 +9 ☔ View full report in Codecov by Sentry. |
0c48967
to
e74d50a
Compare
cd94df9
to
e43acdc
Compare
maybe we should delete |
891c530
to
35b8ca6
Compare
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.
nice, thx!
35b8ca6
to
a61cbed
Compare
* tiago/chain-init-cleanup: Changelog for #3196 Remove unused global args in `init-network` scripts/gen_localnet.py: Parse epoch duration scripts/gen_localnet.py: Organize CLI args scripts/gen_localnet.py: Support multiple validators scripts/gen_localnet.py: Remove chain id from cmd str scripts/gen_localnet.py: Log which validator is joining network scripts/gen_localnet.py: Add colored output scripts/gen_localnet.py: Use modified templates scripts/gen_localnet.py: Move `init-network` to fn scripts/gen_localnet.py: Copy pre-genesis wallet to validator dir scripts/gen_localnet.py: Generalize `join-network` scripts/gen_localnet.py: Make script executable scripts/gen_localnet.py: Refactor to improve code quality scripts/gen_localnet.py: Move code to main function scripts/gen_localnet.py: Format code Remove fetch wasms CLI cmd Optionally add persistent peers to CometBFT Introduce helper fns to fetch wasm artifacts dir Rework `fetch-wasms` command Fix `join-network` in light of `init-network` changes Fix `init-network` in integration tests Return path to release archive from `init-network` Skip nonexistent wasm artifacts in `init-network` Only emit chain dist archive from `init-network` Do not include base dir in chain dist archive Stop copying wasm checksums twice to chain dist archive Package wasm artifacts with chain dist
Describe your changes
Closes #2423
Clean up the logic around
init-network
andjoin-network
.init-network
no longer leaves behind a residual directory, it only outputs an archive with the chain data..namada
directory, only its contents.join-network
no longer configures CometBFT with persistent peers derived from genesis files by default, this is now gated behind the flag--add-persistent-peers
.fetch-wasms
command which is somewhat redundant and was broken.gen_localnet.py
gen_localnet.py
Indicate on which release or other PRs this topic is based on
v0.35.1
Checklist before merging to
draft