-
Notifications
You must be signed in to change notification settings - Fork 553
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
feat: Add multi node (validator) testnet #4377
Conversation
The feature is done, but the documentation hasn't been written yet. I plan to complete it tomorrow. |
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.
Thank you for picking this up so fast! This is a good start 🙏🏾
ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/testnet_multi_node.go.plush
Show resolved
Hide resolved
ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/testnet_multi_node.go.plush
Outdated
Show resolved
Hide resolved
ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/testnet_multi_node.go.plush
Outdated
Show resolved
Hide resolved
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.
Hey! In the meantime we've upgraded to v0.52, the wiring needs to change slightly. Could you update it? (no crisis, bank module has a different package name f.e)
Then we can merge 🙏🏾 Thank you so much for contributing again.
Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Thanks @julienrbrt @Pantani , I learned a lot of new things from this PR! 🙏🏾 |
Hi @julienrbrt @Pantani , I noticed the PR received positive feedback a few days ago but hasn't been merged yet. If there's anything further needed from my side or any blockers, please let me know. Thanks! |
Hey! I'll be reviewing this today! Sorry about the delay (cosmoverse + holidays :D) |
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.
tACK! Nice job 👏🏾
* add cmd multi-node * read config * minor * init node * done * remove try * updates * updates * make format * updates * minor * rename and add info node * add a reset command * changelog * lint * use config.yml with more validators * updates docs * show log * rename package model to bubblemodel * Update ignite/cmd/testnet_multi_node.go Co-authored-by: Julien Robert <julien@rbrt.fr> * nits * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * updates * use lipgloss for View * status bar * nits * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * remove ctx * add comment * use ports in ignite/pkg/availableport/availableport.go * update errgroup * Update changelog.md Co-authored-by: Danilo Pantani <danpantani@gmail.com> * updates with v0.52 --------- Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Danilo Pantani <danpantani@gmail.com> (cherry picked from commit b7e3ab3) # Conflicts: # docs/docs/03-CLI-Commands/01-cli-commands.md # ignite/cmd/bubblemodel/chain_debug_test.go # ignite/cmd/bubblemodel/chain_serve_test.go # ignite/cmd/chain_debug.go # ignite/cmd/chain_serve.go # ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/commands.go.plush
* feat: Add multi node (validator) testnet (#4377) * add cmd multi-node * read config * minor * init node * done * remove try * updates * updates * make format * updates * minor * rename and add info node * add a reset command * changelog * lint * use config.yml with more validators * updates docs * show log * rename package model to bubblemodel * Update ignite/cmd/testnet_multi_node.go Co-authored-by: Julien Robert <julien@rbrt.fr> * nits * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * updates * use lipgloss for View * status bar * nits * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * Update ignite/cmd/bubblemodel/testnet_multi_node.go Co-authored-by: Danilo Pantani <danpantani@gmail.com> * remove ctx * add comment * use ports in ignite/pkg/availableport/availableport.go * update errgroup * Update changelog.md Co-authored-by: Danilo Pantani <danpantani@gmail.com> * updates with v0.52 --------- Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Danilo Pantani <danpantani@gmail.com> (cherry picked from commit b7e3ab3) # Conflicts: # docs/docs/03-CLI-Commands/01-cli-commands.md # ignite/cmd/bubblemodel/chain_debug_test.go # ignite/cmd/bubblemodel/chain_serve_test.go # ignite/cmd/chain_debug.go # ignite/cmd/chain_serve.go # ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/commands.go.plush * cl * feat: Add multi node (validator) testnet (backport #4377) (#4401) * resolve conflicts * revert v28 * `make lint-fix` --------- Co-authored-by: Duong NV | Decentrio <hoc.sinhphu.lam@gmail.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
Closes: #4374
This PR added the feature to ignite multi-node testnet.
Test steps:
ignite scaffold chain github.com/test/mychain
cd mychain
go install ./...
ignite testnet multi-node
The interface looks like this: