avalanche-cli icon indicating copy to clipboard operation
avalanche-cli copied to clipboard

Change subnet/blockchain creation order

Open felipemadero opened this issue 1 year ago • 2 comments

Closes https://github.com/ava-labs/avalanche-cli/issues/1279 With this, subnet deploy will create a subnet id on first execution, and create a blockchain on second execution. In the middle, it is expected for the user to add validators to the subnet. subnet deploy will check for that condition when creating the blockchain.

felipemadero avatar Jan 11 '24 13:01 felipemadero

Ok so seems that currently with this PR, user is expected to run the deploy command ONCE, call addValidator command, and then call deploy command again -> need to call 3 commands to deploy a subnet in public network.

I think it's better for user experience if we add prompts required for adding Validators in the deploy command so that we can deploy subnet in public network only with 1 command

sukantoraymond avatar Jan 22 '24 14:01 sukantoraymond

Also are we changing the order here? Because seems that we are already creating subnet first and then creating blockchain anyways

sukantoraymond avatar Jan 22 '24 14:01 sukantoraymond

already implemented in CLI. subnet deploy can be called just to create the subnet, then called again to create a blockchain.

felipemadero avatar Jul 22 '24 17:07 felipemadero