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

feat: Add multi node (validator) testnet #4377

Merged
merged 41 commits into from
Nov 8, 2024

Conversation

likesToEatFish
Copy link
Contributor

@likesToEatFish likesToEatFish commented Sep 29, 2024

Closes: #4374

This PR added the feature to ignite multi-node testnet.

Test steps:

  1. ignite scaffold chain github.com/test/mychain
  2. cd mychain
  3. go install ./...
  4. ignite testnet multi-node

The interface looks like this:

image

@likesToEatFish
Copy link
Contributor Author

likesToEatFish commented Sep 29, 2024

The feature is done, but the documentation hasn't been written yet. I plan to complete it tomorrow.

@likesToEatFish likesToEatFish changed the title INIT: Multi Node (Validator) Testnet INIT: Add multi node (validator) testnet Sep 29, 2024
@julienrbrt julienrbrt changed the title INIT: Add multi node (validator) testnet feat: Add multi node (validator) testnet Sep 29, 2024
Copy link
Member

@julienrbrt julienrbrt left a 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/cmd/model/testnet_multi_node.go Outdated Show resolved Hide resolved
ignite/cmd/model/testnet_multi_node.go Outdated Show resolved Hide resolved
ignite/cmd/testnet_multi_node.go Outdated Show resolved Hide resolved
ignite/config/chain/base/config.go Outdated Show resolved Hide resolved
ignite/services/chain/runtime.go Show resolved Hide resolved
ignite/config/chain/base/config.go Outdated Show resolved Hide resolved
ignite/cmd/testnet_multi_node.go Show resolved Hide resolved
@julienrbrt julienrbrt added the backport/v28.x.y Backport to v28.x.y label Oct 18, 2024
Pantani
Pantani previously approved these changes Oct 18, 2024
@Pantani Pantani requested a review from julienrbrt October 18, 2024 19:40
Copy link
Member

@julienrbrt julienrbrt left a 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.

changelog.md Outdated Show resolved Hide resolved
Co-authored-by: Danilo Pantani <[email protected]>
@likesToEatFish
Copy link
Contributor Author

likesToEatFish commented Oct 20, 2024

Thanks @julienrbrt @Pantani , I learned a lot of new things from this PR! 🙏🏾

@likesToEatFish
Copy link
Contributor Author

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!

@julienrbrt
Copy link
Member

Hey! I'll be reviewing this today! Sorry about the delay (cosmoverse + holidays :D)

Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK! Nice job 👏🏾

@julienrbrt julienrbrt merged commit b7e3ab3 into ignite:main Nov 8, 2024
39 of 46 checks passed
mergify bot pushed a commit that referenced this pull request Nov 8, 2024
* 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 <[email protected]>

* nits

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* updates

* use lipgloss for View

* status bar

* nits

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* remove ctx

* add comment

* use ports in ignite/pkg/availableport/availableport.go

* update errgroup

* Update changelog.md

Co-authored-by: Danilo Pantani <[email protected]>

* updates with v0.52

---------

Co-authored-by: Julien Robert <[email protected]>
Co-authored-by: Danilo Pantani <[email protected]>
(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
@julienrbrt julienrbrt mentioned this pull request Nov 8, 2024
julienrbrt pushed a commit that referenced this pull request Nov 12, 2024
julienrbrt added a commit that referenced this pull request Nov 14, 2024
* 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 <[email protected]>

* nits

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* updates

* use lipgloss for View

* status bar

* nits

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* Update ignite/cmd/bubblemodel/testnet_multi_node.go

Co-authored-by: Danilo Pantani <[email protected]>

* remove ctx

* add comment

* use ports in ignite/pkg/availableport/availableport.go

* update errgroup

* Update changelog.md

Co-authored-by: Danilo Pantani <[email protected]>

* updates with v0.52

---------

Co-authored-by: Julien Robert <[email protected]>
Co-authored-by: Danilo Pantani <[email protected]>
(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 <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v28.x.y Backport to v28.x.y component:ci CI/CD workflow and automated jobs. component:cmd component:configs component:docs Documentation additions or improvements. component:packages component:templates type:internal type:services Service-related issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

INIT: Multi Node (Validator) Testnet
3 participants